Supporto 2 domini StreamSB, migliorie minori

This commit is contained in:
marco
2022-05-26 20:41:50 +02:00
parent 074e7b9c79
commit ebd3473750
5 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ def play(item):
info = support.match(url, patron=r'LANGUAGE="([^"]+)",\s*URI="([^"]+)|RESOLUTION=\d+x(\d+).*?(http[^"\s]+)').matches
if info:
for lang, sub, res, url in info:
if sub:
if sub and not logger.testMode: # ai test non piace questa parte
if lang == 'auto': lang = 'ita-forced'
s = config.get_temp_file(lang +'.srt')
subs.append(s)