CTV (+Comedy Network) No Longer Working After Site Redesigns
Opened this issue · 4 comments
Script fails on accessing "CTV". Assuming this is due to CTV.ca website changes (CTV Go).
edit: Same issue occurring for the The Comedy Network
Canada On-Demand 0.8.5
XBMC 12.2 Windows
looks like watch.ctv.ca has been retied
it redirects to http://www.ctv.ca/video so maybe just a case of different server
Several other related channels are also broken (on 0.8.6) including Comedy, Space and BNN. They just error out with a script failure when you click on the channel. They all have "watch.xxx.xxx" URLs that (on a browser) redirect to different domains. i.e. watch.spacecast.com/AJAX/ redirects to www.space.ca/video.aspx
Also, on CTV news, I tried to watch the most recent Toronto and Montreal newscasts, and (instead) got old broadcasts from elsewhere, including a Manitoba newscast from several years ago. Top story was a Royal visit.
I'm not entirely sure it makes sense to add here... the subject on this five-month old thread perfectly describes a problem I just started having 2 or 3 weeks ago. Come to think of it, I was using an older version of the plugin until recently, so maybe newer ones were more prone to the breakage.
Be that as it may, I've looked at the debug log, but don't see anything obvious to dig into more. I am intrigued, however, by the http://api.yousee.tv/ address in the following snippet. Anyone know about that? It appear to be some Danish site I can't read.
14:21:01 T:5256 NOTICE: Invoking URL: http://api.yousee.tv/rest/tvguide/programs/tvdate/2014-04-27/channel_id/1/format/json
14:21:01 T:6864 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:21:02 T:3568 ERROR: DEBUG:root:Constructed Plugin {'querystring': 'Icon=C%3a%5cProgram%20Files%20(x86)%5cXBMC%5caddons%5cplugin.video.canada.on.demand-master%5cresources%5cimages%5cchannels%5ccomedynetwork.png&Thumb=C%3a%5cProgram%20Files%20(x86)%5cXBMC%5caddons%5cplugin.video.canada.on.demand-master%5cresources%5cimages%5cchannels%5ccomedynetwork.png&Title=Full%20Episodes&action=browse_season&channel=comedynetwork&remote_url=None&season_id=212&show_id=855&use_rtmp=0', 'db_conn': <sqlite3.Connection object at 0x0C5BB820>, 'args': {'show_id': '855', 'use_rtmp': '0', 'Title': 'Full Episodes', 'season_id': '212', 'remote_url': None, 'action': 'browse_season', 'Icon': 'C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\resources\images\channels\comedynetwork.png', 'channel': 'comedynetwork', 'Thumb': 'C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\resources\images\channels\comedynetwork.png'}, 'handle': 1, 'script_url': 'plugin://plugin.video.canada.on.demand/'}
14:21:02 T:3568 NOTICE: .
14:21:02 T:3568 ERROR: DEBUG:root:Fetching: http://watch.thecomedynetwork.ca/AJAX/VideoLibraryContents.aspx?GetChildOnly=true&PanelID=3&SeasonID=212&ForceParentShowID=855
14:21:02 T:3568 NOTICE: .
14:21:02 T:5256 NOTICE: Invoking URL: http://api.yousee.tv/rest/tvguide/programs/tvdate/2014-04-27/channel_id/2/format/json
14:21:03 T:864 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
14:21:03 T:3568 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\default.py", line 494, in
plugin()
File "C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\default.py", line 459, in call
return chan()
File "C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\channel.py", line 122, in call
return action_method()
File "C:\Program Files (x86)\XBMC\addons\plugin.video.canada.on.demand-master\channels\ctv.py", line 72, in action_browse_season
data['episode_id'] = a['id'][8:]
TypeError: 'NoneType' object is unsubscriptable
-->End of Python script error report<--
14:21:04 T:3568 INFO: Python script stopped
14:21:04 T:3568 DEBUG: Thread XBPyThread 3568 terminating
14:21:04 T:2984 NOTICE: Dummy-2 movie_recco count:0
14:21:04 T:2984 NOTICE: Dummy-2 episode_recco count:0
14:21:04 T:5256 NOTICE: Invoking URL: http://api.yousee.tv/rest/tvguide/programs/tvdate/2014-04-27/channel_id/504/format/json