Kodi Community Forum
[RELEASE] Canada On Demand (Successor to CTV Properties) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Canada On Demand (Successor to CTV Properties) (/showthread.php?tid=97262)



RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - Warner306 - 2014-02-25

The CBC streams have stop working. I can get all the way to the most recent episodes ("The Nature of Things" up to the week prior to Olympics, for example) but the shows will not load. "Script Failed" is the culprit. Other channels still appear to be working.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - CapFlu - 2014-02-25

(2014-02-25, 07:04)Warner306 Wrote: The CBC streams have stop working. I can get all the way to the most recent episodes ("The Nature of Things" up to the week prior to Olympics, for example) but the shows will not load. "Script Failed" is the culprit. Other channels still appear to be working.

I'm getting the same message on my Pivos.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - mr.bigglseworth - 2014-02-25

(2014-02-25, 07:04)Warner306 Wrote: The CBC streams have stop working. I can get all the way to the most recent episodes ("The Nature of Things" up to the week prior to Olympics, for example) but the shows will not load. "Script Failed" is the culprit. Other channels still appear to be working.

Yes they seem to have changed all of their videos last weekend. My xbmc log file says this:
Code:
07:46:48 T:4617367552  NOTICE: -->Python Interpreter Initialized<--
07:46:48 T:4617367552   ERROR: /Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/default.py:3: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import sha
07:46:48 T:4617367552   ERROR: WARNING:root:RELURL: http://cbc.feeds.theplatform.com/ps/JSON/PortalService/2.2/getReleaseList?PID=_DyE_l_gC9yXF9BvDQ4XNfcCVLS4PQij&field=title&field=PID&field=ID&field=description&field=categoryIDs&field=thumbnailURL&field=URL&field=airdate&field=length&field=bitrate&sortField=airdate&sortDescending=true&startIndex=1&endIndex=100
07:46:48 T:4617367552  NOTICE: .
07:46:50 T:4381478912  NOTICE: Thread Background Loader start, auto delete: false
07:46:52 T:4468424704  NOTICE: Thread XBPyThread start, auto delete: false
07:46:52 T:4468424704  NOTICE: -->Python Interpreter Initialized<--
07:46:52 T:4468424704   ERROR: /Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/default.py:3: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import sha
07:46:52 T:4625285120  NOTICE: Thread XBPyThread start, auto delete: false
07:46:52 T:4625285120  NOTICE: -->Python Interpreter Initialized<--
07:46:52 T:4468424704   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: theplatform len(items) should be 1
                                            Traceback (most recent call last):
                                              File "/Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/default.py", line 494, in <module>
                                                plugin()
                                              File "/Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/default.py", line 459, in __call__
                                                return chan()
                                              File "/Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/channel.py", line 122, in __call__
                                                return action_method()
                                              File "/Users/theuser/Library/Application Support/XBMC/addons/plugin.video.canada.on.demand/channels/theplatform.py", line 273, in action_play_episode
                                                if len(items) != 1: raise RuntimeError('theplatform len(items) should be 1')
                                            RuntimeError: theplatform len(items) should be 1
                                            -->End of Python script error report<--
07:46:52 T:140735214310160   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.canada.on.demand/?Plot=Famed+gold+medalist%2C+Ross+Rebagliati+joins+the+22+Minutes+cast+for+a+countdown+to+the+Sochi+Olympics%2C+and%2C+newly-orphaned+Liberal+Senators+cry+out+for+attention.&Thumb=http%3A%2F%2Fthumbnails.cbc.ca%2Fmaven_legacy%2Fthumbnails%2F14%2F689%2FThis_Hour_Has_22_Minutes_S21E14_2014-02-04.jpg&Title=Episode+14&action=play_episode&entry_id=2434942128&bitrate=2557&remote_url=http%3A%2F%2Frelease.theplatform.com%2Fcontent.select%3Fpid%3D3gK7jA8YUye_mrlSTgX2nngsbzl9Mc42%26UserName%3DUnknown%26Embedded%3DTrue%26Portal%3DAll%2520Content%26Tracking%3DTrue&remote_PID=3gK7jA8YUye_mrlSTgX2nngsbzl9Mc42&medialen=1315062&Date=04.02.2014&channel=cbc&Icon=http%3A%2F%2Fthumbnails.cbc.ca%2Fmaven_legacy%2Fthumbnails%2F14%2F689%2FThis_Hour_Has_22_Minutes_S21E14_2014-02-04.jpg]
07:46:52 T:4468424704  NOTICE: Thread Background Loader start, auto delete: false
07:47:54 T:4562370560 WARNING: FillBuffer: curl failed with code 28
07:47:54 T:4562370560 WARNING: FillBuffer: Reconnect, (re)try 1
07:48:38 T:4562370560 WARNING: FillBuffer: curl failed with code 28
07:48:38 T:4562370560 WARNING: FillBuffer: Reconnect, (re)try 1
07:49:31 T:4562370560 WARNING: FillBuffer: curl failed with code 28
07:49:31 T:4562370560 WARNING: FillBuffer: Reconnect, (re)try 1
07:50:28 T:4508246016  NOTICE: Thread Jobworker start, auto delete: true



RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - zxarr - 2014-03-03

Anyone else having an issue with CTV? I get an immediate error:

Code:
20:18:06 T:3025140544  NOTICE: -->Python Interpreter Initialized<--
20:18:08 T:3025140544   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'find'
                                            Traceback (most recent call last):
                                              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/default.py", line 494, in <module>
                                                plugin()
                                              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/default.py", line 459, in __call__
                                                return chan()
                                              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/channel.py", line 122, in __call__
                                                return action_method()
                                              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/channels/ctv.py", line 25, in action_root
                                                ul = soup.find('div', {'id': 'Level1'}).find('ul')
                                            AttributeError: 'NoneType' object has no attribute 'find'
                                            -->End of Python script error report<--
20:18:08 T:3077351936   ERROR: GetDirectory - Error getting plugin://plugin.video.canada.on.demand/?Icon=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fctv.png&Thumb=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fctv.png&Title=CTV&action=root&channel=ctv&remote_url=None&use_rtmp=0
20:18:08 T:3077351936   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.canada.on.demand/?Icon=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fctv.png&Thumb=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fctv.png&Title=CTV&action=root&channel=ctv&remote_url=None&use_rtmp=0) failed
20:18:08 T:3025140544  NOTICE: Thread XBPyThread start, auto delete: false



RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - Warner306 - 2014-03-06

Is anyone working on updating this plugin? I already miss not having any CBC news show streams.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - icharania - 2014-03-06

(2014-03-06, 00:14)Warner306 Wrote: Is anyone working on updating this plugin? I already miss not having any CBC news show streams.

Someone provided a fix for CBC.

I've updated the Canada On Demand xbmc repo from Marius' github so that should update it automatically for you.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - mr.bigglseworth - 2014-03-06

(2014-03-06, 08:26)icharania Wrote: Someone provided a fix for CBC.

I've updated the Canada On Demand xbmc repo from Marius' github so that should update it automatically for you.

Thanks Someone- this is much appreciated by our family.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - RavRob - 2014-03-06

(2014-03-06, 08:26)icharania Wrote:
(2014-03-06, 00:14)Warner306 Wrote: Is anyone working on updating this plugin? I already miss not having any CBC news show streams.

Someone provided a fix for CBC.

I've updated the Canada On Demand xbmc repo from Marius' github so that should update it automatically for you.

Thanks a ton for keeping this alive. I have the Gotham Beta 1 installed and it shows that an update is available but it will not download. It says dependencies not met when ever I try to download.

Maybe it is not Gotham ready?

Thanks

PS. I clicked on the links on the first post but it can not find the zip on github.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - Warner306 - 2014-03-07

I got the addon to update, but I had to re install it. I believe the problem might be that it still reads version 0.8.5, same as before. I don't believe it auto-updated. As stated, I had to delete the addon and install it from github.

Thanks for the quick response, though. I use it all the time.

This is the github page for those that can't find it. The link on the first page is not the correct address:

https://github.com/marius-muja/plugin.video.canada.on.demand


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - RavRob - 2014-03-07

Tx Warner306. Much appreciated.
What do I download from there? I have no idea. I can't see any zip file or plugin as I know it.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - pdops - 2014-03-07

RavBob look for the 'Download ZIP' button at the bottom on the right margin of the page.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - RavRob - 2014-03-07

Wow I must have been totally blind. Thanks brother. Got it now.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - icharania - 2014-03-07

(2014-03-06, 23:41)RavRob Wrote: Thanks a ton for keeping this alive. I have the Gotham Beta 1 installed and it shows that an update is available but it will not download. It says dependencies not met when ever I try to download.

Maybe it is not Gotham ready?

Thanks

PS. I clicked on the links on the first post but it can not find the zip on github.

The update for Gotham breaks support for Eden, which it seems people still use
(line 4 in addon.xml needs to be changed to version="2.1.0")

The update is in Marius' Github, but I didn't put it in the repo. I figure I'd update that part when Gotham is out of Beta.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - RavRob - 2014-03-07

Thanks icharania. The addon works but still has many broken channels as in prior versions. Hopefully it will be fully updated with fixes to the broken parts for the Gotham Final versin.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - mrclisdue - 2014-03-08

Heaps of thanks icharania, marius, and others who contribute to this plugin; the cbc aspect is like crack to me.

cheers,