[RELEASE] iPlayer - BBC Video and Music Plugin (UK only!)

  Thread Rating:
  • 12 Votes - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
timbostop Offline
Junior Member
Posts: 1
Joined: Apr 2010
Reputation: 0
Post: #481
Hi

I've followed the various instructions to get the "get_iplayer" version of this hack working with the xbmc IPlayer plugin.

Unfortunately something is not quite right - I wondered if anyone could spot the problem easily.

From XBMC when I select a programme to watch via IPlayer I get a message "Failed to playback" (or sometimes no error at all and just doesn't play) and I can see more details via the logs:

When running get_iplayer on port 1935 and observing the console I see:

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 85855
Download may be incomplete (downloaded about 0.00%), try resuming
INFO: 28522 killing cmd PID=28521 with SIGPIPE

Also in the xbmc.log I see entries like:

20:25:58 T:2977229680 M:1201557504 ERROR: Open - failed to open source <http://localhost:1935/iplayer?ACTION=stream&PROGTYPES=tv&PID=b00s1tpp&MODES=flashhd,flashvhigh,flashhigh,flashstd&STREAMTYPE=none>

When I open that URL via Firefox on the same linux box it works fine...

This happens for any of the programmes I select.

Any ideas what is going wrong?

I have the latest version of the IPlayer plugin and a recent version of XBMC.
(This post was last modified: 2010-04-11 21:28 by timbostop.)
find quote
psmorgan Offline
Junior Member
Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #482
.
(This post was last modified: 2010-04-12 02:22 by psmorgan.)
find quote
3guk Offline
Member
Posts: 63
Joined: Nov 2008
Reputation: 0
Post: #483
Can anyone give me step by step instructions on how to use the patch based way to get this working ?

James
find quote
spicemuseum Offline
Member
Posts: 87
Joined: May 2009
Reputation: 0
Post: #484
timbostop Wrote:I've followed the various instructions to get the "get_iplayer" version of this hack working with the xbmc IPlayer plugin.

Unfortunately something is not quite right - I wondered if anyone could spot the problem easily.

From XBMC when I select a programme to watch via IPlayer I get a message "Failed to playback" (or sometimes no error at all and just doesn't play) and I can see more details via the logs:

When running get_iplayer on port 1935 and observing the console I see:

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 85855
Download may be incomplete (downloaded about 0.00%), try resuming
INFO: 28522 killing cmd PID=28521 with SIGPIPE

Also in the xbmc.log I see entries like:

20:25:58 T:2977229680 M:1201557504 ERROR: Open - failed to open source <http://localhost:1935/iplayer?ACTION=stream&PROGTYPES=tv&PID=b00s1tpp&MODES=flashhd,flashvhigh,flashhigh,flashstd&STREAMTYPE=none>

When I open that URL via Firefox on the same linux box it works fine...

This happens for any of the programmes I select.

Any ideas what is going wrong?

I have the latest version of the IPlayer plugin and a recent version of XBMC.
Hmmm. Sounds like the problem I have with the same workaround (except using a separate linux (Mythbuntu) server running the get_iplayer.cgi and Xbox running XBMC). This solution was working fine for me until just before easter when I spotted it failing (see this thread five pages back). I went away for a break, just got back and confirm that it's still broken. Not easy to get debug time - family busily using the Xbox to watch Myth recordings of various rubbish they recorded whilst we were away. Your symptoms look very similar.
find quote
s7mx1 Offline
Senior Member
Posts: 264
Joined: Dec 2007
Reputation: 4
Post: #485
A working patch for iplayer 2010-03-05 that uses the latest librtmp syntax which can do SWF Verification, Secure Token authentication.

Tested with linux build today and it works. Please read the following thread thoroughly especially post number 10
http://forum.xbmc.org/showpost.php?p=517288

librtmp can be found here:
http://rtmpdump.mplayerhq.hu/

My post is in number 17 which tells you how to apply the patch (in trac).

Not sure if the librtmp code can be compiled under windows/mac.
(This post was last modified: 2010-04-15 09:58 by s7mx1.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,748
Joined: Aug 2007
Reputation: 98
Location: Eastleigh, UK
Post: #486
Anyone want to share a build?
find quote
s7mx1 Offline
Senior Member
Posts: 264
Joined: Dec 2007
Reputation: 4
Post: #487
Hitcher Wrote:Anyone want to share a build?

I only built/tested under linux and not sure the latest librtmp will even build under windows without modification.

If you have a mediocre linux machine it will take about half an hour to build at most. However the patch for iplayer should work for all platforms. If you wait enough the latest librtmp will eventually get merged into xbmc.
find quote
highlandsun Offline
Senior Member
Posts: 152
Joined: Mar 2009
Reputation: 0
Post: #488
s7mx1 Wrote:I only built/tested under linux and not sure the latest librtmp will even build under windows without modification.

If you have a mediocre linux machine it will take about half an hour to build at most. However the patch for iplayer should work for all platforms. If you wait enough the latest librtmp will eventually get merged into xbmc.

Yes, librtmp builds perfectly well on Windows, using MinGW.
find quote
Smiff Offline
Senior Member
Posts: 152
Joined: Dec 2008
Reputation: 0
Post: #489
haven't read the whole thread - but is there hope that this plugin could work again on the xbox with a direct network connection, as it used to? thanks..
find quote
spicemuseum Offline
Member
Posts: 87
Joined: May 2009
Reputation: 0
Post: #490
Smiff Wrote:haven't read the whole thread - but is there hope that this plugin could work again on the xbox with a direct network connection, as it used to? thanks..
Read exobuzz's posts.
find quote
spicemuseum Offline
Member
Posts: 87
Joined: May 2009
Reputation: 0
Post: #491
spicemuseum Wrote:Hmmm. Sounds like the problem I have with the same workaround (except using a separate linux (Mythbuntu) server running the get_iplayer.cgi and Xbox running XBMC). This solution was working fine for me until just before easter when I spotted it failing (see this thread five pages back). I went away for a break, just got back and confirm that it's still broken. Not easy to get debug time - family busily using the Xbox to watch Myth recordings of various rubbish they recorded whilst we were away. Your symptoms look very similar.
Finally got time to look into this a little.
Noted root ownership and permissions on the following on the server
Code:
/home/spice/.swfinfo  root:root  -rwxr--r--
and
Code:
/home/spice/.get_iplayer/  root:root  -rwxr--r--
Broadened out the permissions to 777 to see whether it made a difference and it all (well, Timmy Time) magically came to life on the XB0X. Not going to bother investigating further unless I spot any more problems.
find quote
spicemuseum Offline
Member
Posts: 87
Joined: May 2009
Reputation: 0
Post: #492
spicemuseum Wrote:Finally got time to look into this a little.
Noted root ownership and permissions on the following on the server
Code:
/home/spice/.swfinfo  root:root  -rwxr--r--
and
Code:
/home/spice/.get_iplayer/  root:root  -rwxr--r--
Broadened out the permissions to 777 to see whether it made a difference and it all (well, Timmy Time) magically came to life on the XB0X. Not going to bother investigating further unless I spot any more problems.
Feels abit like a stream of consciousness in this thread, but anyway, of the seven Timmy Time episodes currently on iPlayer, four play and three don't. Perhaps the get_iplayer file permissions thing was a total red herring. Crazy.
find quote
dc2447 Offline
Senior Member
Posts: 150
Joined: Feb 2009
Reputation: 0
Post: #493
With respect to the people who came up with the workround it isn't really that useable.

We need patched builds with swf verification
find quote
sipart Offline
Senior Member
Posts: 122
Joined: Jan 2008
Reputation: 0
Location: Derbyshire UK
Post: #494
dc2447 Wrote:With respect to the people who came up with the workround it isn't really that useable.

We need patched builds with swf verification

What platform are you using Dave? I use XBOX and exobuzz's XBMC modified build works just like the old days with the normal iplayer plugin. I just copied the modified build to a separate folder and run the default.xbe from within my normal build then launch the iplayer plugin (I tweaked the modd'ed build to launch straight to the iplayer plugin using the normal XBMC options to change default home location). I could go one step further and create a shortcut within the normal build to the modded builds default.xbe - but just haven't bothered. The launch and startup of XBMC on XBOX is very fast so it's no bother doing the above - adds about 15 secs to getting to iplayer.

Link to exobuzz's modded build page in his personal page

http://forum.xbmc.org/member.php?action=...e&uid=1188

Cheers
find quote
dc2447 Offline
Senior Member
Posts: 150
Joined: Feb 2009
Reputation: 0
Post: #495
sipart Wrote:What platform are you using Dave? I use XBOX and exobuzz's XBMC modified build works just like the old days with the normal iplayer plugin. I just copied the modified build to a separate folder and run the default.xbe from within my normal build then launch the iplayer plugin (I tweaked the modd'ed build to launch straight to the iplayer plugin using the normal XBMC options to change default home location). I could go one step further and create a shortcut within the normal build to the modded builds default.xbe - but just haven't bothered. The launch and startup of XBMC on XBOX is very fast so it's no bother doing the above - adds about 15 secs to getting to iplayer.

Link to exobuzz's modded build page in his personal page

http://forum.xbmc.org/member.php?action=...e&uid=1188

Cheers

Cheers - I'm running a stable build out of the karmic repo so I don't want to go to an svn build really - I know I could patch myself but basically I am waiting for swf verification to hit upstream first.

edit: actually I'll probably upgrade anyways, Boxee iplayer is not great
find quote
Post Reply