Fix cinemalibero e SC

This commit is contained in:
marco
2023-01-21 14:03:41 +01:00
parent 2787c980db
commit 00c9a72966
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
"plutotv": "https://pluto.tv", "plutotv": "https://pluto.tv",
"raiplay": "https://www.raiplay.it", "raiplay": "https://www.raiplay.it",
"serietvu": "https://www.serietvu.live", "serietvu": "https://www.serietvu.live",
"streamingcommunity": "https://streamingcommunity.actor", "streamingcommunity": "https://streamingcommunity.online",
"streamingita": "https://www.streamingita.best", "streamingita": "https://www.streamingita.best",
"streamtime": "https://t.me/s/StreamTime", "streamtime": "https://t.me/s/StreamTime",
"tantifilm": "https://www.tantifilm.recipes", "tantifilm": "https://www.tantifilm.recipes",
+6 -4
View File
@@ -155,11 +155,13 @@ def episodios(item):
for s in servers: for s in servers:
executor.submit(get_ep, s) executor.submit(get_ep, s)
# logger.debug(it.contentLanguage) # logger.debug(it.contentLanguage)
ret.extend([it.clone(title=typo(ep, 'bold')+typo(it.contentLanguage, '_ [] color kod bold'), servers=[srv.tourl() for srv in episodes[ep]]) for ep in episodes])
if item.args != 'anime': if item.args != 'anime':
for n, r in enumerate(ret): for ep in episodes:
r.contentSeason = int(episodes[n].split('x')[0]) ret.append(it.clone(title=typo(ep, 'bold') + typo(it.contentLanguage, '_ [] color kod bold'),
r.contentEpisodeNumber = int(episodes[n].split('x')[1]) servers=[srv.tourl() for srv in episodes[ep]], contentSeason=int(ep.split('x')[0]), contentEpisodeNumber=int(ep.split('x')[1])))
else:
ret.extend([it.clone(title=typo(ep, 'bold') + typo(it.contentLanguage, '_ [] color kod bold'),
servers=[srv.tourl() for srv in episodes[ep]]) for ep in episodes])
elif ep: elif ep:
ret.append(it) ret.append(it)
return sorted(ret, key=lambda i: i.title) return sorted(ret, key=lambda i: i.title)