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

viafree: Change autonaming from tv3play to viafree

Change part autogenerated file names from tv3play to viafree
This commit is contained in:
qnorsten 2017-02-03 10:37:47 +01:00
parent 487a9d5ee8
commit a2bb75569a

View File

@ -135,6 +135,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
if self.options.output_auto: if self.options.output_auto:
directory = os.path.dirname(self.options.output) directory = os.path.dirname(self.options.output)
self.options.service = "tv3play" self.options.service = "tv3play"
self.options.service = "viafree"
basename = self._autoname(dataj) basename = self._autoname(dataj)
title = "%s-%s-%s" % (basename, vid, self.options.service) title = "%s-%s-%s" % (basename, vid, self.options.service)
if len(directory): if len(directory):