Kodi Community Forum
[RELEASE] Free Cable - US station aggregator - 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] Free Cable - US station aggregator (/showthread.php?tid=101938)



RE: [RELEASE] Free Cable - US station aggregator - springroll - 2013-02-20

Suits on USA hasn't updated with the latest episodes for a few weeks now. Does it mean a fix for USA is also needed?

I don't believe it's a problem with my internet connection as it's not happening with other stations within Free Cable, so it must be isolated with ABC; there seems to be consistently a buffering issue when watching shows on ABC. Anybody else experiencing the same issue?


RE: [RELEASE] Free Cable - US station aggregator - vernonjvs - 2013-02-20

(2013-02-20, 01:17)BlueCop Wrote: I committed the fixes vernonjvs posted for CBS, NBC, and ABC.

Thanks for all your work. It looks like an error has crept in to nbc.py commit

I believe the fix is as follows:
Code:
--- nbc.py
+++ nbc.py
@@ -167,7 +167,7 @@
     hbitrate = -1
     sbitrate = int(common.settings['quality']) * 1024
     for item in items:
-        bitrate = int(float(filename['bitrate']))
+        bitrate = int(float(item['system-bitrate']))
         if bitrate > hbitrate and bitrate <= sbitrate:
             hbitrate = bitrate
             playpath = item['src']



RE: [RELEASE] Free Cable - US station aggregator - coffejor - 2013-02-20

Bluecop:

I just wanted to pop in and say thanks for pushing out the newest update. It is good to see you back. I realize that supporting add-ins like these represents a ton of work all of which is a labor of love.

Just thought that I would take the time to thank you again!


RE: [RELEASE] Free Cable - US station aggregator - BlueCop - 2013-02-20

Sdpbc: I committed fixes for mtv and nick.

atv2jber: check out the cbsnew plugin for current 60 minutes episodes. cbs.com no longer hosts the new episodes it seems.

springroll: suits on usa seems to be listing the same availablity as the website. playback seems to be broken for usa though.

vernonjvs: thanks fixed that.


RE: [RELEASE] Free Cable - US station aggregator - wilee - 2013-02-20

So, first: amazing plugin.

Second: Sounds like a major effort to keep up-to-date with the likely ongoing changes to streaming web sites. I made a quick hack fix for AMC in amc.py, nothing elegant (or stable) enough to add to source:

Code:
def play(url=common.args.url):
   swfUrl = 'http://admin.brightcove.com/viewer/us20120228.1146/federatedVideoUI/BrightcovePlayer.swf'
  
   data = common.getURL(url)
   #exp_id,key = re.compile('BrightcoveHTML5PlayerChange\.init\(".+?", "(.+?)", "(.+?)"\);').findall(data)[0]
   exp_id = re.compile('myExperience(.+?)"').findall(data)[0]
   key = re.compile('playerKey" value="(.+?)"').findall(data)[0]
   content_id = re.compile('videoPlayer" value="(.+?)"').findall(data)[0]

The Walking Dead's full episodes encounter an awful stutter, which I figured was the by-product of my duct-taped amc.play(), but everything else I've tried, including non-episode content from Walking Dead and episode content from a couple others, seems to work fine. Also tried lowering bit rate, lowering screen resolution, etc. Any ideas off top of heads?


RE: [RELEASE] Free Cable - US station aggregator - moneymaker - 2013-02-20

Code:
start of FREE CABLE plugin
22:21:08 T:4612288512  NOTICE: DEBUG Entering play function
22:21:08 T:4612288512  NOTICE: FREE CABLE --> common :: getURL :: url = http://link.theplatform.com/s/dJ5BDC/qOeA0U_F0Dqc?format=SMIL&Tracking=true&mbr=true
22:21:09 T:4612288512   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'finalurl' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/default.py", line 68, in <module>
                                                modes ( )
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/default.py", line 64, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/resources/lib/cbs.py", line 507, in play
                                                item = xbmcgui.ListItem(path=finalurl)
                                            UnboundLocalError: local variable 'finalurl' referenced before assignment
                                            -->End of Python script error report<--
22:21:09 T:140735246823808   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.free.cable/?url="qOeA0U_F0Dqc"&mode="cbs"&sitemode="play"]
22:21:09 T:4612288512  NOTICE: Thread Background Loader start, auto delete: false

