session_id should no longer be needed, this was a hack to get things to show the correct play status
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user