From 926361fd4d4c66d7875fa9ae898ab1e65a762770 Mon Sep 17 00:00:00 2001 From: John Sullivan Date: Mon, 5 Aug 2024 17:19:25 -0400 Subject: [PATCH] [playback] restore manifest_type property for version of Kodi prior to 21 --- plugin.video.amazon-test/resources/lib/playback.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.video.amazon-test/resources/lib/playback.py b/plugin.video.amazon-test/resources/lib/playback.py index 855b6474..c028b256 100644 --- a/plugin.video.amazon-test/resources/lib/playback.py +++ b/plugin.video.amazon-test/resources/lib/playback.py @@ -396,6 +396,8 @@ def _IStreamPlayback(asin, name, streamtype, isAdult, extern): Log('Using %s Version: %s' % (_g.is_addon, is_version)) listitem = xbmcgui.ListItem(label=title, path=mpd) + if (_g.KodiVersion < 21) and ('adaptive' in _g.is_addon): + listitem.setProperty('inputstream.adaptive.manifest_type', 'mpd') listitem.setArt({'thumb': thumb}) listitem.setSubtitles(subs) listitem.setProperty('%s.license_type' % _g.is_addon, 'com.widevine.alpha')