music: a
This commit is contained in:
parent
28481c2775
commit
046b49666d
1 changed files with 0 additions and 1 deletions
|
@ -215,7 +215,6 @@ async function enqueue({
|
||||||
.replace(".webp", ".jpg");
|
.replace(".webp", ".jpg");
|
||||||
|
|
||||||
const formats = info?.format;
|
const formats = info?.format;
|
||||||
let url;
|
|
||||||
if (formats) {
|
if (formats) {
|
||||||
formats.sort((a, b) => b.bitrate - a.bitrate);
|
formats.sort((a, b) => b.bitrate - a.bitrate);
|
||||||
media = formats[0].url;
|
media = formats[0].url;
|
||||||
|
|
Loading…
Reference in a new issue