diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index d7903871..c3d221e1 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -256,6 +256,7 @@ def deleteItem(): def addUser(): if window('emby_online') != "true": + log.info("server is offline") return doUtils = downloadutils.DownloadUtils() @@ -534,6 +535,10 @@ def getThemeMedia(): ##### REFRESH EMBY PLAYLISTS ##### def refreshPlaylist(): + if window('emby_online') != "true": + log.info("server is offline") + return + lib = librarysync.LibrarySync() dialog = xbmcgui.Dialog() try: