mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
show the additional resume dialog if launched from a widget
This commit is contained in:
parent
cef2b67eba
commit
4d9c845fd3
1 changed files with 11 additions and 9 deletions
|
@ -76,7 +76,9 @@ class PlaybackUtils():
|
||||||
WINDOW.setProperty(playurl+"deleteurl", "")
|
WINDOW.setProperty(playurl+"deleteurl", "")
|
||||||
WINDOW.setProperty(playurl+"deleteurl", deleteurl)
|
WINDOW.setProperty(playurl+"deleteurl", deleteurl)
|
||||||
|
|
||||||
'''if seekTime != 0:
|
#show the additional resume dialog if launched from a widget
|
||||||
|
if xbmc.getCondVisibility("Window.IsActive(home)"):
|
||||||
|
if seekTime != 0:
|
||||||
displayTime = str(datetime.timedelta(seconds=seekTime))
|
displayTime = str(datetime.timedelta(seconds=seekTime))
|
||||||
display_list = [ self.language(30106) + ' ' + displayTime, self.language(30107)]
|
display_list = [ self.language(30106) + ' ' + displayTime, self.language(30107)]
|
||||||
resumeScreen = xbmcgui.Dialog()
|
resumeScreen = xbmcgui.Dialog()
|
||||||
|
@ -86,7 +88,7 @@ class PlaybackUtils():
|
||||||
else:
|
else:
|
||||||
WINDOW.clearProperty(playurl+"seektime")
|
WINDOW.clearProperty(playurl+"seektime")
|
||||||
else:
|
else:
|
||||||
WINDOW.clearProperty(playurl+"seektime")'''
|
WINDOW.clearProperty(playurl+"seektime")
|
||||||
|
|
||||||
if result.get("Type")=="Episode":
|
if result.get("Type")=="Episode":
|
||||||
WINDOW.setProperty(playurl+"refresh_id", result.get("SeriesId"))
|
WINDOW.setProperty(playurl+"refresh_id", result.get("SeriesId"))
|
||||||
|
|
Loading…
Reference in a new issue