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) - iLLNESS - 2013-05-11

so on openelec on my raspberry pi, everything seems to be working (that i want) except for hockey night in canada. it loads the stream then just quits.

heres my log
http://pastebin.com/fHzzdDB0

any ideas? this was from a clean install with the latest master from marius


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - iLLNESS - 2013-05-11

(2013-05-09, 02:20)micahg Wrote: I'm thinking its a problem with RTMP (probably librtmp, not the CBC?) because I'm having it too. However, I'm fortunate enough that if I try it a few times eventually it gets going.

doesnt seem to make a difference for me. i tried about 20 times all failed. all while my xios plays first time everytime (previously wasnt working but seemed to have fixed itself).
only difference i can see is the xios uses dvdplayer as default and rpi/openelec uses oxmplayer.. dvdplayer couldnt play the stream either on the rpi though.

any rpi users here have any success with openelec xbmc build and hockey night in canada with this plugin?


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - P8ntBal1551 - 2013-05-11

Reading through these it seems like there is a couple people who can't watch anything. I am the same. I believe it has to do with a version incompatibility. I don't think the dev has updated it for XBMC 12.1, so either be patient or downgrade.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - iLLNESS - 2013-05-13

(2013-05-11, 22:30)P8ntBal1551 Wrote: Reading through these it seems like there is a couple people who can't watch anything. I am the same. I believe it has to do with a version incompatibility. I don't think the dev has updated it for XBMC 12.1, so either be patient or downgrade.

i dont think thats the issue entirely.

steps to take:
delete your current xbmc build
clear your xbmc data (different for each OS)
download the latest stable release (12.2) for your OS of choice
grab the latest canada on demand (https://github.com/marius-muja/plugin.video.canada.on.demand)
install plugin. test.

this ensures a clean install, with 12.2. i can vouch that 12.2 is compatible with this plugin on pcs but other devices not so much. my xios works, my osx works, my win7 works, but my raspberry pi does not.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - micahg - 2013-05-13

(2013-05-13, 03:14)iLLNESS Wrote: xios works, my osx works, my win7 works, but my raspberry pi does not.

Might be that you are just missing beautiful soup on the pi. Speaking of which, what is the official way to obtain it?


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - iLLNESS - 2013-05-13

(2013-05-13, 03:28)micahg Wrote:
(2013-05-13, 03:14)iLLNESS Wrote: xios works, my osx works, my win7 works, but my raspberry pi does not.

Might be that you are just missing beautiful soup on the pi. Speaking of which, what is the official way to obtain it?

soup?


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - micahg - 2013-05-13

Beautiful Soup is a script the plugin depends on. Its a python module that (as I understand it) makes malformed XML (eg: HTML) well-formed. Or something like that. Anyway, I noticed that when pulling from Git I had errors in the log until I installed the XBMC beautfiul soup component (script.module.beautifulsoup). Normally I just google around for the XBMC release and wget it from a random mirror. Not sure where or how to get it officially, which I would have though was possible since I think its an official addon.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - DJ_Izumi - 2013-05-13

Does anybody know which ports that CTV/Discovery and other related properties stream on? I'm having QoS issues on my router with streaming them while other downloads are going, I have ports 80 and 443 set to high priority, but it doesn't seem to influence CTV or Discovery so I'm guessing it's streaming on a different port. Any ideas?


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - iLLNESS - 2013-05-13

(2013-05-13, 21:18)DJ_Izumi Wrote: Does anybody know which ports that CTV/Discovery and other related properties stream on? I'm having QoS issues on my router with streaming them while other downloads are going, I have ports 80 and 443 set to high priority, but it doesn't seem to influence CTV or Discovery so I'm guessing it's streaming on a different port. Any ideas?
those two, as well try 1935. best bet is to watch your router logs or snoop traffic on your pc to see which ports its using.


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - iLLNESS - 2013-05-13

(2013-05-13, 18:19)micahg Wrote: Beautiful Soup is a script the plugin depends on. Its a python module that (as I understand it) makes malformed XML (eg: HTML) well-formed. Or something like that. Anyway, I noticed that when pulling from Git I had errors in the log until I installed the XBMC beautfiul soup component (script.module.beautifulsoup). Normally I just google around for the XBMC release and wget it from a random mirror. Not sure where or how to get it officially, which I would have though was possible since I think its an official addon.

it comes with the youtube app. ill see if this fixes the issue in 2 hours Smile

didnt seem to work. tried watching the scotia bank hnic preview and it does same thing.

heres a list of the scripts for the rpi/openelec
Code:
script.module.beautifulsoup
script.module.httplib2
script.module.parsedom
script.module.simple.downloader
script.module.simplejson

and here is a list of the scripts for my xios
Code:
script.module.beautifulsoup/
script.module.httplib2/
script.module.parsedom/
script.module.simple.downloader/

and here is my osx
Code:
script.module.beautifulsoup
script.module.buggalo
script.module.parsedom
script.module.simple.downloader
all works except for rpi. so, anything else i can try?


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - zxarr - 2013-05-15

I'm suddenly having an issue with Global TV. Anyone else having this issue? Did global change their site layout?

Code:
21:57:29 T:139876456449792  NOTICE: -->Python Interpreter Initialized<--
21:57:31 T:139876456449792   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
            Error Type: <type 'exceptions.IndexError'>
            Error Contents: list index out of range
            Traceback (most recent call last):
              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/default.py", line 491, in <module>
                plugin()
              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/default.py", line 456, 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/theplatform.py", line 170, in action_root
                categories = self.get_categories(parent_id)# and root=true
              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/channels/theplatform.py", line 77, in get_categories
                categories = self.get_child_categories(categories, parent_id)
              File "/home/zxarr/.xbmc/addons/plugin.video.canada.on.demand-master/channels/canwest.py", line 39, in get_child_categories
                cat = [c for c in categorylist if c['depth'] == self.root_depth - 1][0]
            IndexError: list index out of range
            -->End of Python script error report<--
21:57:31 T:139877344651392   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%2fglobal.png&Thumb=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fglobal.png&Title=Global%20TV&action=root&channel=global&entry_id=None&force_cache_update=True
21:57:31 T:139877344651392   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.canada.on.demand/?Icon=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fglobal.png&Thumb=%2fhome%2fzxarr%2f.xbmc%2faddons%2fplugin.video.canada.on.demand-master%2fresources%2fimages%2fchannels%2fglobal.png&Title=Global%20TV&action=root&channel=global&entry_id=None&force_cache_update=True) failed



RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - sinthus - 2013-05-20

I love this addon! I was wondering if I could make a request? I like to watch EP daily and reviews on the run, and since I became a cord cutter I haven't been able to watch any of these episodes, unless it is within a web browser. Could these shows be added to the addon? The site is Canadian and I believe it would fit in well with the addon. The web site is http://www.reviewsontherun.com. Thanks for a great addon.


treehouse issue - therocket18 - 2013-05-21

For some reason I'm getting a script error when I attempt to access the treehouse portion...

Any ideas?

Actually a few script errors...
figure one at a time...

1st day newbie...
Help!!!

This program kicks some serious butt....


RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - dwueppel - 2013-05-24

I've been using this plugin for quite some time now and I've been through a few of the different versions/releases of this (ie the branches). It seems that a branch gets made and then is abandoned and some branches have things that work better than others. I was wondering what branch/version everybody was actually using?

In addition I have a fix for anybody who was having issues with Showcase not working. The problem I had was that it would play a clip for about a minute and then just stop. I looked back in the thread and a similar problem was found for Global TV. I did some investigating and found a similar fix. In any case here is the diff for the change I made.

Code:
--- canwest.py.orig     2013-05-24 09:10:48.000000000 -0400
+++ canwest.py  2013-05-24 09:10:31.000000000 -0400
@@ -169,7 +169,8 @@
     short_name = 'showcase'
     long_name = 'Showcase'
     PID = 'sx9rVurvXUY4nOXBoB2_AdD1BionOoPy'
-    swf_url = 'http://www.showcase.ca/video/swf/flvPlayer.swf  swfvfy=true'
+    swf_url = 'http://www.showcase.ca/sharedassets/static/video/swf/flvPlayer.swf swfvfy=true'
+    #swf_url = 'http://www.showcase.ca/video/swf/flvPlayer.swf  swfvfy=true'
     root_depth = 2
     def get_categories_json(self,arg):
         url = CanwestBaseChannel.get_categories_json(self,arg) + '&query=CustomText|PlayerTag|z/Showcase%20Video%20Centre' #urlencode



RE: [RELEASE] Canada On Demand (Successor to CTV Properties) - zxarr - 2013-05-26

Good day,

Odd thing; the show MasterChef is available online on CTV.ca, but does not show up in the show listing on Canada on Demand.

Anyone have an idea why?