Custom output filename provided in API requests
-
Handle a
filename
property in API requests and JSON files. -
Parse the filename with something like
{string}.formatted(filename)
-
Then we can use the C++ date format to make complex filenames.
-
See existing line for example?
-
-
Example output:
name-of-radio-show_2018-01-01_08-00-00
- Default to
%Y-%m-%d_%H-%M-%S
if not specified.
Edited by Travis