Skip to content

Commit

Permalink
Fix resume when user chose to not resume
Browse files Browse the repository at this point in the history
  • Loading branch information
croneter committed May 26, 2019
1 parent fb21bc7 commit 6e692d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/lib/playqueue/playqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ def _kodi_add_xml(self, xml, api, resume=False, playlistitem=None):
playlistitem = PlaylistItem(xml_video_element=xml)
playlistitem.part = api.part
playlistitem.force_transcode = self.force_transcode
listitem = widgets.get_listitem(xml, resume=True)
playlistitem.resume = resume
listitem = widgets.get_listitem(xml, resume=resume)
listitem.setSubtitles(api.cache_external_subs())
play = PlayUtils(api, playlistitem)
url = play.getPlayUrl()
Expand Down

0 comments on commit 6e692d2

Please sign in to comment.