Thats what I get with v0.5.8 for CBS - BigBang, TAHM, ...

ABC - no playlist is listed. The Folders are empty.


RE: [RELEASE] Free Cable - US station aggregator - BlueCop - 2013-02-20

moneymaker: thanks the new argument parser was striping some parameters because it was being split before being decoded. I think I have committed a fixed this. It should fix ABC. CBS also seems to be working.


RE: [RELEASE] Free Cable - US station aggregator - jamesbe - 2013-02-21

Awesome, thanks for the update Bluecop

A&E is still broken, any update on that one?


RE: [RELEASE] Free Cable - US station aggregator - tr0nllam - 2013-02-21

I've noticed if I have pause on refresh rate change enabled, my stream will stayed paused when the refresh rate change happens and refuse to play before it eventually closes the video. Anyone know if there is a fix for this problem besides setting the pause on refresh rate change to 0.0 seconds?


RE: [RELEASE] Free Cable - US station aggregator - moneymaker - 2013-02-21

(2013-02-20, 23:52)BlueCop Wrote: moneymaker: thanks the new argument parser was striping some parameters because it was being split before being decoded. I think I have committed a fixed this. It should fix ABC. CBS also seems to be working.

ABC is fixed. Thanks.

CBS is still not working.

Code:
start of FREE CABLE plugin
18:51:26 T:4573908992  NOTICE: DEBUG Entering play function
18:51:26 T:4573908992  NOTICE: Using proxy: http://*****:3128
18:51:26 T:4573908992  NOTICE: FREE CABLE --> common :: getURL :: url = http://link.theplatform.com/s/dJ5BDC/udjqsOhRzbQT?format=SMIL&Tracking=true&mbr=true
18:51:26 T:4573908992   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 "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/default.py", line 68, in <module>
                                                modes ( )
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/default.py", line 64, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/resources/lib/cbs.py", line 482, in play
                                                data=common.getURL(url,proxy=proxy)
                                              File "/Users/*/Library/Application Support/XBMC/addons/plugin.video.free.cable/resources/lib/_common.py", line 729, in getURL
                                                response = urllib2.urlopen(req)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 126, in urlopen
                                                return _opener.open(url, data, timeout)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 391, in open
                                                response = self._open(req, data)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 409, in _open
                                                '_open', req)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 698, in <lambda>
                                                meth(r, proxy, type))
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib2.py", line 707, in proxy_open
                                                if req.host and proxy_bypass(req.host):
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib.py", line 1404, in proxy_bypass
                                                return proxy_bypass_macosx_sysconf(host)
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/urllib.py", line 1378, in proxy_bypass_macosx_sysconf
                                                mask = int(m.group(2)[1:])
                                            TypeError: 'NoneType' object is unsubscriptable
                                            -->End of Python script error report<--
18:51:26 T:140735246823808   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.free.cable/?url="udjqsOhRzbQT"&mode="cbs"&sitemode="play"]
18:51:27 T:4573908992  NOTICE: Thread Background Loader start, auto delete: false



RE: [RELEASE] Free Cable - US station aggregator - BlueCop - 2013-02-21

CBS is working fine for me.

strange the error is in urllib. Do you have a proxy enabled?


RE: [RELEASE] Free Cable - US station aggregator - Sdpbc - 2013-02-21

(2013-02-20, 21:05)BlueCop Wrote: Sdpbc: I committed fixes for mtv and nick.

Awesome, thanks BlueCop! When you say you've committed them, does that mean the fixes are committed to the Repo and my XBMC devices will automatically update with the latest?

Thx!


RE: [RELEASE] Free Cable - US station aggregator - moneymaker - 2013-02-21

(2013-02-21, 20:19)BlueCop Wrote: CBS is working fine for me.

strange the error is in urllib. Do you have a proxy enabled?

proxy is enabled, but even without proxy - same error

http://www.xbmclogs.com/show.php?id=1070

I'm not in the us


RE: [RELEASE] Free Cable - US station aggregator - Pednick - 2013-02-22

Does a pptp proxy work again, or you need to set it up a different way?


RE: [RELEASE] Free Cable - US station aggregator - Eye in the sky - 2013-02-22

I'm in Germany and CBS is working fine with proxy enabled.