From bbc0b703682ada917bdb98dcba7785431eb39827 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 21 May 2018 22:13:08 +0200 Subject: [PATCH] tv4play: remove some old option code --- lib/svtplay_dl/service/tv4play.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index e1239d7..4c6cd11 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -72,11 +72,10 @@ class Tv4play(Service, OpenGraphThumbMixin): yield ServiceError("Can't download something that is not started.") return - if self.options.get("output_auto"): - basename = self._autoname(vid) - if not basename: - yield ServiceError("Cant find vid id for autonaming.") - return + basename = self._autoname(vid) + if not basename: + yield ServiceError("Cant find vid id for autonaming.") + return for i in sa: if i.find("mediaFormat").text == "mp4":