diff options
author | Alex <alexta69@gmail.com> | 2021-12-21 10:37:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 10:37:05 +0200 |
commit | 743cff1c87106a85d53079d006e8e13b5560a855 (patch) | |
tree | 14d2b96233a7361bbabc956a77062cfdacf9fafd | |
parent | always set mp3 quality (closes #93) (diff) | |
download | metube-743cff1c87106a85d53079d006e8e13b5560a855.tar.gz metube-743cff1c87106a85d53079d006e8e13b5560a855.tar.bz2 metube-743cff1c87106a85d53079d006e8e13b5560a855.zip |
fix typo (closes #94)
-rw-r--r-- | app/dl_formats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dl_formats.py b/app/dl_formats.py index 2a5bb5a..c06b93b 100644 --- a/app/dl_formats.py +++ b/app/dl_formats.py @@ -60,7 +60,7 @@ def get_opts(format: str, quality: str, ytdl_opts: dict) -> dict: opts["postprocessors"].append({ "key": "FFmpegExtractAudio", "preferredcodec": "mp3", - "preferredquality": 0 if quality == "best" else quality}, + "preferredquality": 0 if quality == "best" else quality, }) opts["writethumbnail"] = True opts["postprocessors"].append({"key": "FFmpegMetadata"}) |