Backup Rinumerazione in tvshow.info
This commit is contained in:
@@ -57,6 +57,11 @@ def renumber(itemlist, item='', typography=''):
|
||||
if item:
|
||||
item.channel = item.from_channel if item.from_channel else item.channel
|
||||
title = item.fulltitle.rstrip()
|
||||
if item.channel in item.channel_prefs and TAG_TVSHOW_RENUMERATE in item.channel_prefs[item.channel] and title not in dict_series:
|
||||
from core.videolibrarytools import check_renumber_options
|
||||
from specials.videolibrary import update_videolibrary
|
||||
check_renumber_options(item)
|
||||
update_videolibrary(item)
|
||||
|
||||
if inspect.stack()[2][3] == 'find_episodes':
|
||||
return itemlist
|
||||
|
||||
@@ -318,6 +318,8 @@ def get_seasons(item):
|
||||
itemlist = []
|
||||
dict_temp = {}
|
||||
|
||||
videolibrarytools.check_renumber_options(item)
|
||||
|
||||
raiz, carpetas_series, ficheros = next(filetools.walk(item.path))
|
||||
|
||||
# Menu contextual: Releer tvshow.nfo
|
||||
@@ -441,6 +443,7 @@ def findvideos(item):
|
||||
from specials import autoplay
|
||||
logger.info()
|
||||
# logger.debug("item:\n" + item.tostring('\n'))
|
||||
videolibrarytools.check_renumber_options(item)
|
||||
|
||||
itemlist = []
|
||||
list_canales = {}
|
||||
|
||||
Reference in New Issue
Block a user