diff --git a/channels/streamingcommunity.py b/channels/streamingcommunity.py index a5297778..dc1cfee4 100644 --- a/channels/streamingcommunity.py +++ b/channels/streamingcommunity.py @@ -174,6 +174,7 @@ def episodios(item): plot=it['plot'], action='findvideos', contentType='episode', + contentSerieName=item.fulltitle, url=host + '/watch/' + str(episodes['title_id']) + '?e=' + str(it['id']))) support.videolibrary(itemlist, item) @@ -188,6 +189,6 @@ def findvideos(item): url = support.match(support.match(item).data.replace('"','"').replace('\\',''), patron=r'video_url"\s*:\s*"([^"]+)"').match for res in ['480p', '720p', '1080p']: newurl = '{}/{}'.format(url, res) - if session.get(newurl, headers=headers).status_code == 200: + if session.head(newurl, headers=headers).status_code == 200: itemlist += [item.clone(title=support.config.get_localized_string(30137), server='directo', url=newurl, quality=res, action='play')] return support.server(item, itemlist=itemlist) \ No newline at end of file diff --git a/channels/tantifilm.py b/channels/tantifilm.py index 0814c1bc..d80811be 100644 --- a/channels/tantifilm.py +++ b/channels/tantifilm.py @@ -175,6 +175,9 @@ def findvideos(item): item.contentType = 'tvshow' item.data = data return episodios(item) + else: + item.contentTitle = item.fulltitle + item.contentType = 'movie' # if 'protectlink' in data: # urls = scrapertools.find_multiple_matches(data, r'