Skip to content

Commit

Permalink
add some fanart
Browse files Browse the repository at this point in the history
  • Loading branch information
yfang1644 committed Apr 30, 2017
1 parent ef4926b commit 8b8e55c
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 284 deletions.
Binary file modified plugin.video.funshion/plugin.video.funshion-1.1.1.zip
Binary file not shown.
Binary file modified plugin.video.pptv/plugin.video.pptv-1.2.11.zip
Binary file not shown.
Binary file modified plugin.video.qiyi/plugin.video.qiyi-2.2.8.zip
Binary file not shown.
Binary file modified plugin.video.qq/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plugin.video.qq/plugin.video.qq-1.0.2.zip
Binary file not shown.
Binary file modified plugin.video.sohuvideo/plugin.video.sohuvideo-2.4.8.zip
Binary file not shown.
Binary file modified plugin.video.tudou/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plugin.video.tvonline/plugin.video.tvonline-1.0.0.zip
Binary file not shown.
335 changes: 58 additions & 277 deletions plugin.video.youku2/default.py

Large diffs are not rendered by default.

Binary file modified plugin.video.youku2/plugin.video.youku2-1.0.0.zip
Binary file not shown.
19 changes: 12 additions & 7 deletions plugin.video.youkutv/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -2062,10 +2062,13 @@ def play(vid, playContinue=False):
ep = movdat['security']['encrypt_string']
sid, token = youkuDecoder().get_sid(ep)

limit = ''
for no in range(len(segs)):
k = segs[no]['key']
if k == -1:
limit = '[限播]'
break
fileid = segs[no]['fileid']
assert k != -1
ep = youkuDecoder().generate_ep(fileid, sid, token)
q = urllib.urlencode(dict(
ctype = 12,
Expand All @@ -2091,19 +2094,21 @@ def play(vid, playContinue=False):
vc.start(urls)
port = vc.get_port()
assert(port != 0)
listitem = xbmcgui.ListItem(movdat['video']['title'])
listitem.setInfo(type="Video", infoLabels={"Title": movdat['video']['title']})
title = limit + movdat['video']['title']
listitem = xbmcgui.ListItem(title)
listitem.setInfo(type="Video", infoLabels={"Title": title})
playlist.add('http://127.0.0.1:%d' % port, listitem)
elif settings_data['play_type'][settings['play']] == 'list':
for i in range(len(urls)):
title = movdat['video']['title'] + u" - 第"+str(i+1)+"/"+str(len(urls)) + u"节"
title = limit + movdat['video']['title'] + u" - 第"+str(i+1)+"/"+str(len(urls)) + u"节"
listitem = xbmcgui.ListItem(title)
listitem.setInfo(type="Videao", infoLabels={"Title": title})
listitem.setInfo(type="Video", infoLabels={"Title": title})
playlist.add(urls[i], listitem)
else:
playurl = 'stack://' + ' , '.join(urls)
listitem = xbmcgui.ListItem(movdat['video']['title'])
listitem.setInfo(type="Video", infoLabels={"Title": movdat['video']['title']})
title = limit + movdat['video']['title']
listitem = xbmcgui.ListItem(title)
listitem.setInfo(type="Video", infoLabels={"Title": title})
playlist.add(playurl, listitem)
except:
xbmc.executebuiltin("Dialog.Close(busydialog)")
Expand Down

0 comments on commit 8b8e55c

Please sign in to comment.