• 1
  • 178
  • 179
  • 180(current)
  • 181
  • 182
  • 192
[RELEASE] iPlayer - BBC Video and Music Plugin (UK only!)
(2014-11-18, 03:18)exobuzz Wrote: iPlayer 2.6.5 is released

https://drive.google.com/file/d/0B_knGio...sp=sharing

Changes:

2.6.5
* genre missing from programme information - thanks to blaise
* live streaming are working again. Thanks to dlake for the hints
* use getiterator for backward compatibility with old python/elementtree - thanks to streetsy

Thank you for your work.
Will this update be on Hitchers Repo ?
(2014-11-18, 15:52)castalla Wrote: A bit beyond me .... I'll just have to stick with the 'other' plugin, I guess. Pity.

Does this work any better ? http://malus.exotica.org.uk/~buzz/iplayer-test.zip
note that the last release introduced a bug or two (script error with radio). ill push out a bugfix later.
(2014-11-18, 17:41)exobuzz Wrote:
(2014-11-18, 15:52)castalla Wrote: A bit beyond me .... I'll just have to stick with the 'other' plugin, I guess. Pity.

Does this work any better ? http://malus.exotica.org.uk/~buzz/iplayer-test.zip

Almost! Get a stream playing but displays 'Loading' overlay on screen which takes a while to clear.

But, good enough for me! Thanks.

EDIT: severe buffering after about 2 mins at 923kb - seems stable at 501kb. Probably my crappy internet!
(2014-11-18, 17:41)exobuzz Wrote: Does this work any better ? http://malus.exotica.org.uk/~buzz/iplayer-test.zip
Just tried the iplayer-test.zip on my Pi running openelec 4.2.1 (As was having same problems as castalla, unable to start live streams which did not improve with a switch to DVDplayer to attempt to play stream)

Works very well and very good Quality CoolSmile

Just need to check addon adjustable settings for a stable stream, as did notice some slight pausing, but no dropping of the stream Smile
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
(2014-11-18, 11:02)wwortel Wrote:
(2014-11-18, 01:17)dlake02 Wrote: So the .ts parts are pulled directly even though the processing of the main part of the app uses a proxy. Until I can find a way of using a proxy for the XBMC Player (the thing that actually renders the video), you cannot run the streams through a proxy.

Thanks for your comments. A stream from BBC's archive works though in XBMC and does go via the proxy. So in your opinion this behaviour is specific to .ts stream segments.
Will give it a try to enforce the proxy outside of xbmc.

The answer is "it depends."

For streams from the archive: these are geolocked for the metadata (i.e. to get to the source of the data) but the Beeb actually globally distribute on SOME of their CDN providers. So, once you have been able to access the metadata, you will probably be served from a Content Cache local to your actual location. This is true for both RTMP and HTTP (m3u8).

For live streams, again, the metadata is geolocked, so you will need to access this through an HTTP proxy as before. But the RTMP and HTTP streams are ALSO geo-locked. So, RTMP you will need to access through a SOCKS proxy or VPN; HTTP likewise. An m3u8 file consists of a manifext and then a sucession of .ts files pulled over HTTP.

The problem with both VPN and proxies is that it adds latency, sometimes to the point where streams break down. So, for ondemand, it is best to use an HTTP proxy for the metadata and then stream without a VPN or proxy from a local CDN (remember, we never designed the Internet to carry any of this type of traffic end-to-end !). For live streams, we have no choice but to go to the source.

Now some of the DNS spoofing systems reply with themselves as the address, so traffic is routed via the DNS spoof and this does work with the live streams.

The player and the Python logic in the apps are two totally separate items. What you set as a proxy in httpget is not connected in any way to the player code.
Its working very well for me using Overplay smart DNS. on Apple ATV2
Live and on Demand.
Thank you.
I'm glad it's working for most. I will of course endeavour to fix all issues. Took some hours to try to integrate the new live streams in a relatively clean way.
@exobuzz
Thanks a million for all your hard work. I have regained all of the functionality that I originally had and enjoyed so much, Live streams and subtitles included Smile
All that still stands is the complaint regarding not knowing an adequate way to reward you for the time and effort you've spent on this to get things back to where they were prior to auntie's changes…

FYI Using Gotham 13 RC 1, Android Arm, on an OUYA with updated librtmp

THANKS!
Thanks streetsy.

I would appreciate it if everyone could test this version - http://malus.exotica.org.uk/~buzz/iplayer-test.zip - including on demand tv/live tv/radio/subtitles etc. It should also solve the issue of playing from the information window. However I may have introduced other problems with the change in playback mechanism, so it would be good to get some testing before I push this out as a release. thanks.
(2014-11-19, 19:41)exobuzz Wrote: I would appreciate it if everyone could test this version - http://malus.exotica.org.uk/~buzz/iplayer-test.zip - including on demand tv/live tv/radio/subtitles etc. It should also solve the issue of playing from the information window. However I may have introduced other problems with the change in playback mechanism, so it would be good to get some testing before I push this out as a release. thanks.
Thanks for all your and others efforts, to keep addon alive very much appreciated... OK To clarify further from my previous post when using iplayer-test.zip with live Video streams, streams play solidly and really well, however I could not get subtitles to work (settings - download and play option)

With on demand Video streams, it seems to be a no go, I just get timer cycling in a repeating fashion in bottom right hand corner of interface...stripped a bit of code from xbmc.log which I believe end element ties up with when attempted to start stream of an on demand program.

Code:
21:46:39 T:2709513296  SEVERE: plugin.video.iplayer: No heartbeat on destruction
21:46:39 T:3059704352  NOTICE: COMXPlayer: Opening: rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEcQdAdRcmagakdsaLcUaradbbcZambQdM-buBq6h-bWG-DqrGDpynLBnHvwJ&aifp=v001&slist=secure/800kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340809694.mp4;secure/400kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340810351.mp4;secure/480kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340806452.mp4;secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4;secure/3200kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416342663484.mp4 playpath=mp4:secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4?auth=daEcQdAdRcmagakdsaLcUaradbbcZambQdM-buBq6h-bWG-DqrGDpynLBnHvwJ&aifp=v001&slist=secure/800kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340809694.mp4;secure/400kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340810351.mp4;secure/480kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340806452.mp4;secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4;secure/3200kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416342663484.mp4 swfurl=http://emp.bbci.co.uk/emp/SMPf/1.9.45/StandardMediaPlayerChromelessFlash.swf swfvfy=1 timeout=180
21:46:39 T:3059704352 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:46:39 T:2837443664  NOTICE: Thread OMXPlayer start, auto delete: false
21:46:39 T:2837443664  NOTICE: Creating InputStream
21:46:39 T:2837443664   ERROR: rtmp server sent error
21:46:39 T:2837443664   ERROR: rtmp server requested close
21:46:39 T:2837443664   ERROR: COMXPlayer::OpenInputStream - error opening [rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEcQdAdRcmagakdsaLcUaradbbcZambQdM-buBq6h-bWG-DqrGDpynLBnHvwJ&aifp=v001&slist=secure/800kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340809694.mp4;secure/400kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340810351.mp4;secure/480kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340806452.mp4;secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4;secure/3200kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416342663484.mp4 playpath=mp4:secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4?auth=daEcQdAdRcmagakdsaLcUaradbbcZambQdM-buBq6h-bWG-DqrGDpynLBnHvwJ&aifp=v001&slist=secure/800kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340809694.mp4;secure/400kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340810351.mp4;secure/480kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340806452.mp4;secure/1500kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416340807174.mp4;secure/3200kbps/modav/bUnknown-de6ca41f-17ed-473e-b2e1-79e323fc0c0c_b04q0rj3_1416342663484.mp4 swfurl=http://emp.bbci.co.uk/emp/SMPf/1.9.45/StandardMediaPlayerChromelessFlash.swf swfvfy=1 timeout=180]
21:46:39 T:2837443664  NOTICE: COMXPlayer::OnExit()
21:46:39 T:2837443664  NOTICE: COMXPlayer::OnExit() deleting input stream
21:46:39 T:3059704352   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.iplayer/?pid=b04q0rll]
21:46:39 T:2837443664  NOTICE: Thread BackgroundLoader start, auto delete: false
21:46:39 T:3059704352  NOTICE: COMXPlayer: finished waiting
21:46:39 T:3059688528  NOTICE: Previous line repeats 1 times.
21:46:39 T:3059688528  NOTICE: Found 1 Lists of Devices
21:46:40 T:3059688528  NOTICE: Enumerated PI devices:
21:46:40 T:3059688528  NOTICE:     Device 1
21:46:40 T:3059688528  NOTICE:         m_deviceName      : HDMI
21:46:40 T:3059688528  NOTICE:         m_displayName     : HDMI
21:46:40 T:3059688528  NOTICE:         m_displayNameExtra:
21:46:40 T:3059688528  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:46:40 T:3059688528  NOTICE:         m_channels        : FL,FR
21:46:40 T:3059688528  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
21:46:40 T:3059688528  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
21:46:40 T:3059688528  NOTICE:     Device 2
21:46:40 T:3059688528  NOTICE:         m_deviceName      : Analogue
21:46:40 T:3059688528  NOTICE:         m_displayName     : Analogue
21:46:40 T:3059688528  NOTICE:         m_displayNameExtra:
21:46:40 T:3059688528  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
21:46:40 T:3059688528  NOTICE:         m_channels        : FL,FR
21:46:40 T:3059688528  NOTICE:         m_sampleRates     : 48000
21:46:40 T:3059688528  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE
21:46:40 T:2837443664  NOTICE: Thread LanguageInvoker start, auto delete: false
21:46:41 T:2837443664  NOTICE: -->Python Interpreter Initialized<--
21:46:43 T:2709513296 WARNING: Attempt to use invalid handle 3
21:46:43 T:2709513296  SEVERE: plugin.video.iplayer: No heartbeat on destruction
21:46:43 T:2697983056  NOTICE: Thread JobWorker start, auto delete: true
21:46:43 T:2689594448  NOTICE: Thread LanguageInvoker start, auto delete: false
21:46:44 T:2689594448  NOTICE: -->Python Interpreter Initialized<--
21:46:47 T:2709513296 WARNING: Attempt to use invalid handle 3
21:46:47 T:2709513296  SEVERE: plugin.video.iplayer: No heartbeat on destruction
21:46:47 T:2681205840  NOTICE: Thread JobWorker start, auto delete: true
21:46:47 T:2672817232  NOTICE: Thread LanguageInvoker start, auto delete: false
21:46:48 T:2672817232  NOTICE: -->Python Interpreter Initialized<--
21:46:52 T:2709513296 WARNING: Attempt to use invalid handle 3
21:46:52 T:2709513296  SEVERE: plugin.video.iplayer: No heartbeat on destruction
21:46:52 T:2664428624  NOTICE: Thread LanguageInvoker start, auto delete: false
21:46:55 T:2664428624  NOTICE: -->Python Interpreter Initialized<--
21:46:57 T:2709513296 WARNING: Attempt to use invalid handle 3
21:46:57 T:2709513296  SEVERE: plugin.video.iplayer: No heartbeat on destruction
21:46:57 T:2689594448  NOTICE: Thread LanguageInvoker start, auto delete: false
21:46:59 T:2689594448  NOTICE: -->Python Interpreter Initialized<--
21:47:02 T:2709513296 WARNING: Attempt to use invalid handle 3

