1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00

svtplay: Add syntolkat and teckentolkat to filename

svtplay: Readds syntolkat and teckentolkat to autogenerated filename. 
Solves https://github.com/spaam/svtplay-dl/issues/542
This commit is contained in:
qnorsten 2017-02-03 09:32:27 +01:00
parent c781bd1bb8
commit de0fa8a715

View File

@ -225,6 +225,10 @@ class Svtplay(Service, OpenGraphThumbMixin):
title += ".%s" % season title += ".%s" % season
if other: if other:
title += ".%s" % other title += ".%s" % other
if data["video"]["accessServices"]["audioDescription"]:
title+="-syntolkat"
if data["video"]["accessServices"]["signInterpretation"]:
title+="-teckentolkat"
title += "-%s-svtplay" % id title += "-%s-svtplay" % id
title = filenamify(title) title = filenamify(title)
if len(directory): if len(directory):