Skip to content

Commit

Permalink
Merge pull request #4565 from TermeHansen/nexus_6.4.4
Browse files Browse the repository at this point in the history
[plugin.video.drnu] 6.4.4
  • Loading branch information
basrieter authored Sep 10, 2024
2 parents 0735f59 + b0075ec commit e5fb3c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion plugin.video.drnu/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.drnu" version="6.4.3" name="DR TV" provider-name="TermeHansen">
<addon id="plugin.video.drnu" version="6.4.4" name="DR TV" provider-name="TermeHansen">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="script.module.dateutil" version="2.8.2" />
Expand Down Expand Up @@ -32,6 +32,9 @@
<screenshot>resources/media/Screenshot3.jpg</screenshot>
<screenshot>resources/media/Screenshot4.jpg</screenshot>
</assets>
<news>[B]Version 6.4.4 - 2024-09-08[/B]
- Fix issue of dr returning 404 on some streams with 'sub' header
</news>
<news>[B]Version 6.4.3 - 2024-08-20[/B]
- Fix issue of distutils being removed in python 3.12
</news>
Expand Down
3 changes: 3 additions & 0 deletions plugin.video.drnu/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[B]Version 6.4.4 - 2024-09-08[/B]
- Fix issue of dr returning 404 on some streams with 'sub' header

[B]Version 6.4.3 - 2024-08-20[/B]
- Fix issue of distutils being removed in python 3.12

Expand Down
3 changes: 2 additions & 1 deletion plugin.video.drnu/resources/lib/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ def playVideo(self, id, kids_channel, path):
is_helper = Helper('hls')
if is_helper.check_inputstream():
listItem.setProperty('inputstream', is_helper.inputstream_addon)
listItem.setProperty('inputstream.adaptive.manifest_type', 'hls')
if kodi_version_major() <= 20:
listItem.setProperty('inputstream.adaptive.manifest_type', 'hls')

local_subs_bool = bool_setting('enable.localsubtitles') or int(get_setting('inputstream')) == 1
if local_subs_bool and video['srt_subtitles']:
Expand Down
2 changes: 0 additions & 2 deletions plugin.video.drnu/resources/lib/tvapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ def get_programcard(self, path, data=None, use_cache=True):
'list_page_size': '24',
'max_list_prefetch': '3',
'path': path,
'sub': 'Registered'
}
return self._request_get(url, params=data, use_cache=use_cache)

Expand Down Expand Up @@ -479,7 +478,6 @@ def get_stream(self, id):
'ff': 'idp,ldp,rpt',
'lang': 'da',
'resolution': 'HD-1080',
'sub': 'Registered'
}

u = self.session.get(url, params=data, headers=headers, timeout=GET_TIMEOUT)
Expand Down

0 comments on commit e5fb3c9

Please sign in to comment.