[Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-03-16
Here are some additional channels not covered by the excellent repository xbmc-catchuptv-au.
RE: [Release] Australian Tv Channel Additional Plugins - pepper1972 - 2012-03-17
bog_gob,
do you know if any of these Australian TV plugins work outside Australia? I am from Hong Kong.
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-03-17
Not that I'm aware of, possibly a web proxy/redirect?
RE: [Release] Australian Tv Channel Additional Plugins - bossanova808 - 2012-03-17
Have you thought about maybe contributing these back tot he repo itself so they're all in one place? Most of the ones in the repo itself are currently broken ...
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-03-17
I'm not sure how , I'd do so if the maintainers of the Catch Up Tv site were interested. I'd guess I'd have to contact the maintainers and ask if they'd like to include my material.
[Release] Australian Tv Channel Additional Plugins - bossanova808 - 2012-03-17
Yeah basically they can make you a contributor to the project and then you can push your changes to google code and thus to the repo/addon users
RE: [Release] Australian Tv Channel Additional Plugins - TheFonz - 2012-03-19
Is there any chance of adding the Channel 9 Fix Play content?
RE: [Release] Australian Tv Channel Additional Plugins - wyrm - 2012-03-19
(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 ERROR: J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py:34: DeprecationWarning: os.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 INFO: initializing python engine. 09:07:19 T:4388 DEBUG: new python thread created. id=13 09:07:19 T:4388 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the SBS2 plugin... 09:07:19 T:5732 DEBUG: Thread XBPyThread start, auto delete: 0 09:07:19 T:5732 DEBUG: Python thread: start processing 09:07:19 T:5732 NOTICE: -->Python Interpreter Initialized<-- 09:07:19 T:5732 DEBUG: XBPyThread::Process - The source file to load is J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py 09:07:19 T:5732 DEBUG: XBPyThread::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 DEBUG: XBPyThread::Process - Entering source directory J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2 09:07:19 T:5732 DEBUG: Instantiating 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 INFO: Loading skin file: DialogProgress.xml 09:07:20 T:4388 DEBUG: DialogProgress::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 ERROR: Error Type: <class 'httplib.IncompleteRead'> 09:07:21 T:5732 ERROR: Error Contents: IncompleteRead(1402 bytes read, 6790 more expected) 09:07:21 T:5732 ERROR: Traceback (most recent call last): File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\default.py", line 8, in <module> import resources.scraper File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py", line 117, in <module> SCRAPER = MenuItems() File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py", line 22, in __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 8, in geturl return urllib2.urlopen(urllib2.Request(url, headers = {"Accept-Encoding":"gzip"})).read().decode('iso-8859-1', 'ignore').encode('ascii', 'ignore') File "K:\General\XBMC\system\python\Lib\socket.py", line 348, in read data = self._sock.recv(rbufsize) File "K:\General\XBMC\system\python\Lib\httplib.py", line 522, in read return self._read_chunked(amt) File "K:\General\XBMC\system\python\Lib\httplib.py", line 571, in _read_chunked value.append(self._safe_read(amt)) File "K:\General\XBMC\system\python\Lib\httplib.py", line 621, in _safe_read raise IncompleteRead(''.join(s), amt) IncompleteRead: IncompleteRead(1402 bytes read, 6790 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)
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-03-19
(2012-03-19, 01:38)TheFonz Wrote: Is there any chance of adding the Channel 9 Fix Play content? Channel 9 uses silverlight for steaming its media which makes it impossible to run in linux (the environment I use). I hear it's possible to get silverlight plugins working on windows (by redirecting to a browser) but I haven't taken the time to investigate. Maybe someone else can help with this?
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-03-19
(2012-03-19, 03:53)wyrm Wrote: (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.
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)
Thanks for the feedback . I've updated the link. I've has a look at the log, it seems as though you've got problems with a http request. It could be due to an early timeout. I'm testing on Dharma which uses python 2.4, Eden uses python 2.7 which allows you to specify a timeout. Could you change the following line:
File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py", line 8, in geturl
return urllib2.urlopen(urllib2.Request(url, headers = {"Accept-Encoding":"gzip"})).read().decode('iso-8859-1', 'ignore').encode('ascii', 'ignore')
To:
return urllib2.urlopen(urllib2.Request(url), timeout = 60).read().decode('iso-8859-1', 'ignore').encode('ascii', 'ignore')
Remember in python the indentation is important, there should be a single tab leading the line.
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-04-02
I've made changes to the SBS plugin to deal with the new JSON program layout
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-04-14
I've updated the SBS plugin to deal with new smil handling
I've added a channel 7 plugin
I've added a repository to make dealing with updates easier
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-04-20
(2012-03-17, 23:32)bossanova808 Wrote: Yeah basically they can make you a contributor to the project and then you can push your changes to google code and thus to the repo/addon users
I've tried to contact them, I've received no response, I've created my own repository for now.
Updated SBS yet again , they're making my life difficult by continuously changing they're site.
RE: [Release] Australian Tv Channel Additional Plugins - wyrm - 2012-04-21
(2012-03-19, 14:07)bog_gob Wrote: [quote='wyrm' pid='1049687' dateline='1332122028']
[quote='bog_gob' pid='1047783' dateline='1331931184']
Here are some additional channels not covered by the excellent repository xbmc-catchuptv-au.
Thanks for the feedback . I've updated the link. I've has a look at the log, it seems as though you've got problems with a http request. It could be due to an early timeout. I'm testing on Dharma which uses python 2.4, Eden uses python 2.7 which allows you to specify a timeout. Could you change the following line:
File "J:\Users\John\AppData\Roaming\XBMC\addons\plugin.video.sbs2\resources\scraper.py", line 8, in geturl
return urllib2.urlopen(urllib2.Request(url, headers = {"Accept-Encoding":"gzip"})).read().decode('iso-8859-1', 'ignore').encode('ascii', 'ignore')
To:
return urllib2.urlopen(urllib2.Request(url), timeout = 60).read().decode('iso-8859-1', 'ignore').encode('ascii', 'ignore')
Remember in python the indentation is important, there should be a single tab leading the line. Sorry Bog_gob,
only just saw this message. Yes that seems to have worked. Don't see the script crash notification any more. I have applied the change to the release from 20th April and now see programs constantly buffering (pulling in directory listings is near instantaneous), but I think that maybe a result of the recent SBS website change. Will keep playing to see if things improve.
Thanks mate
Wyrm (xTV-SAF)
RE: [Release] Australian Tv Channel Additional Plugins - bog_gob - 2012-04-21
I saw similar issues on my linux box (but not my windows one), to stop it from buffering I just hit the play button. SBS now streams the MP4 files directly (rather than using RTMP) I may have to pass an arguement to the xbmc.PLAY command to deal with the buffering appropriately
|