These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Episode naming

user-1487

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!

user-15

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 https://github.com/get-iplayer/get_iplay...release298 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 
https://github.com/get-iplayer/get_iplay...parameters

user-1487

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
Pobol_y_Cwm_-_Fri_03_Mar_2017_p04t97yx_original
(and the subtitles file).

Any ideas?

Many thanks!

user-30

This information is covered in the guides:

https://squarepenguin.co.uk/guides/tv-do...programmes

user-15

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

user-2

(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