spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.59k stars 1.61k forks source link

Soundcloud downloads at the lowest quality and with mono audio #2191

Open LunarN0v4 opened 2 months ago

LunarN0v4 commented 2 months ago

System OS

Linux

Python Version

3.8 (CPython)

Install Source

pip / PyPi

Install version / commit hash

v4.2.5

Expected Behavior vs Actual Behavior

I expected spotDL to download from Soundcloud in the highest quality with stereo audio possible (the song plays in that way on Soundcloud), but instead I received a low-quality mono MP3.

Steps to reproduce - Ensure to include actual links!

  1. Run python -m spotdl download "https://soundcloud.com/vyletpony/narcissus|https://open.spotify.com/track/2ffKR2aAHqefl2hWLf3b6A" --user-auth --config --lyrics synced --cookie-file ./../cookies.txt
  2. SpotDL dumps a low quality MP3 with no errors

Traceback

Processing query: https://soundcloud.com/vyletpony/narcissus|https://open.spotify.com/track/2ffKR2aAHqefl2hWLf3b6A                                                                                                
Downloaded "Vylet Pony - Narcissus": https://soundcloud.com/vyletpony/narcissus

Other details

I am using Python 3.12.6-1 on Arch Linux with PIP 24.2
spotDL was installed from PyPi and indicates no updates being available.

xnetcat commented 1 month ago

I will look into this, in the meantime can you try downloading the soundcloud track with yt-dlp?

LunarN0v4 commented 1 month ago

I will look into this, in the meantime can you try downloading the soundcloud track with yt-dlp?

This works fine, not sure why: yt-dlp https://soundcloud.com/vyletpony/narcissus --cookies ./../cookies.txt -f mp3