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:
bassdart 2019-09-08 13:03:27 +02:00
parent 4ba6096b9b
commit f0628a967a
3 changed files with 16 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?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> <requires>
<import addon="xbmc.python" version="2.1.0"/> <import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.kodi-six" /> <import addon="script.module.kodi-six" />
@ -30,7 +30,9 @@
<clearlogo>resources/img/kodi/clearlogo.png</clearlogo> <clearlogo>resources/img/kodi/clearlogo.png</clearlogo>
<screenshot></screenshot> <screenshot></screenshot>
</assets> </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 folder display settings
- add random musly list folder - add random musly list folder
- add incoming / incoming hits folder - add incoming / incoming hits folder

View file

@ -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 0.9.8
- add folder display settings - add folder display settings
- add random musly list folder - add random musly list folder

View file

@ -281,12 +281,16 @@ def play(url):
playback_url = ytdl.streamURL() playback_url = ytdl.streamURL()
else: else:
if "vimeo" in entry['provider']: if "vimeo" in entry['provider']:
# quick hard coded workaround if xbmc.getCondVisibility("System.HasAddon(plugin.video.vimeo)") and int((xbmcaddon.Addon("plugin.video.vimeo").getAddonInfo("version").strip().replace(".",""))) >= 500:
xbmc.log(msg="vimeo addon is broken, playing with ytdl", level=xbmc.LOGNOTICE) xbmc.log(msg="using the new Vimeo addon from jaylinski", level=xbmc.LOGNOTICE)
import YDStreamExtractor playback_url = entry['url']
idVideo = entry['purl'] else:
ytdl = YDStreamExtractor.getVideoInfo(idVideo) # quick hard coded workaround
playback_url = ytdl.streamURL() 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)
playback_url = ytdl.streamURL()
else: else:
# without youtube_dl # without youtube_dl
xbmc.log(msg="without ytdl", level=xbmc.LOGDEBUG) xbmc.log(msg="without ytdl", level=xbmc.LOGDEBUG)