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

PermissionError while downloading #2219

Open mikinis111 opened 5 hours ago

mikinis111 commented 5 hours ago

System OS

Windows

Python Version

3.11 (CPython)

Install Source

GitHub

Install version / commit hash

v4.2.8

Expected Behavior vs Actual Behavior

I expect Spotdl to download my spotify playlist, but instead I get permission error.

Steps to reproduce - Ensure to include actual links!

  1. Run cmd as admin
  2. spotdl-4.2.8-win32.exe download "https://open.spotify.com/playlist/4IPy93GOKqK15Oj4iPGF49?si=da0e53d269334d91" --ffmpeg "C:\Program Files (x86)\ffmpeg-7.0.2-full_build\bin"

Traceback

`Processing query: https://open.spotify.com/playlist/4IPy93GOKqK15Oj4iPGF49?si=da0e53d269334d91
Found 6 songs in Ruski post-punk (Playlist)
PermissionError: [WinError 5] Odmowa dostępu
PermissionError: [WinError 5] Odmowa dostępu
PermissionError: [WinError 5] Odmowa dostępu
PermissionError: [WinError 5] Odmowa dostępu
PermissionError: [WinError 5] Odmowa dostępu
PermissionError: [WinError 5] Odmowa dostępu`

Other details

My ffmpeg version is 7.0.2, my python version is 3.12.7 and "Odmowa dostępu" from my output means access denied in Polish. As I said, I'm running spotdl as an admin, running as a regular user leads to the same error. Downloading one song leads to the same error. I'm running an exe file because I'm too lame to add Python packages location to PATH. I mean I tried, but it didn't work. Any help appreciated.

Silverarmor commented 5 hours ago

Where are you running the file (working/active directory)? Is it read only/restricted?

mikinis111 commented 4 hours ago

Where are you running the file (working/active directory)? Is it read only/restricted?

It's my main user's desktop folder, admin should have full access shouldn't they?