Dates in filename change

MrBrunes mr.brunes at gmail.com
Sat Feb 17 14:03:34 PST 2024


Hi

I regularly download TOTP episodes which contain the date.

https://github.com/get-iplayer/get_iplayer/wiki/filenames#prefix says:
“Dates in Episode Names

Some programmes (EastEnders, for example) have episode names that
contain only the date of broadcast in UK short format: dd/mm/yyyy. The
date will be interpolated into the name of the output file as
yyyy-mm-dd.”

Last year episodes downloaded like this: (example below downloaded on 29-Dec-23)
(prefs contains “whitespace = 1”)


7152:    Top of the Pops - 29/12/1983, BBC Four, b08rc78m
INFO: 1 matching programmes
INFO: Processing tv: 'Top of the Pops - 29/12/1983 (b08rc78m)'
INFO: Downloading tv: 'Top of the Pops - 29/12/1983 (b08rc78m) [original]'
INFO: Downloaded: 49.98 MB (00:51:23) @ 17.38 Mb/s (dashfhd1/bi) [audio]
INFO: Downloaded: 4339.97 MB (00:51:23) @ 63.59 Mb/s (dashfhd1/bi) [video]
INFO: Converting to MPEG-TS
INFO: Converting to MP4
INFO: Downloading thumbnail
INFO: Tagging MP4
INFO: Downloading subtitles [original]
New tv programme: 'Top of the Pops - 29/12/1983', 'With JoBoxers, Mike
Oldfield, Thompson Twins, Tracey Ullman, The Cure, Paul Young and
more'

Filenames were of the form “Top of the Pops - 29 12 1983 b08rc78m
original.mp4” etc.

Then from about 02-Feb-24 episodes are downloaded with the date
delimiter changed to “_”.

e.g.

Matches:
7670:    Top of the Pops - 02/02/1978, BBC Four, b01qchgs
…
INFO: 4 matching programmes
INFO: Processing tv: 'Top of the Pops - 02/02/1978 (b01qchgs)'
INFO: Downloading tv: 'Top of the Pops - 02/02/1978 (b01qchgs) [original]'
INFO: Downloaded: 28.60 MB (00:29:26) @ 14.30 Mb/s (dashfhd1/bi) [audio]
INFO: Downloaded: 1785.78 MB (00:29:26) @ 60.03 Mb/s (dashfhd1/bi) [video]
INFO: Converting to MPEG-TS
INFO: Converting to MP4
INFO: Downloading thumbnail
INFO: Tagging MP4
INFO: Downloading subtitles [original]
New tv programme: 'Top of the Pops - 02/02/1978', 'With Brotherhood of
Man, Smokie, Darts, Sweet, Rose Royce, Rod Stewart and Althea &
Donna.'

Filenames are of the form “Top of the Pops - 02_02_1978 b01qchgs
original.mp4” etc.

Neither of the downloads interpolate the date format as illustrated in the docs.

Any ideas if this is an iplayer back-end change which has forced the
delimiter change this year and/or why get_iplayer behaviour doesn’t
match the docs?

It’s not exactly an earth-shattering issue but it does change the
established filename sorting schema so will require some batch
renames.



More information about the get_iplayer mailing list