fix audio_multistream to audio_multistreams
This commit is contained in:
parent
f8e4f65628
commit
c7962486f3
|
|
@ -175,7 +175,7 @@ class VideoDownloader(DownloaderBase):
|
|||
format_sort_list = [i.strip() for i in format_sort.split(",")]
|
||||
self.obs["format_sort"] = format_sort_list
|
||||
if self.config["downloads"].get("audio_multistream"):
|
||||
self.obs["audio_multistream"] = True
|
||||
self.obs["audio_multistreams"] = True
|
||||
if self.config["downloads"]["limit_speed"]:
|
||||
self.obs["ratelimit"] = (
|
||||
self.config["downloads"]["limit_speed"] * 1024
|
||||
|
|
@ -206,7 +206,7 @@ class VideoDownloader(DownloaderBase):
|
|||
if overwrites and overwrites.get("download_format"):
|
||||
obs["format"] = overwrites.get("download_format")
|
||||
if overwrites and overwrites.get("audio_multistream") is not None:
|
||||
obs["audio_multistream"] = overwrites.get("audio_multistream")
|
||||
obs["audio_multistreams"] = overwrites.get("audio_multistream")
|
||||
|
||||
def _dl_single_vid(self, youtube_id: str, channel_id: str) -> bool:
|
||||
"""download single video"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue