Package Details: spotdl 4.2.10-1

Git Clone URL: https://aur.archlinux.org/spotdl.git (read-only, click to copy)
Package Base: spotdl
Description: Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
Upstream URL: https://github.com/spotDL/spotify-downloader
Keywords: download-music mp3 music playlists song song-lyrics spotify youtube-music
Licenses: MIT
Conflicts: python-spotdl
Provides: python-spotdl
Replaces: python-spotdl
Submitter: zoorat
Maintainer: zoorat (pekkarr, aminvakil)
Last Packager: aminvakil
Votes: 25
Popularity: 0.90
First Submitted: 2024-03-31 19:44 (UTC)
Last Updated: 2024-11-19 09:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

aminvakil commented on 2022-05-20 09:29 (UTC)

@txtsd Oh, can you please name the other package too?

txtsd commented on 2022-05-20 09:27 (UTC)

It conflicts with other packages that erroneously install the tests folder like this:

error: failed to commit transaction (conflicting files)
icoextract: /usr/lib/python3.10/site-packages/tests/__init__.py exists in filesystem (owned by python-spotdl)
icoextract: /usr/lib/python3.10/site-packages/tests/__pycache__/__init__.cpython-310.opt-1.pyc exists in filesystem (owned by python-spotdl)
icoextract: /usr/lib/python3.10/site-packages/tests/__pycache__/__init__.cpython-310.pyc exists in filesystem (owned by python-spotdl)

aminvakil commented on 2022-05-20 09:23 (UTC)

@txtsd Thanks for your suggestion, there isn't a should for this (at least I have not seen removing tests folder in Arch official guidelines) and AFAICS for this package tests package is only 4 MB.

txtsd commented on 2022-05-19 15:37 (UTC)

No package should be installing the tests folder.

Please add this to the package() function:

local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm -rf "${pkgdir}${site_packages}/tests/"

aminvakil commented on 2022-04-24 14:14 (UTC)

@pekkarr @Sir_Willy: You're right.

I've created a pull request (https://github.com/aminvakil/aur/pull/129) adding these dependencies, also added a test after makepkg which does this:

spotdl --version
spotdl https://open.spotify.com/track/7kriFJLY2KOhw5en9iI2jb

to make sure spotdl can be run correctly after makepkg.

Package is broken right now for sure, but I will wait and merge this tomorrow to make sure other maintainers are OK with this as well.

pekkarr commented on 2022-04-24 11:55 (UTC)

@Sir_Willy is right, simply running spotdl gives this error if python-brotli, python-websockets and python-pycryptodomex are not installed, so these should be added in depends.

According to yt-dlp README these are optional dependencies of yt-dlp and the yt-dlp Arch package lists them in optdepends (python-brotli is missing though), but in yt-dlp setup.py they are listed in install_requires indicating that they are mandatory.

Usually this isn't a problem, but python-spotdl imports the legacy pkg_resources module that checks on import that all dependencies are installed and fails if some of them are missing.

aminvakil commented on 2022-04-24 10:43 (UTC) (edited on 2022-04-24 10:43 (UTC) by aminvakil)

@Sir_Willy You need to install these packages prior to installing python-spotdl:

aur.archlinux.org/packages/python-rapidfuzz-capi
aur.archlinux.org/packages/python-jarowinkler
aur.archlinux.org/packages/python-spotipy
aur.archlinux.org/packages/python-pytube
aur.archlinux.org/packages/python-rapidfuzz
aur.archlinux.org/packages/python-ytmusicapi

zoorat commented on 2022-04-23 03:28 (UTC)

@Sir_Willy check this file out https://github.com/spotDL/spotify-downloader/blob/master/setup.cfg

if this file asks to install pycryptodomex, brotli, websockets then we will add those as dependencies... my guess is those are installed by deps already...

Sir_Willy commented on 2022-04-22 23:08 (UTC)

Compiling and installing works flawlessly, when running spotdl however python-pycryptodomex python-brotli python-websockets seem to be missing as dependencies.