Skip to content

Commit

Permalink
Fix playlist not downloading right quality
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrew-me committed Jan 16, 2023
1 parent cec6df1 commit be0d42c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions flatpak/me.aandrew.ytdownloader.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<content_rating type="oars-1.1"/>

<releases>
<release version="3.10.3" date="2023-1-16"/>
<release version="3.10.2" date="2023-1-3"/>
<release version="3.10.1" date="2022-12-26"/>
<release version="3.10.0" date="2022-12-24"/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"yt-dlp-wrap-plus": "^2.3.16"
},
"name": "ytdownloader",
"version": "3.10.2",
"version": "3.10.3",
"main": "main.js",
"scripts": {
"start": "electron .",
Expand Down
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function toggle() {
circle.style.left = "0px";

root.style.setProperty("--background", "whitesmoke");
root.style.setProperty("--text", "rgb(45, 45, 45)");
root.style.setProperty("--text", "rgb(255, 255, 255)");
root.style.setProperty("--box-main", "rgb(174 249 224)");
root.style.setProperty("--box-toggle", "rgb(108, 231, 190)");
root.style.setProperty("--theme-toggle", "rgb(147, 174, 185)");
Expand Down
2 changes: 1 addition & 1 deletion src/playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function download(type) {
format = ""
}
else {
format = `-f "mp4[height<=${quality}]+m4a/mp4[height<=${quality}]/bv[height<=${quality}]+ba/best[height<=${quality}]/best"`;
format = `-f "bv*[height<=${quality}]+ba/best"`;
}
} else {
format = getId("audioSelect").value;
Expand Down

0 comments on commit be0d42c

Please sign in to comment.