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.45k stars 1.6k forks source link

Web does not download files to directory where you start the spotdl-4.2.4-wind32.exe #2017

Closed obertscloud closed 7 months ago

obertscloud commented 9 months ago

System OS

Windows

Python Version

3.7 (CPython)

Install Source

pip / PyPi

Install version / commit hash

4.2.4

Expected Behavior vs Actual Behavior

According to docs Where does spotDL download songs?¤ spotDL downloads files to the folder where you ran spotDL from.

Steps to reproduce - Ensure to include actual links!

create a test directory copy spotdl-4.2.4-win32.exe to the test directory run it
add a playlist verifies Downloaded "Sidney Samson - Your Way": https://music.youtube.com/watch?v=oNFlkJz6KX0 INFO: ::1:57282 - "POST /api/download/url?url=https:%2F%2Fopen.spotify.com%2Ftrack%2F1vBaRxyvTs7pf9je2jYM02&client_id=6a061652-76ad-4f67-8593-8206c6034069 HTTP/1.1" 200 OK

for example but there are no files there, I can manually click download on the download button for each track but that sucks

Traceback

Downloaded "Sidney Samson - Your Way": https://music.youtube.com/watch?v=oNFlkJz6KX0
INFO:     ::1:57282 - "POST /api/download/url?url=https:%2F%2Fopen.spotify.com%2Ftrack%2F1vBaRxyvTs7pf9je2jYM02&client_id=6a061652-76ad-4f67-8593-8206c6034069 HTTP/1.1" 200 OK

Other details

No response

ra0943-VK3ACH commented 9 months ago

it is downloading just not saving the files. You have to specify an output dir. On Linux i use ./spotdl web --web-use-output-dir --output ./music ill do some testing on windows when i get home from work

obertscloud commented 9 months ago

I'm on windows and did select director let me know when its works. Thanks for the reply

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: ra0943-VK3ACH @.> Sent: Tuesday, January 30, 2024 6:07:53 AM To: spotDL/spotify-downloader @.> Cc: obertscloud @.>; Author @.> Subject: Re: [spotDL/spotify-downloader] Web does not download files to directory where you start the spotdl-4.2.4-wind32.exe (Issue #2017)

it is downloading just not saving the files. You have to specify an output dir. On Linux i use ./spotdl web --web-use-output-dir --output ./music ill do some testing on windows when i get home from work

— Reply to this email directly, view it on GitHubhttps://github.com/spotDL/spotify-downloader/issues/2017#issuecomment-1916085012, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACDALQOS53ETHL7BDLF3FPDYRB52TAVCNFSM6AAAAABCP7VPOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGA4DKMBRGI. You are receiving this because you authored the thread.Message ID: @.***>

aristides86 commented 8 months ago

Here's an example of a command line to download a song on windows (spotdl-4.2.4-win32.exe is in the root of C drive) c:\>spotdl-4.2.4-win32.exe https://open.spotify.com/track/2e3g8go386Zn6EyIz60Ci9 --web-use-output-dir --output C:/Spotify

You can modify it with additional parameters like file format, bitrate and so on. Use c:\>spotdl-4.2.4-win32.exe --help to see the full list of parameters.