Vimeo Add-on is broken, play with Youtube-DL
This commit is contained in:
parent
5c1f348d36
commit
d413338612
1 changed files with 11 additions and 3 deletions
|
@ -254,6 +254,14 @@ def play(url):
|
|||
idVideo = entry['purl']
|
||||
ytdl = YDStreamExtractor.getVideoInfo(idVideo)
|
||||
playback_url = ytdl.streamURL()
|
||||
else:
|
||||
if "vimeo" in entry['provider']:
|
||||
# quick hard coded workaround
|
||||
xbmc.log(msg="vimeo addon is broken, playing with ytdl", level=xbmc.LOGNOTICE)
|
||||
import YDStreamExtractor
|
||||
idVideo = entry['purl']
|
||||
ytdl = YDStreamExtractor.getVideoInfo(idVideo)
|
||||
playback_url = ytdl.streamURL()
|
||||
else:
|
||||
# without youtube_dl
|
||||
xbmc.log(msg="without ytdl", level=xbmc.LOGDEBUG)
|
||||
|
|
Loading…
Reference in a new issue