diff --git a/channels.json b/channels.json index 88a7a091..d8280f93 100644 --- a/channels.json +++ b/channels.json @@ -28,7 +28,7 @@ "plutotv": "https://pluto.tv", "raiplay": "https://www.raiplay.it", "serietvu": "https://www.serietvu.live", - "streamingcommunity": "https://streamingcommunity.actor", + "streamingcommunity": "https://streamingcommunity.online", "streamingita": "https://www.streamingita.best", "streamtime": "https://t.me/s/StreamTime", "tantifilm": "https://www.tantifilm.recipes", diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index c7b0f3fc..35201d96 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -155,11 +155,13 @@ def episodios(item): for s in servers: executor.submit(get_ep, s) # 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': - for n, r in enumerate(ret): - r.contentSeason = int(episodes[n].split('x')[0]) - r.contentEpisodeNumber = int(episodes[n].split('x')[1]) + for ep in episodes: + ret.append(it.clone(title=typo(ep, 'bold') + typo(it.contentLanguage, '_ [] color kod bold'), + 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: ret.append(it) return sorted(ret, key=lambda i: i.title)