Info Episodi per Anime Rinumerati

This commit is contained in:
Alhaziel01
2021-04-29 17:50:18 +02:00
parent 3032581564
commit 92c8841999
2 changed files with 3 additions and 1 deletions

View File

@@ -385,7 +385,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
contentSerieName= title if 'movie' not in [contentType] and function != 'episodios' else item.contentSerieName,
contentTitle= title if 'movie' in [contentType] and function == 'peliculas' else item.contentTitle,
contentLanguage = lang1,
contentSeasonNumber= infolabels.get('season', ''),
contentSeason= infolabels.get('season', ''),
contentEpisodeNumber=infolabels.get('episode', ''),
news= item.news if item.news else '',
other = scraped['other'] if scraped['other'] else '',

View File

@@ -178,6 +178,8 @@ class autorenumber():
if number:
if not number in self.episodes: self.makelist()
item.title = '{} - {}'.format(typo(self.episodes[number], 'bold'), item.title)
item.contentSeason = int(self.episodes[number].split('x')[0])
item.contentEpisodeNumber = int(self.episodes[number].split('x')[1])
else:
self.makelist()