Question: How to download music with the highest possible quality with spotdl 4.0.1?

See original GitHub issue

Requested Feature

Hi developers! I recently updated spotdl to version 4.0.1 with python-pip And I’ve noticed that the way to download music with the highest possible quality has changed. As an example I have a song downloaded with spotdl 3.9.6 with 240 kbps (spotdl <url>) Now that same song using this new version has 128 kbps (spotdl download <url>)

Also in 3.9.6 this command was invoked using yt-dlp: yt-dlp -x --audio-format mp3 --audio-quality 0 <url> But in 4.0.1 this doesn’t seem to be the case.

Could any of you help me with this. Thanks!

Possible implementation

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
xnetcatcommented, Dec 2, 2022

Would it be possible to keep the vorbis format without any conversion to mp3 ?

What do you mean by this, the files we download from youtube are either webm/m4a. If you don’t want any conversion you can use --format flac/m4a because they don’t re-encode the files (also they are way faster because ffmpeg only copies the audio stream from one file to another)

Just found your comment. Yesterday I opened an feature request because I couldn’t find a way to avoid the ffmpeg conversion. I did try using “–format m4a” and not specifying bitrate, but conversion is made anyway. Could this be a bug?

That’s a bug, next version will add --preserve-audio option to skip the conversion step for m4a and opus files.

1reaction
ghostcommented, Nov 30, 2022

Great! I guess this would be a temporary solution. Let’s see what happens, and as you say hopefully the change won’t break the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prefer highest quality music file · Issue #1247 · spotDL/spotify ...
Problem many people doesn't like mp3 codec these days, they prefer the original downloaded file. So that's why I'm creating this feature ...
Read more >
spotdl - PyPI
Download your Spotify playlists and songs along with album art and metadata. ... of spotDL: still the fastest, easiest and most accurate command-line...
Read more >
Spotify-Downloader - Bountysource
Question: How to download music with the highest possible quality with spotdl 4.0.1 ? ... I recently updated spotdl to version 4.0.1 with...
Read more >
Download music tracks, playlists, albums from Spotify using ...
Download music tracks, playlists, albums from Spotify using spotDL ... SpotDL is a cross-platform command-line utility written in Python via ...
Read more >
spotDL
Download your Spotify playlists and songs along with album art and metadata.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found