aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2021-12-21 10:37:05 +0200
committerGitHub <noreply@github.com>2021-12-21 10:37:05 +0200
commit743cff1c87106a85d53079d006e8e13b5560a855 (patch)
tree14d2b96233a7361bbabc956a77062cfdacf9fafd /app
parentalways set mp3 quality (closes #93) (diff)
downloadmetube-743cff1c87106a85d53079d006e8e13b5560a855.tar.gz
metube-743cff1c87106a85d53079d006e8e13b5560a855.tar.bz2
metube-743cff1c87106a85d53079d006e8e13b5560a855.zip
fix typo (closes #94)
Diffstat (limited to 'app')
-rw-r--r--app/dl_formats.py2
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"})
bgstack15