Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fixed wrong license_type field
Browse files Browse the repository at this point in the history
  • Loading branch information
iMro0t committed Sep 18, 2021
1 parent ae213e5 commit 4e1d5ac
Show file tree
Hide file tree
Showing 2 changed files with 3 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" standalone="yes"?>
<addon id="plugin.video.botallen.hotstar" name="Disney+ Hotstar" provider-name="botallen" version="1.1.0">
<addon id="plugin.video.botallen.hotstar" name="Disney+ Hotstar" provider-name="botallen" version="1.1.1">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.codequick" version="1.0.2"/>
Expand Down
2 changes: 2 additions & 0 deletions resources/lib/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def buildPlay(self, playbackUrl, licenceUrl=None, playbackProto="mpd", label="",
subtitleUrl = re.sub(
"(.*)(master[\w+\_\-]*?\.[\w+]{3})([\w\/\?=~\*\-]*)", "\g<1>subtitle/lang_en/subtitle.vtt\g<3>", playbackUrl) + "|User-Agent=Hotstar%3Bin.startv.hotstar%2F3.3.0+%28Android%2F8.1.0%29"
Script.log(subtitleUrl, lvl=Script.DEBUG)
if licenceUrl and "/hms/wv/" in licenceUrl:
drm = "com.widevine.alpha"
return Listitem().from_dict(**{
"label": label,
"callback": playbackUrl,
Expand Down

0 comments on commit 4e1d5ac

Please sign in to comment.