From 11aa5a6985d15d9667dd8434153dcf6eea20797c Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Wed, 17 Apr 2024 14:05:04 +1000 Subject: [PATCH] Remove deprecated ISA manifest_type property in Kodi v21+ --- resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py b/resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py index aff4f4803..0d1f6ed8e 100644 --- a/resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py +++ b/resources/lib/youtube_plugin/kodion/items/xbmc/xbmc_items.py @@ -366,7 +366,9 @@ def video_playback_item(context, video_item, show_fanart=None): if current_system_version.compatible(19, 0) else 'inputstreamaddon') props[inputstream_property] = 'inputstream.adaptive' - props['inputstream.adaptive.manifest_type'] = manifest_type + + if not current_system_version.compatible(21, 0): + props['inputstream.adaptive.manifest_type'] = manifest_type if headers: props['inputstream.adaptive.manifest_headers'] = headers