[Release] Australian Tv Channel Additional Plugins
#8
(2012-03-16, 22:53)bog_gob Wrote: Here are some additional channels not covered by the excellent repository xbmc-catchuptv-au.
bog_gob,

First of all thank you for giving these scripts/plugins some loving. I know the missus has certainly missed the SBS plugin, and I'm sure she will appreciate the others that you have included. Unfortunately the SBS plugin still has one or two little gottcha's.

The first time that I try the plugin I get a warning that something is wrong and the script crashes. Seems to work fine the next time I try the plugin. Anyway here is the appropriate part of my debug log.

PHP Code:
09:07:16 T:5428   ERRORJ:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py:34DeprecationWarningos.getcwd() 
currently lies to you so please use addon.getAddonInfo('path'to find the script's root directory and 
DO NOT make relative path accesses based on the results of '
os.getcwd.
                                              addon = xbmcaddon.Addon( id=os.path.basename(os.getcwd()))
09:07:16 T:5428  NOTICE: ::
09:07:16 T:5428  NOTICE: plugin://plugin.video.sbs2/extrafanart/?url=None&path=%28%27Clips%27%2C%29&name=Clips&mode=0
09:07:16 T:5428  NOTICE: {'
url': None, 'path': ('Clips',), 'name': 'Clips', 'mode': 0}
09:07:16 T:5428  NOTICE: {}
09:07:16 T:5428  NOTICE: %%
09:07:16 T:5428  NOTICE: ::
09:07:16 T:5428  NOTICE: plugin://plugin.video.sbs2/extrafanart/?url=None&path=%28%27Events%27%2C%29&name=Events&mode=0
09:07:16 T:5428  NOTICE: {'
url': None, 'path': ('Events',), 'name': 'Events', 'mode': 0}
09:07:16 T:5428  NOTICE: {}
09:07:16 T:5428  NOTICE: %%
09:07:16 T:5428  NOTICE: ::
09:07:16 T:5428  NOTICE: plugin://plugin.video.sbs2/extrafanart/?url=None&path=%28%27Programs%27%2C%29&name=Programs&mode=0
09:07:16 T:5428  NOTICE: {'
url': None, 'path': ('Programs',), 'name': 'Programs', 'mode': 0}
09:07:16 T:5428  NOTICE: {}
09:07:16 T:5428  NOTICE: %%
09:07:16 T:4960   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
09:07:16 T:5428    INFO: Scriptresult: Success
09:07:16 T:5428    INFO: Python script stopped
09:07:16 T:5428   DEBUG: Thread XBPyThread 5428 terminating
09:07:16 T:4960   DEBUG: waiting for python thread 12 to stop
09:07:16 T:4960   DEBUG: python thread 12 destructed
09:07:17 T:4960   DEBUG: SDLKeyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
09:07:17 T:4960   DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
09:07:18 T:4960   DEBUG: SDLKeyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
09:07:18 T:4960   DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
09:07:19 T:4960   DEBUG: SDLKeyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
09:07:19 T:4960   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
09:07:19 T:4960   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs2/?url=None&path=%28%27Programs%27%2C%29&name=Programs&mode=0)
09:07:19 T:4960   DEBUG:   ParentPath = [plugin://plugin.video.sbs2]
09:07:19 T:4388   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin SBS2('
plugin://plugin.video.sbs2/','0','?url=None&path=%28%27Programs%27%2C%29&name=Programs&mode=0')
09:07:19 T:4388    INFOinitializing python engine.
09:07:19 T:4388   DEBUG: new python thread createdid=13
09
:07:19 T:4388   DEBUGXFILE::CPluginDirectory::WaitOnScriptResult waiting on the SBS2 plugin...
09:07:19 T:5732   DEBUGThread XBPyThread startauto delete0
09
:07:19 T:5732   DEBUGPython threadstart processing
09
:07:19 T:5732  NOTICE: -->Python Interpreter Initialized<--
09:07:19 T:5732   DEBUGXBPyThread::Process The source file to load is J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py
09
:07:19 T:5732   DEBUGXBPyThread::Process Setting the Python path to J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2;
J:\Users\John\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib;J:\Users\John\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;
J:\Users\John\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;K:\General\XBMC\addons\script.module.pil\lib;
J:\Users\John\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;J:\Users\John\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;
J:\Users\John\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;
J:\Users\John\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;K:\General\XBMC\addons\script.module.pysqlite\lib;
K:\General\XBMC\system\python\DLLs;K:\General\XBMC\system\python\Lib;K:\General\XBMC\python26.zip;
K:\General\XBMC\system\python\lib\plat-win;
K:\General\XBMC\system\python\lib\lib-tk;K:\General\XBMC;K:\General\XBMC\system\python;
K:\General\XBMC\system\python\lib\site-packages;
09:07:19 T:5732   DEBUGXBPyThread::Process Entering source directory J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2
09
:07:19 T:5732   DEBUGInstantiating addon using automatically obtained id of "plugin.video.sbs2" dependent on 
version 1.0 of the xbmc
.python api
09
:07:19 T:4960   DEBUG: ------ Window Init (DialogBusy.xml) ------
09:07:20 T:4388    INFOLoading skin fileDialogProgress.xml
09
:07:20 T:4388   DEBUGDialogProgress::StartModal called
09
:07:20 T:4388   DEBUG: ------ Window Init (DialogProgress.xml) ------
09:07:21 T:5732    INFO: -->Python script returned the following error<--
09:07:21 T:5732   ERRORError Type: <class 'httplib.IncompleteRead'>
09:07:21 T:5732   ERRORError ContentsIncompleteRead(1402 bytes read6790 more expected)
09:07:21 T:5732   ERRORTraceback (most recent call last):
                                              
File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py"line 8in <module>
                                                
import resources.scraper
                                              File 
"J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py"line 117in <module>
                                                
SCRAPER MenuItems()
                                              
File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py"line 22in __init__
                                                self
.main_txt            re.sub(r'^[^=]+=',''geturl(self.base 'js/video-menu'))
                                              
File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py"line 8in geturl
                                                
return  urllib2.urlopen(urllib2.Request(urlheaders = {"Accept-Encoding":"gzip"})).read().decode('iso-8859-1''ignore').encode('ascii''ignore')
                                              
File "K:\General\XBMC\system\python\Lib\socket.py"line 348in read
                                                data 
self._sock.recv(rbufsize)
                                              
File "K:\General\XBMC\system\python\Lib\httplib.py"line 522in read
                                                
return self._read_chunked(amt)
                                              
File "K:\General\XBMC\system\python\Lib\httplib.py"line 571in _read_chunked
                                                value
.append(self._safe_read(amt))
                                              
File "K:\General\XBMC\system\python\Lib\httplib.py"line 621in _safe_read
                                                raise IncompleteRead
(''.join(s), amt)
                                            
IncompleteReadIncompleteRead(1402 bytes read6790 more expected)
09:07:21 T:5732    INFO: -->End of Python script error report<-- 
Yes, I know it's only a fragment (PM me an e-mail address to send the full debug log if required), but I think what I have sent is pretty clear. While it still works, also take note of the "DeprecationWarning:" on the first line, as the dev's have said they are not going to support this going forward from Eden.

Thanks again mate
Wyrm (xTV-SAF)


(2012-03-16, 22:53)bog_gob Wrote: Here are some additional channels not covered by the excellent repository xbmc-catchuptv-au.
bog_gob,

Sorry, also just noticed that your link in your original message to the Ten plugin points to the Age download. You might want to edit the link to point to the correct file.

Wyrm (xTV-SAF)

If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions here if you can't access skin settings.

FAQ's located at :- http://kodi.wiki/view/Add-on:AppTV
Reply


Messages In This Thread
RE: [Release] Australian Tv Channel Additional Plugins - by wyrm - 2012-03-19, 03:53
Logout Mark Read Team Forum Stats Members Help
[Release] Australian Tv Channel Additional Plugins3