From aaa6c78aceb23591eb65c642f37eaf15c0f812a2 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Thu, 28 Jul 2022 18:49:47 +0200 Subject: [PATCH] Sottotitoli Community Channels --- core/support.py | 1 + specials/community.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/core/support.py b/core/support.py index 2f44aa53..5aee9f5f 100755 --- a/core/support.py +++ b/core/support.py @@ -1302,6 +1302,7 @@ def server(item, data='', itemlist=[], headers='', CheckLinks=True, Download=Tru vi = item.clone(server=videoitem.server, extraInfo=videoitem.extraInfo, serverName=videoitem.serverName, + subtitle=videoitem.subtitle, url=videoitem.url, videoUrls= videoitem.videoUrlsn, ch_name=channeltools.get_channel_parameters(item.channel)['title'], diff --git a/specials/community.py b/specials/community.py index e12a85b0..5448bb08 100644 --- a/specials/community.py +++ b/specials/community.py @@ -459,6 +459,7 @@ def findvideos(item): item.clone(url=option['url'], action='play', quality=extra.quality, + subtitle=extra.subtitle, contentLanguage=extra.language, extraInfo=extra.info)) @@ -764,6 +765,8 @@ def set_extra_values(item, json, path): ret.description = json[key] elif key == 'info': ret.info = json[key] + elif key == 'subtitle': + ret.subtitle = json[key] if not ret.thumb: if 'get_search_menu' in inspect.stack()[1][3]: