Test fix episodio successivo
This commit is contained in:
@@ -93,7 +93,7 @@ def mark_auto_as_watched(item):
|
|||||||
logger.debug('REOPEN')
|
logger.debug('REOPEN')
|
||||||
item.played_time = actual_time
|
item.played_time = actual_time
|
||||||
db['controls']['reopen'] = True
|
db['controls']['reopen'] = True
|
||||||
db.close()
|
|
||||||
platformtools.set_played_time(item)
|
platformtools.set_played_time(item)
|
||||||
|
|
||||||
# Silent sync with Trakt
|
# Silent sync with Trakt
|
||||||
@@ -104,8 +104,11 @@ def mark_auto_as_watched(item):
|
|||||||
|
|
||||||
if next_episode and next_episode.next_ep and config.get_setting('next_ep') < 3:
|
if next_episode and next_episode.next_ep and config.get_setting('next_ep') < 3:
|
||||||
from platformcode.launcher import run
|
from platformcode.launcher import run
|
||||||
|
xbmc.sleep(1000)
|
||||||
run(next_episode)
|
run(next_episode)
|
||||||
|
|
||||||
|
db.close()
|
||||||
|
|
||||||
# If it is configured to mark as seen
|
# If it is configured to mark as seen
|
||||||
if config.get_setting("mark_as_watched", "videolibrary"):
|
if config.get_setting("mark_as_watched", "videolibrary"):
|
||||||
threading.Thread(target=mark_as_watched_subThread, args=[item]).start()
|
threading.Thread(target=mark_as_watched_subThread, args=[item]).start()
|
||||||
|
|||||||
Reference in New Issue
Block a user