These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Episode naming


Hello all, I have tried to find an answer from the guides but I'm struggling.

If I am downloading the series 'Pobol y Cwm', the program gives the episodes names like "Pobol_y_Cwm_-_Wed_01_Mar_2017_p04t0mf1_original"

The bit at the end is neither here nor there, but is there any way that get_iplayer can rename the episodes as, say,
"Pobol_y_Cwm_-_2017-03-01_blahblah"?  It would avoid the need to have to manually rename each episode (and subtitle file) so that they appear correctly when sorted into alphabetical order.

Many thanks!


I had similar problem and Dinky sorted me out. Note I use the WebPVR interface almost all the time.

The easiest way for me was to edit the "options" file directly and insert the following exactly as written below,

tag_formattitle <name>: <episode>

Or if you prefer you can use the Command Line Interface and use:

get_iplayer --prefs-add --tag-format-title="<name>: <episode>"

Note that the quote marks and angle brackets are important!

The syntax is shown in which I must confess I had overlooked until I was pointed in the right direction. 
The full list of substitution parameters can be found here


Many thanks for the suggestion skmorgan1944.

I have tried it but it doesn't seem to be working, and I am at a loss as to why.

I run mine on the command line, so firstly I typed:
get_iplayer --prefs-add --tag-format-title="<name>: <episode>" (which was what you suggested), then
get_iplayer --get 5070 --subtitles --force

However, once it had finished, the directory had files called
(and the subtitles file).

Any ideas?

Many thanks!


This information is covered in the guides:


Square Penguin has suggested you follow the link he provides which is always sound advice.
Extracting a few lines does point to some things worth trying using the "file prefix" command:

<nameshort> = the programme name with the series number stripped
<senum> = Series and Episode numbers in the s##e## format
<episodeshort> = programme episode name with episode number stripped

The only further suggestion I can make is to experiment with various substitution parameters and see if you can get the output you require as I haven't needed to use the File Prefix command myself. You can "build" a serious of parameters linked with a semi colon.

Pob lwc

Simon Morgan from sunny Pembrokeshire


(05-03-2017, 04:20 PM)You can "build" a serious of parameters linked with a semi colon.
Don't use semicolons with --fileprefix. They will only be removed when the file name is sanitised.

These forums are archived

See this post for further info