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.52k stars 1.61k forks source link

Cant verify downloading with Premium is possible/happening #2007

Closed solisinvictum closed 7 months ago

solisinvictum commented 10 months ago

System OS

Linux

Python Version

3.7 (CPython)

Install Source

pip / PyPi

Install version / commit hash

latest

Expected Behavior vs Actual Behavior

No response

Steps to reproduce - Ensure to include actual links!

Use spotdl

Traceback

n/A

Other details

Im still figuring out (since months... https://github.com/spotDL/spotify-downloader/issues/1951 ) how i can download the best quality with spotdl (youtube-dl works fine, there i can simply specify).

Not only, that everytime, it downloads different qualities (i think the code for deciding best quality isnt working) everytime (even same song), also i cant verify simply commands/flags.

I still try to debug/find out, if that with the youtube music premium cookie is working. Because even if you specify to download XYZ List, and use the --cookie-file option, it seems not to be respected.

For example:

spotdl --output "/mnt/nfs_luna/Downloads/Youtube/Musik/{list-name}/{artist} - {title}.{output-ext}" --format opus --bitrate disable --cookie-file /home/user/cookie.txt --only-verified-results --log-level DEBUG https://open.spotify.com/playlist/37i9dQZF1DZ06evO1vr63S?si=56f8f6a2249e4950

Spits the same out, like this (without a information, warning, error or what ever! it simply starts download):

spotdl --output "/mnt/nfs_luna/Downloads/Youtube/Musik/{list-name}/{artist} - {title}.{output-ext}" --format opus --bitrate disable --cookie-file /home/user/this_cookie_dont_exist_but_diwezrh3we98r324975r2389.txt --only-verified-results --log-level DEBUG https://open.spotify.com/playlist/37i9dQZF1DZ06evO1vr63S?si=56f8f6a2249e4950

How can i verify, that spotdl is ACTUALLY successfully "logged in" in youtube music premium and is downloading the best quality?

jnxr commented 10 months ago

How can i verify, that spotdl is ACTUALLY successfully "logged in" in youtube music premium and is downloading the best quality?

If you go through #1951 then you can see that there's a prompt which I have made and shared screenshots and other info of the downloaded file. So you already have the info about what works and how to get it to work. By cross verifying it, you can determine that it works [it is working right now]. I can only show you that it works, you need to spend more time testing it thoroughly with various prompts to figure out your own custom prompt and what works for you.

PS: Also, opus doesn't give the high bitrate stream, it gives the opus stream which for which the cookie file is not needed. For the HQ stream you need to have --format m4a, and --bitrate-disable in the options.

PPS: I am also using a Windows VM just in case that could be a variable.

stale[bot] commented 8 months ago

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.