These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

View music played question

user-1324

Hi,

While watching some TV shows i get an option to view music played. Just wondered if Get_iPlayer has an option/command to download a list of music played in a TV show, i don't mean download the music just a list of the music played.

Richard

user-1102

I don't believe get_iplayer has this built-in, but (for now) you can get the raw data from:

http://www.bbc.co.uk/programmes/b07kwzgx/segments.json

For radio programmes, and from

http://open.live.bbc.co.uk/aps/programme...ments.json

For TV programmes.

Just replace the PID above with that of the programme you're interested in. The data is also available from the Nitro API if you have an API key.

user-1324

Thanks very much for this.

Just a quick dumb question, should i be seeing all the code or just a list of music?

Thanks again

Richard

user-2

If you have python available, see:

https://github.com/StevenMaude/bbc-radio...downloader

EDIT: Track list retrieval works for TV programmes as well, but not tagging

user-1324

Thank you

Richard

user-1026

If one is after the tracklistings of a radio show, then you can use the following:

I'm using Chrome, so I installed Violentmonkey, then installed aland's bbc_tracklist_flattener and as if by magic it all works wonderfully.

It creates the tracklist as a plain text file in your browser, so has no integration with get_iplayer, but it's very easy to install (unlike the python based prog above) and use. Copy & paste into the file's tags is easy :)

user-1324

Sorry for the slow reply.

Although I'm looking for music played on TV programmes this looks very interesting, I will give it a try

I know nothing about python so still trying to workout how to make use of bbc-radio-tracklisting-downloader. 

The suggestions Meic gave work so for the moment i can get the listings, although surrounded by lots of code still useful.
  
Thanks

Richard

user-2

To view TV programme track listings with bbc_tracklist_flattener, you need to do a minor adjustment to the episode URL. To take the earlier example, you would play the Bowie Prom at this URL:

http://www.bbc.co.uk/iplayer/episode/b07...avid-bowie

but you need its /programmes URL:

http://www.bbc.co.uk/programmes/b07m4956

You can usually get to the right place by clicking "Programme website" underneath the media player and then selecting the episode of interest from there.

user-1324

Thanks again for all the help

user-1102

(04-08-2016, 07:03 PM)The suggestions Meic gave work so for the moment i can get the listings, although surrounded by lots of code still useful.

I've knocked together something to display the track / artist data in a simple table.

http://bbc-rss.herokuapp.com/pid.html

Maybe this will do?

Any questions, probably better off at http://github.com/mermade/bbc-rss or via email: meic [at] gmx.com

user-1324

Thank you very much, this is fantastic and works in a flash :) 

You say "I've knocked together something" you make it sound so easy, thanks for taking the time to make it available i'm sure it took time. 

i am sure many people like me will love it.

thanks again for making this available

user-1026

(02-08-2016, 11:11 AM)If one is after the tracklistings of a radio show, then you can use the following:

I'm using Chrome, so I installed Violentmonkey, then installed aland's bbc_tracklist_flattener and as if by magic it all works wonderfully.

It creates the tracklist as a plain text file in your browser, so has no integration with get_iplayer, but it's very easy to install (unlike the python based prog above) and use. Copy & paste into the file's tags is easy :)

I asked aland to make a change to include the links to the three largest image files directly associated with programme, so you now get 3 links to these images. 

The format will be like this:
https://ichef.bbci.co.uk/images/ic/1920x1080/<pid>.jpg
https://ichef.bbci.co.uk/images/ic/1200x675/<pid>.jpg
https://ichef.bbci.co.uk/images/ic/640x360/<pid>.jpg

Using the David Bowie example:
https://ichef.bbci.co.uk/images/ic/1920x...43b9km.jpg
https://ichef.bbci.co.uk/images/ic/1200x...43b9km.jpg
https://ichef.bbci.co.uk/images/ic/640x360/p043b9km.jpg

These forums are archived

See this post for further info