diff --git a/resources/lib/item_functions.py b/resources/lib/item_functions.py index 81ec947..ea01e1b 100644 --- a/resources/lib/item_functions.py +++ b/resources/lib/item_functions.py @@ -349,7 +349,7 @@ def add_gui_item(url, item_details, display_options, folder=True): if item_details.name_format: u += '&name_format=' + urllib.quote(item_details.name_format) else: - u = sys.argv[0] + "?item_id=" + url + "&mode=PLAY" + "&session_id=" + home_window.getProperty("session_id") + u = sys.argv[0] + "?item_id=" + url + "&mode=PLAY"# + "&session_id=" + home_window.getProperty("session_id") # Create the ListItem that will be displayed thumbPath = item_details.art["thumb"] diff --git a/service.py b/service.py index 3529260..a2055ec 100644 --- a/service.py +++ b/service.py @@ -64,7 +64,8 @@ last_random_movie_update = 0 # session id # TODO: this is used to append to the end of PLAY urls, this is to stop mark watched from overriding the Emby ones -home_window.setProperty("session_id", str(time.time())) +# this shold no longer be needed with the fix for ListItem items using the play status from the ListItem instead of the DB +# home_window.setProperty("session_id", str(time.time())) # start the library update monitor library_change_monitor = LibraryChangeMonitor()