mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Prevent playback error
This commit is contained in:
parent
10a7985a83
commit
7eb233d3f9
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ class PlaybackUtils(object):
|
|||
index += 1
|
||||
|
||||
if force_play:
|
||||
xbmcplugin.setResolvedUrl(int(sys.argv[1]), False, self.stack[0][1])
|
||||
xbmc.Player().play(self.playlist)
|
||||
if len(sys.argv) > 1: xbmcplugin.setResolvedUrl(int(sys.argv[1]), False, self.stack[0][1])
|
||||
xbmc.Player().play(self.playlist, windowed=False)
|
||||
|
||||
|
||||
def set_playlist(self, play_url, item_id, listitem, seektime=None, db_id=None):
|
||||
|
|
Loading…
Reference in a new issue