Skip to content

Commit

Permalink
v2.4.5_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz89B committed Apr 17, 2023
1 parent 9007e5b commit d5779cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 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"?>
<addon id="plugin.video.viaplay" version="2.4.5-beta.1" name="Viaplay" provider-name="mariusz89b, emilsvennesson, heppen-dev">
<addon id="plugin.video.viaplay" version="2.4.5-beta.2" name="Viaplay" provider-name="mariusz89b, emilsvennesson, heppen-dev">
<requires>
<import addon="script.module.requests" version="2.9.1" />
<import addon="script.module.iso8601" version="0.1.11" />
Expand Down
8 changes: 8 additions & 0 deletions resources/lib/viaplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,14 @@ def get_stream(self, guid, pincode=None, tve='false', url=''):
guid = guid
url = self.play_live_api + '/stream/bymediaguid'

elif 'GB' in guid:
guid = guid
url = self.play_live_api + '/stream/bymediaguid'

elif 'NL' in guid:
guid = guid
url = self.play_live_api + '/stream/bymediaguid'

else:
guid = guid
url = self.play_api + '/stream/bymediaguid'
Expand Down

0 comments on commit d5779cb

Please sign in to comment.