Hope information is helpful can test more on Pi and provide further feedback as required.
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
(2014-11-20, 00:03)MikeKL Wrote: Thanks for all your and others efforts, to keep addon alive very much appreciated... OK To clarify further from my previous post when using iplayer-test.zip with live Video streams, streams play solidly and really well, however I could not get subtitles to work (settings - download and play option)

there are no subtitles for live tv if that's what you mean? That is correct.

(2014-11-20, 00:03)MikeKL Wrote: With on demand Video streams, it seems to be a no go, I just get timer cycling in a repeating fashion in bottom right hand corner of interface...stripped a bit of code from xbmc.log which I believe end element ties up with when attempted to start stream of an on demand program.
Hope information is helpful can test more on Pi and provide further feedback as required.

full debug logs via xbmclogs.com are more useful than fragments pasted into the forum. I appreciate the feedback though. ondemand works here, but I've not tried on my pi yet.
The only quibble I have is that the contrast/colour is very dark until the stream finally clears loading - then it lightens a bit, but the colour contrast is not the same as the iPlayer app on Samsung smart tv.which is much closer to the normal live broadcast. Such a difference was not apparent in the old iplayer plugin.

Hey ho ...
http://malus.exotica.org.uk/~buzz/iplayer-test.zip is updated. I had a few errors in there regarding setresolvedurl functionality. Please can everyone test again.

castalla: not much I can do about that.
(2014-11-20, 02:30)exobuzz Wrote: I had a few errors in there regarding setresolvedurl functionality. Please can everyone test again.
OK tested with updated iplayertest.zip installed on my pi and tonight with latest version the ONDemand streams are now working fine and include subtitles. I believed live streams also supported subtitles for "live streaming but of pre-recorded programs" so thanks for information.

Additionally here is link for uploaded logfile (after switching on xbmc debugging) on pastebin

Again, many thanks, hope information even though no failures tonight is helpful can do more testing over weekend.
(Did not get chance to try live again as wife wanted to watch something on a none beeb channel)
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
  • 1
  • 178
  • 179
  • 180(current)
  • 181
  • 182
  • 192

Logout Mark Read Team Forum Stats Members Help
[RELEASE] iPlayer - BBC Video and Music Plugin (UK only!)13