2013-02-16, 14:45
@Lance, same setup working for me, what country do you live in?
(2013-02-16, 14:45)spyder Wrote: @Lance, same setup working for me, what country do you live in?
(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.just read your instruction, and works great! Thanks a lot. I do hope the official plugin would update though.
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:
(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.
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