diff options
author | Shaun <shaun@bluebit.com.au> | 2017-11-25 15:04:26 +1100 |
---|---|---|
committer | Shaun <shaun@bluebit.com.au> | 2017-11-25 15:04:26 +1100 |
commit | 362d0e0c342f9e17734dab8b4d102d55677ec412 (patch) | |
tree | 5db442ecb767b9426a11de518e14e0838f063bf8 /plugin.video.embycon/resources/lib/functions.py | |
parent | c2d65f62c77f819face074a31be24f782e15f8fa (diff) |
[plugin.video.embycon] 1.3.47
Diffstat (limited to 'plugin.video.embycon/resources/lib/functions.py')
-rw-r--r-- | plugin.video.embycon/resources/lib/functions.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugin.video.embycon/resources/lib/functions.py b/plugin.video.embycon/resources/lib/functions.py index 6f8f44e..aa2953e 100644 --- a/plugin.video.embycon/resources/lib/functions.py +++ b/plugin.video.embycon/resources/lib/functions.py @@ -16,7 +16,7 @@ import xbmcaddon import xbmc from downloadutils import DownloadUtils -from utils import getDetailsString, getArt +from utils import getDetailsString, getArt, cache_artwork from kodi_utils import HomeWindow from clientinfo import ClientInformation from datamanager import DataManager @@ -88,6 +88,8 @@ def mainEntryPoint(): if mode == "CHANGE_USER": checkServer(change_user=True, notify=False) + elif mode== "CACHE_ARTWORK": + cache_artwork() elif mode == "DETECT_SERVER": checkServer(force=True, notify=True) elif mode == "DETECT_SERVER_USER": @@ -1279,6 +1281,8 @@ def PLAY(params): # set all the playback info, this will be picked up by the service # the service will then start the playback + xbmc.Player().stop() + play_info = {} play_info["item_id"] = item_id play_info["auto_resume"] = str(auto_resume) @@ -1288,3 +1292,5 @@ def PLAY(params): home_window = HomeWindow() home_window.setProperty("item_id", item_id) home_window.setProperty("play_item_message", play_data) + + #xbmcgui.Dialog().notification("EmbyCon", "Starting Playback") |