Skip to content

Commit

Permalink
- fixed VOD request thanks to hrickes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fayer3 committed Sep 14, 2020
1 parent 6ee251a commit 54217b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.joyn_app" name="Joyn" version="0.4.11" provider-name="fayer3">
<addon id="plugin.video.joyn_app" name="Joyn" version="0.4.12" provider-name="fayer3">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.routing" version="0.2.0"/>
Expand Down Expand Up @@ -70,6 +70,8 @@
0.4.11:
- fehler behoben der abrufen von Videos verhindert hat.
- verfügbar seit/bis zu Filmbeschreibungen hinzugefügt.
0.4.12:
- VOD Abfrage repariert dank hrickes.
</news>
<assets>
<icon>resources/icon.png</icon>
Expand Down
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,6 @@ v0.4.10:
- fix error when getting proxies from 'freshproxies.net'
v0.4.11:
- fix error that prevented retrieving of videos.
- added available since/until to movie description.
- added available since/until to movie description.
v0.4.12:
- fixed VOD request thanks to hrickes.
2 changes: 1 addition & 1 deletion resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ def play_video(video_id, tvshow_id, brand, duration):
# get base url
base_urls = re.findall('<BaseURL>(.*?)</BaseURL>',video_url_data)
if len(base_urls) > 0 and base_urls[0].startswith('http'):
video_url = base_urls[0] + u'.mpd|User-Agent='+ids.video_useragent
video_url = base_urls[0] + u'.mpd?filter=(type%3D%3D%22video%22)%7C%7C(true)|User-Agent='+ids.video_useragent
else:
kodiutils.notification(u'INFO', kodiutils.get_string(32005))
setResolvedUrl(plugin.handle, False, playitem)
Expand Down

0 comments on commit 54217b5

Please sign in to comment.