1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +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
if other:
title += ".%s" % other
if data["video"]["accessServices"]["audioDescription"]:
title+="-syntolkat"
if data["video"]["accessServices"]["signInterpretation"]:
title+="-teckentolkat"
title += "-%s-svtplay" % id
title = filenamify(title)
if len(directory):