Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur ./default.py /home/mythtv/.xbmc/addons/plugin.video.jtv.archives/default.py
- --- ./default.py 2012-03-15 17:48:40.000000000 +1000
- +++ /home/mythtv/.xbmc/addons/plugin.video.jtv.archives/default.py 2012-04-07 10:05:26.927912305 +1000
- @@ -332,7 +332,7 @@
- def playLive(name, play=False):
- headers = {'User-agent' : 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0',
- 'Referer' : 'http://www.justin.tv/'+name}
- - url = 'http://usher.justin.tv/find/'+name+'.json?type=live'
- + url = 'http://usher.justin.tv/find/'+name+'.json?type=live&channel_subscription=&group='
- data = json.loads(get_request(url,headers))
- if data == []:
- if debug == 'true':
- @@ -345,7 +345,7 @@
- except:
- if debug == 'true':
- print '---- User Token Error ----'
- - xbmc.executebuiltin("XBMC.Notification(Jtv,User Token Error - This channel may be privte.,5000,"+ICON+")")
- + xbmc.executebuiltin("XBMC.Notification(Jtv,User Token Error - This channel may be private.,5000,"+ICON+")")
- return
- rtmp = data[0]['connect']+'/'+data[0]['play']
- swf = ' swfUrl=%s swfVfy=1' % getSwfUrl(name)
- @@ -697,4 +697,4 @@
- print ""
- remove_search(name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement