Piccoli fix Episodio Successivo
This commit is contained in:
@@ -478,15 +478,22 @@ def play_from_library(item):
|
|||||||
# from core.support import dbg;dbg()
|
# from core.support import dbg;dbg()
|
||||||
if len(itemlist) > 0:
|
if len(itemlist) > 0:
|
||||||
reopen = False
|
reopen = False
|
||||||
|
# from core.support import dbg;dbg()
|
||||||
while not xbmc.Monitor().abortRequested():
|
while not xbmc.Monitor().abortRequested():
|
||||||
played = True
|
played = True
|
||||||
|
# if config.get_setting('next_ep') == 3 and xbmc.Player().playnext:
|
||||||
|
# return
|
||||||
# The user chooses the mirror
|
# The user chooses the mirror
|
||||||
if not platformtools.is_playing():
|
if not platformtools.is_playing():
|
||||||
# from core.support import dbg;dbg()
|
if config.get_setting('next_ep') == 3:
|
||||||
|
xbmc.sleep(500)
|
||||||
|
if platformtools.is_playing():
|
||||||
|
return
|
||||||
if config.get_setting('autoplay') or reopen:
|
if config.get_setting('autoplay') or reopen:
|
||||||
played_time = get_played_time(item)
|
played_time = get_played_time(item)
|
||||||
if not played_time and played:
|
if not played_time and played:
|
||||||
return
|
return
|
||||||
|
|
||||||
options = []
|
options = []
|
||||||
selection_implementation = 0
|
selection_implementation = 0
|
||||||
for item in itemlist:
|
for item in itemlist:
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ def mark_auto_as_watched(item):
|
|||||||
xbmc.executebuiltin('Action(ParentDir)')
|
xbmc.executebuiltin('Action(ParentDir)')
|
||||||
xbmc.sleep(500)
|
xbmc.sleep(500)
|
||||||
|
|
||||||
if next_episode and next_episode.next_ep and config.get_setting('next_ep') == 1:
|
if next_episode and next_episode.next_ep and config.get_setting('next_ep') < 3:
|
||||||
from platformcode.launcher import play_from_library
|
from platformcode.launcher import play_from_library
|
||||||
play_from_library(next_episode)
|
play_from_library(next_episode)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user