These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

metadata broken ?

user-982

Have just downloaded the entire BBC Reith Lectures series (multiple years). 

The file metadata is messed up; perhaps I have a problem this end, but other files download ok.

The symptom is that important data like "comments" and "year" and "album" are all THE SAME for all files and seem to default to some 2015 value (Jeffery Sachs features).

Since the filenames contain no dates (another problem), the lack of this data makes it impossible to semi-automatically file the various series, and a major job to do manually (only by visually comparing known series/espisode titles).

Anyone else seeing this?

Can I provide any useful debug info?

user-2

Provide a get_iplayer command that will download one - and only one - of your programmes with incorrect metadata. I need to be able to compare like for like.

user-982

Thanks. I only ever use the Web PVR interface (or run get_iplayer with no arguments) so am not familiar with constructing the cmd line version (though I know it can be done). Is there somewhere the web interface logs the cmds that were generated so I can retrieve and try them manually?

user-982

Further: I discovered my "podcast.cache" and have extracted a few lines from it below. There are around 100 Reith podcasts and all but the more recent seem to have the same "Jeffery Sachs ..." comment. I'm beginning to suspect that this is a BBC problem perhaps?

Should I (somehow) rebuild the cache or just talk to the BBC ??

Code:
224332|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qj64d.mp3|Tue, 05 Nov 2013 00:00:00 +0000|I Found Myself in the Art World|||default|2511||BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433347475||http://www.bbc.co.uk/radio4/reith|
224333|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qsjwq.mp3|Sun, 14 Dec 1952 00:00:00 +0000|The Psychology of Encounters|||default|1835|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224334|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qskqr.mp3|Sun, 01 Dec 1963 00:00:00 +0000|The Fulfilment of Lives|||default|1731|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224335|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qsl41.mp3|Tue, 12 Dec 1972 00:00:00 +0000|Wanted: An Instrument For Crisis Management|||default|1708|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224336|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qsl58.mp3|Sun, 30 Nov 1969 01:00:00 +0100|Global Changes - Actual and Possible|||default|1680|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224337|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qslk7.mp3|Sun, 16 Nov 1969 01:00:00 +0100|Impact of Man on His Environment|||default|1738|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224338|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qslsf.mp3|Sun, 20 Dec 1953 00:00:00 +0000|The Sciences and Man's Community|||default|1830|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|
224339|podcast|The Reith Lectures|http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02qsm0l.mp3|Sun, 09 Nov 1969 01:00:00 +0100|Man and Nature|||default|1748|Jeffrey Sachs delivers the first of five lectures, recorded at The Royal Society, London. Sachs outlines the challenges facing mankind and argues that we must adapt to the new age.|BBC Radio 4|Society & Culture|http://ichef.bbci.co.uk/images/ic/1408x1408/p02sft7k.jpg|1433325308||http://www.bbc.co.uk/radio4/reith|

user-30

Please don't dump a chunk of output into the post without marking it as code.

If you don't select the text and hit the code button (available in the little set of buttons above the editor) or manually wrap it in [code] tags in the quick reply box, it is unreadable.

I've fixed your post this time.

user-2

The BBC have made major changes to their podcasts in recent weeks, and it appears that one of those changes broke some of the podcast feed parsing in get_iplayer, at least for the Reith Lectures podcast.  I suspect some other podcasts may be affected as well.  You have two choices:
  1. Get a proper podcast application and re-download the programmes
  2. Re-download with get_iplayer from the command line using --no-tag so that the default metadata is not overwritten. For example, you could download the whole set in batches of ten by repeatedly running the following command until all have been retrieved:
Code:
get_iplayer --type=podcast "The Reith Lectures" --limit-matches=10 --hide --no-tag --get

user-982

Thanks very much for investigating and for the recommendations.

I tried extracting a few of the URLs from the cache and hacked a simple HTML file from which I could download them. They loaded fine with good metadata. I could do the rest the same way.

Am interested in your comment re using --no-tag ...

Why would it be desireable to over-write the default metadata? OK, maybe sometimes it's lacking, so maybe better to provide by over-writing, than no data at all. I can see that. Any other reason?

And second, can I set --no-tag as a default when running the web PVR?

Many thanks.

user-2

(20-07-2015, 02:07 PM)I tried extracting a few of the URLs from the cache and hacked a simple HTML file from which I could download them.  They loaded fine with good metadata.  I could do the rest the same way.
You can generate list of all the URLs with:
Code:
get_iplayer --type=podcast "The Reith Lectures" --listformat="<pid>"
Quote:Why would it be desireable to over-write the default metadata?  OK, maybe sometimes it's lacking, so maybe better to provide by over-writing, than no data at all.  I can see that. Any other reason?
Not that I know of.
Quote:And second, can I set --no-tag as a default when running the web PVR?
Not recommended unless you really, truly want every single download - not just podcasts - to be untagged.

These forums are archived

See this post for further info