blgrnt1 / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

plugin compatibility with XBMC4XBOX #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Any ideas how to get this to work with Python 2.4.6 on XBOX version of XBMC?

If I remove all the lines to do with 
"and (xbmcplugin.getSetting(pluginhandle,"quality") == '0')"

It will play, but it stitches all the different quality streams together so I 
get three versions of every segment.

Here's the error given using the unaltered code:

13:01:40 M: 22261760   ERROR: Error Type: exceptions.TypeError
13:01:40 M: 22261760   ERROR: Error Contents: function takes exactly 1 argument 
(2 given)
13:01:40 M: 22257664   ERROR: Traceback (most recent call last):
                                              File "Q:\plugins\video\SpikeTV\default.py", line 181, in ?
                                                VIDEOLINKS(url,name)
                                              File "Q:\plugins\video\SpikeTV\default.py", line 90, in VIDEOLINKS
                                                if '_1200.flv' in link and (xbmcplugin.getSetting(pluginhandle,"quality") == '0'):
                                            TypeError: function takes exactly 1 argument (2 given)

Original issue reported on code.google.com by joe.che...@gmail.com on 26 Oct 2010 at 8:13

GoogleCodeExporter commented 8 years ago
you could just search and replace "xbmcplugin.getSetting(pluginhandle," for 
"xbmcplugin.getSetting(" and it should work. I have been meaning to add the 
addoncompat.py to translate for all the plugins to work with xbmc4xbox. right 
now only hulu uses it.

Original comment by bluecop...@gmail.com on 1 Nov 2010 at 10:01

GoogleCodeExporter commented 8 years ago
Awesome, thanks alot! Works perfectly now. I would love to see some Canadian 
specific plugins since HULU, CBS, ABS, NBC etc. all block access from Canada. I 
am willing to help out if you can give me any tips or point me to any howto 
guides.

The main streaming sites in Canada are:

CBC  http://www.cbc.ca/television/
CTV  http://shows.ctv.ca/
GlobalTV  http://www.globaltv.com/shows/
CityTV  http://www.citytv.com/
Discovery  http://www.discoverychannel.ca/
Space  http://www.spacecast.com/
Comedy Network http://www.thecomedynetwork.ca/

Original comment by joe.che...@gmail.com on 2 Nov 2010 at 12:18

GoogleCodeExporter commented 8 years ago
I would suggest posting requests on the python support forum.

Original comment by bluecop...@gmail.com on 2 Nov 2010 at 12:22

GoogleCodeExporter commented 8 years ago

Original comment by bluecop...@gmail.com on 12 Jan 2011 at 11:26

GoogleCodeExporter commented 8 years ago
I cannot get bluecop to work on my amazon fire tv stick. When I search for 
video plugins it is not there. Please help. I am trying to install free cable 
and cannot until this is fixed.

Original comment by mn158...@gmail.com on 10 Jan 2015 at 5:03