24 lines
720 B
Groovy
Executable File
24 lines
720 B
Groovy
Executable File
def root = '/series/'
|
|
def rutaSeries = root+'Series/'
|
|
def rutaNSeries = root+'NSeries/'
|
|
def ruta_docu = root+'Series_docu/'
|
|
def ruta_animacion = root+'Series_animacion/'
|
|
def ruta_anime = root+'Series_anime/'
|
|
def ruta_antiguas = root+'Series_antiguas/'
|
|
def ruta_esp = root+'Series_esp'
|
|
def ruta_cat = root+'Series_cat'
|
|
def ruta_latina = root+'Series_lat'
|
|
def ruta_teen = root+'Series_familiar'
|
|
def ruta_infantil = root+'Series_infantil'
|
|
def ruta_programastv = root+'programas_tv'
|
|
|
|
def rutaKO = root+'error/'
|
|
def ruta = rutaNSeries
|
|
|
|
try {
|
|
def tvdb = series.getExternalId('TheTVDB')
|
|
if (tvdb==null) throw new Exception("[no_id]")
|
|
|
|
if (f.toString().contains("/"+rutaSeries)) {
|
|
ruta = rutaSeries
|
|
} |