mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-12 04:15:08 +00:00
added option to perform sync when screensaver is deactivated
This commit is contained in:
parent
5696f76a5f
commit
a07f545d5a
3 changed files with 9 additions and 0 deletions
|
@ -205,5 +205,12 @@ class KodiMonitor(xbmc.Monitor):
|
|||
xbmc.sleep(10000)
|
||||
utils.window('emby_onWake', value="true")
|
||||
|
||||
|
||||
elif method == "GUI.OnScreensaverDeactivated":
|
||||
if utils.settings('dbSyncScreensaver') == "true":
|
||||
xbmc.sleep(1000);
|
||||
utils.window('emby_onWake', value="true")
|
||||
|
||||
|
||||
elif method == "Playlist.OnClear":
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue