Fix resume when user chose to not resume
This commit is contained in:
parent
fb21bc7d71
commit
6e692d22c2
1 changed files with 2 additions and 1 deletions
|
@ -344,7 +344,8 @@ class PlayQueue(object):
|
||||||
playlistitem = PlaylistItem(xml_video_element=xml)
|
playlistitem = PlaylistItem(xml_video_element=xml)
|
||||||
playlistitem.part = api.part
|
playlistitem.part = api.part
|
||||||
playlistitem.force_transcode = self.force_transcode
|
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())
|
listitem.setSubtitles(api.cache_external_subs())
|
||||||
play = PlayUtils(api, playlistitem)
|
play = PlayUtils(api, playlistitem)
|
||||||
url = play.getPlayUrl()
|
url = play.getPlayUrl()
|
||||||
|
|
Loading…
Reference in a new issue