Skip to content

Commit

Permalink
Merge pull request #754 from jsullivan3/master
Browse files Browse the repository at this point in the history
[playback] restore manifest_type property for version of Kodi prior to 21
  • Loading branch information
Sandmann79 authored Aug 6, 2024
2 parents 55df51a + 926361f commit a7abccb
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 a7abccb

Please sign in to comment.