Fix Download

This commit is contained in:
Alhaziel
2019-08-29 15:50:58 +02:00
parent bf4338590a
commit 81c26556b1
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -260,8 +260,8 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
infoLabels=infolabels,
thumbnail=item.thumbnail if function == 'episodios' else scraped["thumb"] ,
args=item.args,
contentSerieName=item.fulltitle if item.contentType != 'movie' else '',
contentTitle=title if item.contentType == 'movie' else '',
contentSerieName= title if item.contentType != 'movie' and function != 'episodios' else item.fulltitle if function == 'episodios' else '',
contentTitle= title if item.contentType == 'movie' else '',
contentLanguage=lang,
ep=episode if episode else ''
)
+4 -1
View File
@@ -887,8 +887,11 @@ def save_download_tvshow(item):
item.show = item.fulltitle
scraper.find_and_set_infoLabels(item)
logger.info('ID= ' + item.infoLabels['IMDBNumber'])
item.contentSerieName = item.fulltitle
item.downloadFilename = filetools.validate_path("%s [%s]" % (item.contentSerieName, item.infoLabels['IMDBNumber']))
if config.get_setting("lowerize_title", "videolibrary") == 0:
item.downloadFilename = item.downloadFilename.lower()
progreso.update(0, config.get_localized_string(70186), config.get_localized_string(70187) % item.contentChannel)
episodes = get_episodes(item)