mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix cinema mode for widgets
This commit is contained in:
parent
36b8582226
commit
10a7985a83
1 changed files with 4 additions and 7 deletions
|
@ -64,11 +64,6 @@ class PlaybackUtils(object):
|
||||||
#TODO: To be reviewed once Leia is out.
|
#TODO: To be reviewed once Leia is out.
|
||||||
log.info("Build does not require workaround for widgets?")
|
log.info("Build does not require workaround for widgets?")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
elif KODI_V == 18:
|
|
||||||
log.info("Kodi Leia")
|
|
||||||
return False
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
if not xbmc.getCondVisibility('Window.IsMedia'):
|
if not xbmc.getCondVisibility('Window.IsMedia'):
|
||||||
log.info("Not Window.IsMedia")
|
log.info("Not Window.IsMedia")
|
||||||
|
@ -163,8 +158,10 @@ class PlaybackUtils(object):
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
if force_play:
|
if force_play:
|
||||||
|
xbmcplugin.setResolvedUrl(int(sys.argv[1]), False, self.stack[0][1])
|
||||||
xbmc.Player().play(self.playlist)
|
xbmc.Player().play(self.playlist)
|
||||||
|
|
||||||
|
|
||||||
def set_playlist(self, play_url, item_id, listitem, seektime=None, db_id=None):
|
def set_playlist(self, play_url, item_id, listitem, seektime=None, db_id=None):
|
||||||
|
|
||||||
##### CHECK FOR INTROS
|
##### CHECK FOR INTROS
|
||||||
|
|
Loading…
Reference in a new issue