[Release] Australian Tv Channel Additional Plugins

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #11
I've made changes to the SBS plugin to deal with the new JSON program layout
find quote
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #12
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
find quote
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #13
(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 Sad, they're making my life difficult by continuously changing they're site.
(This post was last modified: 2012-04-20 14:44 by bog_gob.)
find quote
wyrm Offline
Skilled Skinner
Posts: 770
Joined: Nov 2007
Reputation: 6
Location: Perth, Australia (GMT +8)
Post: #14
(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 Smile. 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)
find quote
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #15
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
find quote
wyrm Offline
Skilled Skinner
Posts: 770
Joined: Nov 2007
Reputation: 6
Location: Perth, Australia (GMT +8)
Post: #16
(2012-04-21 11:51)bog_gob Wrote:  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
bog_gob,

Yep that fixed it. Will keep an eye on this thread for any updates. Currently not wife friendly with the press play, but really it's a minor issue if she wants to watch Heston.

Thanks again
Wyrm (xTV-SAF)

When postings problems, please provide build details. If required a FULL debug log can now be submitted from the skin in settings->appearance->skin->settings>support. Ensure debug logging has been set in settings->system->debugging (or from the support menu). FAQ's located at :- http://wiki.xbmc.org/index.php?title=Add-on:XTV-SAF
find quote
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #17
I've updated the SBS plugin to work around seek issues (And to fix a small bug in bitrate selection). The context menu will allow you to seek to a position within the video (using seconds), there is also a hackish option that can be enabled in settings (for Eden users) that sniffs for XBMC JSON seek notifications and updates the video based on them (this doesn't always produce good results when seeking backwards).

Both options result in the Playing time not being displayed correctly (it gets reset to 0 every time you seek). But this is better than no seek at all.
find quote
fastdump Offline
Junior Member
Posts: 43
Joined: Feb 2008
Reputation: 0
Post: #18
Hi bog_gob,

I'm extremely grateful for your suite of Oz TV add-ons, however I'm having a couple of issues...
  1. Seems The Age TV add-on has stopped working. They did a site update recently where they added more genres and search options. Now when I launch The Age TV, only 'Genre' is listed and when I try that I get a script error.
  2. In the SBS2 add-on, I can't seem to play any items under the News & Sport category, e.g. Insight or Dateline episodes, although items in other categories play fine.

█▀ ▄▀▄ ▄▀▀ ▀█▀ █▀▄ █─█ █▄─▄█ █▀▄
█▀ █▀█ ─▀▄ ─█─ █─█ █─█ █─█─█ █─█
▀─ ▀─▀ ▀▀─ ─▀─ ▀▀─ ─▀─ ▀───▀ █▀─
XBMC Frodo ← Win 7 ← ZBOX HD-N22
find quote
bog_gob Offline
Member
Posts: 62
Joined: Feb 2010
Reputation: 6
Location: Melbourne
Post: #19
I've updated the code on the download site. Please inform me if you find any other problems Smile

-just fixed a bug in the Age plugin - should work for all (most?) shows now.

tweaked 7 plugin to get downloading working properly
(This post was last modified: 2012-05-18 23:23 by bog_gob.)
find quote
fastdump Offline
Junior Member
Posts: 43
Joined: Feb 2008
Reputation: 0
Post: #20
Thanks bog_gob... In SBS2 I can now play the items under News & Sport category that I couldn't before - that's great! Smile

However, The Age TV doesn't even load now - just a script error when attempting to launch. I tried uninstall and delete from cache, then reinstall but same deal.

Not sure if this part of the debug log (launching the plugin) helps...
Code:
00:40:45 T:1844   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.age_tv)
00:40:45 T:1844   DEBUG:   ParentPath = [addons://sources/video/]
00:40:45 T:1844   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin The Age TV('plugin://plugin.video.age_tv/','0','')
00:40:45 T:1844    INFO: initializing python engine.
00:40:45 T:1844   DEBUG: new python thread created. id=6
00:40:45 T:1844   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the The Age TV plugin...
00:40:45 T:5040   DEBUG: Thread XBPyThread start, auto delete: 0
00:40:45 T:5040   DEBUG: Python thread: start processing
00:40:45 T:5040  NOTICE: -->Python Interpreter Initialized<--
00:40:45 T:5040   DEBUG: XBPyThread::Process - The source file to load is C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv\default.py
00:40:45 T:5040   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv;C:\Users\usern​ame\Ap?pData\Roaming\XBMC\addons\script.module.xbmcswift\lib;C:\Users\username\A​ppData\Roa?ming\XBMC\addons\script.module.t0mm0.common\lib;C:\Users\username\App​Data\Roaming\X?BMC\addons\script.module.stream.resolver\lib;C:\Users\username\Ap​pData\Roaming\XBMC?\addons\script.module.simplejson\lib;C:\Users\username\AppDat​a\Roaming\XBMC\addons\?script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\username\AppData\Roaming\XBMC\a​ddo?ns\script.common.plugin.cache\lib;C:\Users\username\AppData\Roaming\XBMC\add​ons\scr?ipt.module.simple.downloader\lib;C:\Users\username\AppData\Roaming\XBMC\​addons\scri?pt.module.urlresolver\lib;C:\Users\username\AppData\Roaming\XBMC\add​ons\script.modu?le.parsedom\lib;C:\Users\username\AppData\Roaming\XBMC\addons\sc​ript.module.element?tree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Users\username\AppData\Roaming\X​BMC?\addons\script.module.metahandler\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
00:40:45 T:5040   DEBUG: XBPyThread::Process - Entering source directory C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv
00:40:45 T:5040   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.age_tv" dependent on version 1.0 of the xbmc.python api
00:40:45 T:5040   ERROR: C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv\resources\ooya​la\?utils\Common.py:2: DeprecationWarning: the md5 module is deprecated; use hashlib instead
                                              import md5
00:40:45 T:5040    INFO: -->Python script returned the following error<--
00:40:45 T:5040   ERROR: Error Type: <type 'exceptions.ImportError'>
00:40:45 T:5040   ERROR: Error Contents: No module named crypto.cipher.aes_cbc
00:40:45 T:5040   ERROR: Traceback (most recent call last):
                                              File "C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv\default.py", line 8, in <module>
                                                import resources.scraper
                                              File "C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv\resources\scra​per?.py", line 5, in <module>
                                                from resources.ooyala.ooyalaCrypto import ooyalaCrypto
                                              File "C:\Users\username\AppData\Roaming\XBMC\addons\plugin.video.age_tv\resources\ooya​la\?ooyalaCrypto.py", line 10, in <module>
                                                from crypto.cipher.aes_cbc import AES_CBC
                                            ImportError: No module named crypto.cipher.aes_cbc
00:40:45 T:5040    INFO: -->End of Python script error report<--
00:40:45 T:5040    INFO: Python script stopped
00:40:45 T:5040   DEBUG: Thread XBPyThread 5040 terminating
00:40:45 T:1844   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
00:40:45 T:1844   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.age_tv
00:40:45 T:1844   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.age_tv) failed

█▀ ▄▀▄ ▄▀▀ ▀█▀ █▀▄ █─█ █▄─▄█ █▀▄
█▀ █▀█ ─▀▄ ─█─ █─█ █─█ █─█─█ █─█
▀─ ▀─▀ ▀▀─ ─▀─ ▀▀─ ─▀─ ▀───▀ █▀─
XBMC Frodo ← Win 7 ← ZBOX HD-N22
find quote
Post Reply