- Aggiorna Episodi da menu Contestuale (libreria)
- Selezione automatica path delle serie locali se presenti in libreria
This commit is contained in:
+5
-3
@@ -21,10 +21,12 @@ from servers import torrent
|
||||
def update(path, p_dialog, i, t, serie, overwrite):
|
||||
logger.info("Updating " + path)
|
||||
insertados_total = 0
|
||||
nfo_file = xbmc.translatePath(filetools.join(path, 'tvshow.nfo'))
|
||||
|
||||
head_nfo, it = videolibrarytools.read_nfo(path + '/tvshow.nfo')
|
||||
# videolibrarytools.check_renumber_options(it)
|
||||
head_nfo, it = videolibrarytools.read_nfo(nfo_file)
|
||||
videolibrarytools.update_renumber_options(it, head_nfo, path)
|
||||
|
||||
if not serie.library_url: serie = it
|
||||
category = serie.category
|
||||
|
||||
# logger.debug("%s: %s" %(serie.contentSerieName,str(list_canales) ))
|
||||
@@ -34,7 +36,7 @@ def update(path, p_dialog, i, t, serie, overwrite):
|
||||
|
||||
###### Redirección al canal NewPct1.py si es un clone, o a otro canal y url si ha intervención judicial
|
||||
try:
|
||||
head_nfo, it = videolibrarytools.read_nfo(path + '/tvshow.nfo') #Refresca el .nfo para recoger actualizaciones
|
||||
head_nfo, it = videolibrarytools.read_nfo(nfo_file) #Refresca el .nfo para recoger actualizaciones
|
||||
if it.emergency_urls:
|
||||
serie.emergency_urls = it.emergency_urls
|
||||
serie.category = category
|
||||
|
||||
Reference in New Issue
Block a user