These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Can the output filename format be customised?

user-1365

Hi,

As per the title can get_iplayer be configured to replace '_' (underscore) with ' ' (space) in the output file name? Also is it possible to add the date to the start of the filename?

e.g.

Fifty_Years_of_To_Kill_a_Mockingbird.mp3

...could be saved as...
 
20160425 Fifty Years of To Kill a Mockingbird.mp3

Trivial I know, but I would find it useful.

Thanks.

Andrew.

user-250

Lots of info in the wiki
https://github.com/get-iplayer/get_iplay...irectories

Change underscore to space use the
--whitespace

Valid Characters

Several options exist for controlling what characters are allowed in filenames.

Allow use of spaces in filenames (by default these are converted to '_').

--whitespace

Use only filenames valid for DOS/Windows FAT filesystem.

--fatfilename

Recording to Specific Directories

Use a specific directory for all programmes recorded:

--output="/home/user/recordings/"

Override the above for all radio (or TV) programmes recorded:

--outputradio="/home/user/recordings-radio/"
--outputtv="/home/user/recordings-tv/"

user-1365

Thanks - Very useful.

These forums are archived

See this post for further info