KoD 1.7.2

- corretto il playback in tutti i casi (torrent, autoplay, videoteca, libreria ecc..)\n- piccole migliorie prestazionali nella ricerca globale\n- fix trailer\n\n
This commit is contained in:
marco
2021-11-08 19:50:51 +01:00
parent 9c7c41d44a
commit 941d8f2236
30 changed files with 202 additions and 137 deletions
+4 -3
View File
@@ -41,7 +41,7 @@ def read_nfo(path_nfo, item=None):
@rtype: tuple (str, Item)
"""
head_nfo = ""
it = None
it = Item()
data = filetools.read(path_nfo)
@@ -277,7 +277,7 @@ def filter_list(episodelist, action=None, path=None):
channel_prefs = {}
lang_sel = quality_sel = show_title = channel =''
if action:
if action:
tvshow_path = filetools.join(path, "tvshow.nfo")
head_nfo, tvshow_item = read_nfo(tvshow_path)
channel = episodelist[0].channel
@@ -577,7 +577,8 @@ def save_episodes(path, episodelist, serie, silent=False, overwrite=True):
@return: the number of failed episodes
"""
logger.debug()
episodelist = filter_list(episodelist, serie.action, path)
if episodelist:
episodelist = filter_list(episodelist, serie.action, path)
# No episode list, nothing to save
if not len(episodelist):
logger.debug("There is no episode list, we go out without creating strm")