Fix Autoplay e Altadefinizione

This commit is contained in:
Alhaziel01
2022-10-25 09:05:49 +02:00
parent 8ae182536c
commit 94e107e17c
3 changed files with 12 additions and 11 deletions
+2
View File
@@ -84,6 +84,7 @@ def mark_auto_as_watched(item):
# if item.options['continue']:
if (marked and total_time < 20) or not marked:
item.disableAutoplay=True
platformtools.serverWindow(item, itemlist)
platformtools.set_played_time(item)
@@ -105,6 +106,7 @@ def mark_auto_as_watched(item):
from core import db
if config.get_setting("mark_as_watched", "videolibrary"):
itemlist = db['player'].get('itemlist', [])
db['player']['itemlist'] = []
db.close()
threading.Thread(target=mark_as_watched_subThread, args=[item]).start()
logger.debug('EXIT MONITOR')