Skip to content

Commit

Permalink
[playback] restore manifest_type property for version of Kodi prior t…
Browse files Browse the repository at this point in the history
…o 21
  • Loading branch information
jsullivan3 committed Aug 5, 2024
1 parent 55df51a commit 926361f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin.video.amazon-test/resources/lib/playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 926361f

Please sign in to comment.