1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

output: we can have separate a/v stream in .ts but there is no extension to separate them

fixes: #902
This commit is contained in:
Johan Andersson 2018-05-24 21:15:14 +02:00
parent 1167b5c3cf
commit 30f09b4bad

View File

@ -209,6 +209,8 @@ def findexpisode(output, directory, name):
elif lsext[1:] not in subtitlefiles and lsext[1:] not in ["m4a"]: elif lsext[1:] not in subtitlefiles and lsext[1:] not in ["m4a"]:
if output["id"] and output["service"]: if output["id"] and output["service"]:
if name.find(output["service"]) > 0 and lsname.find(output["id"]) > 0: if name.find(output["service"]) > 0 and lsname.find(output["id"]) > 0:
if lsext == ".ts" and orgext == lsext and lsname.find(".audio"):
return False
return True return True
return False return False