mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
rtmp: generate correct filename
This commit is contained in:
parent
55b07c1dfb
commit
d3799d7660
@ -6,7 +6,7 @@ import shlex
|
||||
|
||||
from svtplay_dl.log import log
|
||||
from svtplay_dl.fetcher import VideoRetriever
|
||||
from svtplay_dl.utils.output import output
|
||||
from svtplay_dl.utils.output import output, formatname
|
||||
|
||||
|
||||
class RTMP(VideoRetriever):
|
||||
@ -26,8 +26,8 @@ class RTMP(VideoRetriever):
|
||||
file_d = output(self.output, self.config, "flv", False)
|
||||
if file_d is None:
|
||||
return
|
||||
args += ["-o", self.output]
|
||||
if self.options.silent:
|
||||
args += ["-o", formatname(self.output, self.config, "flv")]
|
||||
if self.config.get("silent"):
|
||||
args.append("-q")
|
||||
if self.kwargs.get("other"):
|
||||
args += shlex.split(self.kwargs.pop("other"))
|
||||
|
Loading…
Reference in New Issue
Block a user