2014-05-04, 03:50
@toph3r, bosel: Yep sorry, that's an error I introduced with the logging change in 2.5.5 (I'm scratching my head wondering how I missed that). Just add "import xbmc" at the top of iplayer2.py and you should be OK. I've submitted a patch to fix it in the next release.
Edit: Eugh, I see why it was kind-of working - the call to "import xbmc" occurs very late in line 1076 of iplayer2.py, which in some cases is too late for calls to utils() that proceed to reference a property of the yet to be loaded xbmc module. Add "import xbmc" at the beginning then all calls to utils() will work - you could remove line 1076 but there's no harm importing it twice.
Edit: Eugh, I see why it was kind-of working - the call to "import xbmc" occurs very late in line 1076 of iplayer2.py, which in some cases is too late for calls to utils() that proceed to reference a property of the yet to be loaded xbmc module. Add "import xbmc" at the beginning then all calls to utils() will work - you could remove line 1076 but there's no harm importing it twice.