[Solved] iPlayer not working

Requests, suggestions, support, and everything else python / plugin related.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

[Solved] iPlayer not working

Post by spicemuseum »

Anyone else having a problem with it? From a brief look at the debug log it doesn't obviously seem like a problem with the plugin, but take a look and judge for yourself...

http://pastebin.com/twLQtPpR
Last edited by spicemuseum on Thu Jun 13, 2013 12:18 am, edited 1 time in total.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

you don't have the latest version. I recommend you follow the iplayer thread on xbmc.org which usually has the latest info .. also iplayer is installable from our addons repo now (you need this version rather than the xbmc one, as the xbmc release has a few xbmc4xbox incompatibilities)
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

btw you don't need dvdplayer set as defaultplayer in your advancedsettings, as it is the default player by default anyway.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:btw you don't need dvdplayer set as defaultplayer in your advancedsettings, as it is the default player by default anyway.
True, the settings file is old, but nothing wrong with it.
BuZz wrote:you don't have the latest version.
Thanks. It's a few weeks since I used iPlayer, would appreciate a brief explanation of (or pointer to) the reason for the change.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

spicemuseum wrote:Thanks. It's a few weeks since I used iPlayer, would appreciate a brief explanation of (or pointer to) the reason for the change.
read the (end of the) iplayer thread on xbmc forum or see the changelog.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:
spicemuseum wrote:Thanks. It's a few weeks since I used iPlayer, would appreciate a brief explanation of (or pointer to) the reason for the change.
read the (end of the) iplayer thread on xbmc forum or see the changelog.
...if I could find it :-(

--EDIT--
Okay, I think I found it. http://forum.xbmc.org/showthread.php?ti ... ht=iplayer
Last edited by spicemuseum on Sun Jun 09, 2013 2:29 pm, edited 1 time in total.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

http://code.google.com/p/xbmc-iplayerv2/ is the iplayer website which links to the forum thread http://forum.xbmc.org/showthread.php?pi ... 3pid338821 not really hard to find :) or you could have just installed the latest version and looked at the changelog.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:http://code.google.com/p/xbmc-iplayerv2/ is the iplayer website which links to the forum thread http://forum.xbmc.org/showthread.php?pi ... 3pid338821 not really hard to find :)
Not "hard", but equally it is non-trivial. Search "iplayer" on XBMC and the first page of hits doesn't find the right thread. You have to do an advanced search only in headings.
Anyway, next challenge is to find a link to the changelog....
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

LOL. Well, I didn't think you would need help to find it, since you have posted on the main iplayer thread at xbmc.org in the past :) (more than once!) I shouldn't need to point you to threads you have already been involved in right ?
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

btw if you just do a search on the xbmc forum for the word "iplayer" it is (currently) the first thread.. so I'm not sure what you were searching for.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:btw if you just do a search on the xbmc forum for the word "iplayer" it is (currently) the first thread.. so I'm not sure what you were searching for.
"iplayer" - from that same place. Let me try again....
Ah I see - I was searching from within the Python Dev't category, and it's a different search, making assumptions about the searcher's criteria.

BTW, as for me having posted in there before - checking this as well - good grief, last time was June 2010!

Lastly, I've now updated the build, and I'm using "Addons4Xbox Installer". Where do I find iPlayer?

--EDIT--
Hang on, think I've found it (more by luck than knowledge) - in Hitcher's repo. ...and it doesn't work :-(. I suspect because of this....
BuZz wrote:iplayer is installable from our addons repo now (you need this version rather than the xbmc one, as the xbmc release has a few xbmc4xbox incompatibilities)
Right, so where/how (using "Addons4Xbox Installer") do I find that version?

--EDIT again--
http://pastebin.com/9K1Lxudt

Code: Select all

15:55:06 M: 25010176    INFO: -->Python script returned the following error<--
15:55:06 M: 25018368   ERROR: Error Type: exceptions.SyntaxError
15:55:06 M: 25001984   ERROR: Error Contents: invalid syntax (iplayer2.py, line 1059)
15:55:06 M: 25014272    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://xml.weather.com (easy=00C22010, multi=00B5FC30)
15:55:07 M: 25190400    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://newsrss.bbc.co.uk (easy=00CA0290, multi=009CCD70)
15:55:07 M: 25432064   ERROR: Traceback (most recent call last):
                                              File "Q:\plugins\video\IPlayer\default.py", line 22, in ?
                                                import iplayer2 as iplayer
                                              File "Q:\plugins\video\IPlayer\lib\iplayer2.py", line 1059
                                                with open(IPlayer.RESUME_LOCK_FILE, 'w') as lock_fh:
                                                        ^
                                            SyntaxError: invalid syntax
15:55:07 M: 25038848    INFO: -->End of Python script error report<--
15:55:07 M: 25059328    INFO: Python script stopped
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

I already said that one wouldn't work and that you need the one from our repository! http://www.xbmc4xbox.org.uk/addons/

I give up!!

:roll:
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

[Solved] Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:I already said that one wouldn't work and that you need the one from our repository! http://www.xbmc4xbox.org.uk/addons/

I give up!!
I know you're trying to be helpful, but you need to re-read what I'm typing.
I am attempting to avoid using the XBMC version. I see the iPlayer addon for Xbox is in the list on our web site (your link above). I cannot see how to get it. Either directly via my web browser, or through the XBMC4Xbox Installer.
(As an experienced user, this is as frustrating for me as it is for you.)

--STOP PRESS--
Even though I tried it several times (and it wasn't there otherwise why would I ask about it!), I now see iPlayer in the list in Get Addons -> XBMC4XBOX Add-ons -> Video Add-ons.

Installing...

And it works!

Thanks for your help.

(Sometimes things might appear to be obvious, but aren't - Neilsen's Heuristics(!). I hope this thread (specifically the info above) is useful to others.)
Last edited by spicemuseum on Mon Jun 10, 2013 12:25 pm, edited 1 time in total.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

If you saw it on the link above and couldn't work it out right away, then I suggest you pop over to specsavers :) there is a clear link to a complete tutorial. the whole forum is full of discussions on our fixed up addons. I've probably spent 45 mins now on this thread.... and no offense, but my time feels pretty wasted!

the addons link and everything you need is on the main navigation on this site. I don't see how it could be any more obvious.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:If you saw it on the link above and couldn't work it out right away, then I suggest you pop over to specsavers :) there is a link to a complete tutorial. the whole forum is full of discussions on our fixed up addons. I've probably spent 45 mins now on this thread.... and no offense, but it feels pretty wasted!
Disappointing since, despite your thinking it's obvious, it wasn't to me (because of compound issues). I don't post for help unless I'm really stuck. Again, thanks for your help.
BuZz wrote:the addons link and everything you need is on the main navigation on this site. I don't see how it could be any more obvious.
I didn't see that link or its contents initially, so thanks for pointing it out. Is there a place I can directly download using my browser?

In case others are interested in any further info. When updating my build I also backed-up my UserData and wrote it back afterwards (normal practice). This is what I think caused the issue finding iPlayer in the Addons4Xbox repo using XBMC4XBOX Installer. See here: http://www.xbmc4xbox.org.uk/forum/viewt ... ?f=7&t=897 "remember you must delete the old cached files from Q:/XBMC/userdata/plugins/programs/addons4xboxinstaller <-- you need to delete this entire folder before running the new updated installer or nothing will appear in our repo" - which is probably why my installation couldn't see iPlayer in the list of availble add-ons.
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

if that was the issue no addons would have shown at all in our repository. that was an issue moving from a very old installer that had a different location.

you can download from your browser a file at a time from http://addons4xbox.googlecode.com/svn/trunk/ but I wouldn't recommend that. you could do an svn checkout if you liked and install manually, but then addons4xbox will handle the depedencies etc.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

BuZz wrote:if that was the issue no addons would have shown at all in our repository.
That was the case, but I could still see iPlayer in Hitcher's repo, despite having set the setting "Repositories list source" to XBMC4XBOX1 in "Addons4Xbox Installer". Perhaps this helps understand the confusion.
BuZz wrote:you can download from your browser a file at a time from http://addons4xbox.googlecode.com/svn/trunk/ but I wouldn't recommend that.
Thanks, any reason why not directly from the browser list?
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: iPlayer not working

Post by BuZz »

how do you mean ? we manage the data on svn. that's where files are currently installed from.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: iPlayer not working

Post by spicemuseum »

The reason is so that I can install a copy easily onto my (and my family's) many xboxes by simply FTPing, rather than having to repeat the procedure on each box.

I've looked at the structure of http://addons4xbox.googlecode.com/svn/trunk/ and understand now why you think it an odd request - since they're all right there.
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

Re: [Solved] iPlayer not working

Post by spicemuseum »

Now that's Sunday's panic is over and the dust has settled (divorce threats withdrawn, kids have come back home, cat stopped sicking up on the carpet, Buzz decided life is worth persisting with after all, &c, &c), I've had a chance to investigate - and find! - the answer to my question about what auntie changed to cause the need to update.

In case anyone is curious, the answer is here:
http://code.google.com/p/xbmc-iplayerv2 ... ail?r=125#
...and the reason can be inferred from this recent post about get_iplayer:
https://github.com/dinkypumpkin/get_iplayer/wiki/swfurl
i.e. swfurl values changed, as they do periodically.
Post Reply