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 - spyder - 2013-02-16

@Lance, same setup working for me, what country do you live in?


RE: [RELEASE] Free Cable - US station aggregator - coolasice - 2013-02-17

(2013-02-16, 14:45)spyder Wrote: @Lance, same setup working for me, what country do you live in?

are you using portable mode? (-p)? I found it does not work in portable mode for me.


RE: [RELEASE] Free Cable - US station aggregator - ailingcoot - 2013-02-17

(2013-02-12, 00:39)vernonjvs Wrote: The following are changes generated by the unix diff -u command against the Bluecop versions which fix various issues for me. Use at your own risk. Note that the minus sign at the beginning of a line denotes lines to be deleted. A plus sign at the beginning of a line denotes lines to be added.

Note that it is a good idea to back up the files distributed by Bluecop before making any changes. Example:

cp nbc.py nbc.py.bluecop

Jimmy Fallon fix.
Code:
--- nbc.py
+++ nbc.py
@@ -81,7 +81,8 @@
             mode = 'showsubClips'
         for link in set.findAll('a'):
             name = link.string.strip()
-            url = BASE+link['href'].split('?')[0]+'?view=detail'
+            # url = BASE+link['href'].split('?')[0]+'?view=detail'
+            url = url[0:url.rfind('/')]+link['href'].split('?')[0]+'?view=detail'
             common.addDirectory(name, 'nbc', mode, url)
     common.setView('seasons')


Modern Family fix
Code:
--- abc.py
+++ abc.py
@@ -182,7 +182,7 @@
     platpath=False
     for filename in filenames:
         if filename['src'] <> '':
-            bitrate = int(filename['bitrate'])
+            bitrate = int(float(filename['bitrate']))
             if bitrate > hbitrate and bitrate <= sbitrate:
                 hbitrate = bitrate
                 playpath = filename['src']


CBS and Craig Ferguson fix. Note that this fix includes my earlier posted CBS fix so be careful if you have already applied by previous CBS changes.
Code:
---  cbs.py
+++  cbs.py
@@ -60,9 +60,10 @@
     menu=tree.find(attrs={'id' : 'daypart_nav'})
     categories=menu.findAll('a')
     for item in categories:
-        catid = item['onclick'].replace("showDaypart('",'').replace("');",'')
-        name = catid.title()
-        common.addDirectory(name, 'cbs', 'shows', catid)
+        if item['href'].find('javascript') == 0:
+           catid = item['onclick'].replace("showDaypart('",'').replace("');",'')
+           name = catid.title()
+           common.addDirectory(name, 'cbs', 'shows', catid)
     common.setView('seasons')

def shows(catid = common.args.url):
@@ -84,6 +85,8 @@
                     url = url.replace('daytime/lets_make_a_deal','shows/lets_make_a_deal')
                 elif 'cbs_evening_news/video/' in url:
                     url = 'http://www.cbs.com/shows/cbs_evening_news/video/'
+                elif 'late_night/late_late_show/video/' in url:
+                    url = 'http://www.cbs.com/shows/late_late_show/video/'
                 elif 'shows/dogs_in_the_city/' in url:
                     url+='video/'
                 elif '/shows/partners/' in url:
just read your instruction, and works great! Thanks a lot. I do hope the official plugin would update though.


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

If anyone can figure out how to fix the MTV and Nickelodeon add ons, would be greatly appreciated!

(2013-02-17, 14:56)ailingcoot Wrote: just read your instruction, and works great! Thanks a lot. I do hope the official plugin would update though.

I think BlueCop would have to add the changes to his repo would he not? Unless someone else can.


RE: [RELEASE] Free Cable - US station aggregator - k1m0s - 2013-02-19

Hey BlueCop, I am getting Script Failed only when selecting Savage Family Diggers on Spike. HERE is my log.


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

I am trying to move all the code to github where collaboration will be easier. I am still figuring out how to translate the SVN history and separate the individual plug-in code. I committed a complete repo with svn history here on github. Git allows anyone to fork and submit pull requests for any plug-in code. It doesn't require me as a gatekeeper to the SVN.

If anyone wants commit rights on the svn repo in the short term for committing fixes then send me a pm.

My time is currently limited because I am focusing on learning skills for a new job. Hopefully expanding my knowledge will benefit the plugins in the future.


RE: [RELEASE] Free Cable - US station aggregator - djfourmoney - 2013-02-19

Is it possible for you to add Speed 2 to Free Cable? Thanks


RE: [RELEASE] Free Cable - US station aggregator - ailingcoot - 2013-02-19

@BlueCop
Thanks a lot. Bluecop , you already created a number of wonderful plugins.Smile
Hope somebody could take over the maintenance for all the plugins when you're busy.

I did have one question though: last time someone said that you updated the librtmp.so for your girlfriend to enable HULU plugin? will that file revert to the old version? How to disable that rolling back on android devices?


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

Can someone please provide a link for the fixed abc/nbc.py files.


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

When I want to play some sitcoms i get a script errors e.g. cbs - big bang or abc family - modern family. I'm using a proxy server.


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

I committed the fixes vernonjvs posted for CBS, NBC, and ABC.


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

Looks like Bluecop incorporated my change for resources/lib/_common.py. It needs one fix, a try/except block when parsing the args. On Windows (don't know about other platforms) I'm sometimes seeing the args list contain an empty string element, which the split chokes on.

Code:
class _Info:
    def __init__(self, s):
        args = urllib.unquote_plus(s).split('&')
        for x in args:
            try:
                (k,v) = x.split('=', 1)
                setattr(self, k, v.strip('"\''))
            except:
                pass



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

Narbat: you are correct. I was testing your patch and committed it unintentionally. I actually reverted the change when I realized. I will try to incorporate it correctly. Thanks for posting the changes.


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

BlueCop - any idea why Nickelodeon and MTV no longer work?


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

@BlueCop,

Is it possible to add 60 Minutes on CBS again? It went through a major change and the episode list is not getting updated anymore.

http://www.cbsnews.com/60-minutes/

Regards.