Release Version 0.9.9
play with new Vimeo Add-on from jaylinski if it's available and otherwise fallback to youtube-dl
This commit is contained in:
parent
4ba6096b9b
commit
f0628a967a
3 changed files with 16 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="plugin.video.vidfltr" name="VIDFLTR Music Videos" version="0.9.8" provider-name="bassdart">
|
||||
<addon id="plugin.video.vidfltr" name="VIDFLTR Music Videos" version="0.9.9" provider-name="bassdart">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="2.1.0"/>
|
||||
<import addon="script.module.kodi-six" />
|
||||
|
@ -30,7 +30,9 @@
|
|||
<clearlogo>resources/img/kodi/clearlogo.png</clearlogo>
|
||||
<screenshot></screenshot>
|
||||
</assets>
|
||||
<news>0.9.8
|
||||
<news>0.9.9
|
||||
- play with new Vimeo Add-on from jaylinski if it's available and otherwise fallback to youtube-dl
|
||||
0.9.8
|
||||
- add folder display settings
|
||||
- add random musly list folder
|
||||
- add incoming / incoming hits folder
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
0.9.9
|
||||
- play with new Vimeo Add-on from jaylinski if it's available and otherwise fallback to youtube-dl
|
||||
0.9.8
|
||||
- add folder display settings
|
||||
- add random musly list folder
|
||||
|
|
|
@ -281,8 +281,12 @@ def play(url):
|
|||
playback_url = ytdl.streamURL()
|
||||
else:
|
||||
if "vimeo" in entry['provider']:
|
||||
if xbmc.getCondVisibility("System.HasAddon(plugin.video.vimeo)") and int((xbmcaddon.Addon("plugin.video.vimeo").getAddonInfo("version").strip().replace(".",""))) >= 500:
|
||||
xbmc.log(msg="using the new Vimeo addon from jaylinski", level=xbmc.LOGNOTICE)
|
||||
playback_url = entry['url']
|
||||
else:
|
||||
# quick hard coded workaround
|
||||
xbmc.log(msg="vimeo addon is broken, playing with ytdl", level=xbmc.LOGNOTICE)
|
||||
xbmc.log(msg="old vimeo addon is broken, playing with ytdl. Please install the new jaylinski Vimeo Addon from the official KODI Repo", level=xbmc.LOGNOTICE)
|
||||
import YDStreamExtractor
|
||||
idVideo = entry['purl']
|
||||
ytdl = YDStreamExtractor.getVideoInfo(idVideo)
|
||||
|
|
Loading…
Reference in a new issue