Merge remote-tracking branch 'origin/master'

This commit is contained in:
mac12m99
2021-04-29 18:04:59 +02:00
2 changed files with 3 additions and 1 deletions
+1 -1
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 '',
+2
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()