get-iplayer / get_iplayer

A utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds
https://github.com/get-iplayer/get_iplayer/wiki
GNU General Public License v3.0
2.17k stars 234 forks source link

Episode number in cache not used in output file name #77

Closed dinkypumpkin closed 9 years ago

dinkypumpkin commented 10 years ago

From: http://www.mail-archive.com/get_iplayer@lists.infradead.org/msg06508.html

Episode numbering isn't working (for me) with a programme in the cache:

834|tv|Horizon|b039grrx|Unknown|2013-2014: Dinosaurs: 4. The Hunt for Life||4|default|3600|Meeting a scientist who may have found signs of dinosaur DNA within their ancient remains.|BBC Two|Factual,Science & Nature,Science & Technology| http://ichef.bbci.co.uk/images/ic/150x84/p01k0prv.jpg|1415398022|| http://www.bbc.co.uk/programmes/b039grrx|

Produced filename:

s01e01.2013-2014_Dinosaurs_The_Hunt_for_Life.b039grrx.mp4

Options file has fileprefix <senum>.<episodeshort>.<pid>.

barrydocks commented 10 years ago

seems to be working after the latest update on ubuntu- is this fixed?

BaldGit commented 10 years ago

I have the same problem. My options file has: fileprefix <-senum><-episodeshort>

Coast season 5 all have senum as s05e00 except episode 13 which has the episode name of 'Episode 13' which has the senum of s05e13. Coast Shorts, e.g. Title: "Coast - Shorts: 36. The Great Orme" are all s01e01. Doctor Who season 8 are all s08e00. For QI even the season is confused: QI Xl Title: "QI XL: Series L - 6. Liblabble" gets the filename: "QI_XL_Series_L-s01e01-Liblabble".

Exploring China: A Culinary Adventure are correct as s01e01, s01e02 etc. 15 Minute Drama (radio) is also correct, e.g. Title: "15 Minute Drama - Writing the Century: Passages from Empire: Episode 3" gets the filename: "15_Minute_Drama-s01e03-Writing_the_Century_Passages_from_Empire".

Hope this helps.

dinkypumpkin commented 10 years ago

Fixed in e1c25cebdeca8336cb378477a7e5a62eb4bd28fd