jumaka / triodeplugins

Automatically exported from code.google.com/p/triodeplugins
0 stars 1 forks source link

iPlayer plugin only finds WMA listen-again streams #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If I try to play a listen again stream, I can only achieve playback using a WMA 
capable player.

On examining the API endpoints that I think are being used by the plugin (just 
going from DEBUG log output), I can see that only WMA streams are being 
returned:

$ curl 'http://www.bbc.co.uk/mediaselector/4/mtis/stream/b04wxjv2'

<?xml version="1.0" encoding="UTF-8"?><mediaSelection 
xmlns="http://bbc.co.uk/2008/mp/mediaselection"><!--This code and data form 
part of the BBC iPlayer content protection system. Tampering with, removal of, 
misuse of, or unauthorised use of this code or data constitutes circumvention 
of the BBC's content protection measures and may result in legal action. BBC 
(C) 2014.--><media bitrate="96" encoding="wma9" expires="2015-02-07T16:00:00Z" 
kind="audio" media_file_size="134166819" 
service="stream-uk-audio_streaming_wma_med_uk" type="audio/wma"><connection 
href="http://open.live.bbc.co.uk/mediaselector/4/asx/b04wxjv2/stream-uk-audio_st
reaming_wma_med_uk" identifier="b04wxjv2/stream-uk-audio_streaming_wma_med_uk" 
kind="asx" priority="10" protocol="http" 
server="http://open.live.bbc.co.uk/mediaselector/4/asx/" 
supplier="asx"/></media></mediaSelection>

Is this normal or new behaviour? Streams that used to play on my non-WMA 
capable player no longer work :(

(BTW, I looked at some debug output from get_iplayer, and that project seems to 
use URLS of this form to get iplayer radio streams: 
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/mobile-ta
blet-main/vpid/b04wxjv2 which outputs other types of stream)

Original issue reported on code.google.com by monkface...@gmail.com on 12 Jan 2015 at 11:50

GoogleCodeExporter commented 8 years ago
I had this issue, but could resolve it by going to the plugin settings and 
altering the Live Stream Preference and On Demand Stream Preference. Previously 
they were both just set to 'WMA' and I changed them to 'AAC > FlashAAC > 
FlashMP3 > WMA'.

I can once again play the live stream of Radio 6 on my Boom connected to LMS 
7.7.2 running on a Raspberry Pi.

Original comment by rich.bo...@gmail.com on 7 Feb 2015 at 12:28