- Fix e Migliorie Videoteca

- Server in finestra come default (per canali e videoteca)
This commit is contained in:
Alhaziel01
2021-06-04 10:57:45 +02:00
parent ef8f78ea07
commit e6b28189dd
10 changed files with 202 additions and 121 deletions
+2
View File
@@ -394,6 +394,8 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
if scraped['episode'] and group and not item.grouped: # some adjustment for grouping feature
it.action = function
it.window = True if item.window_type == 1 or (config.get_setting("window_type") == 0) else False
if it.window: it.folder = False
# for lg in list(set(listGroups).difference(known_keys)):
# it.__setattr__(lg, match[listGroups.index(lg)])
for lg in list(set(match.keys()).difference(known_keys)):
+1 -1
View File
@@ -1002,7 +1002,7 @@ def get_local_files(path, item):
sql = 'SELECT c22, uniqueid_value FROM movie_view WHERE uniqueid_type != "kod"'
n, records = execute_sql_kodi(sql)
if records:
local_files['db']= [r[0] for r in records if r[1] in item.infoLabels['code']]
local_files['db']= [r[0] for r in records if r[1] in item.infoLabels['code'] and not r[0].endswith('strm')]
else:
# search on path: