Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plugin.video.drnu] 6.4.4 #4565

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading