Package Details: spotdl 4.2.5-5

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: pekkarr
Votes: 20
Popularity: 0.70
First Submitted: 2024-03-31 19:44 (UTC)
Last Updated: 2024-04-27 11:57 (UTC)

Latest Comments

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

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.

zoorat commented on 2021-12-02 20:01 (UTC)

@pekkarr thanks for the info. i will fix it as soon as possible.

pekkarr commented on 2021-12-02 19:59 (UTC)

@zoorat having license as a separate source is unnecessary, because the license file is already included in the source tarball. It's located in $srcdir/spotdl-$pkgver/LICENSE during build.

zoorat commented on 2021-10-27 02:49 (UTC)

@gesh i agree with you. but, keeping my package working is my first priority. for this, i wrote patch before to keep my package working flawlessly.

gesh commented on 2021-10-26 14:00 (UTC)

Hrm… all versions of yt-dlp listed above have python-pycryptodome as a dep… Unless you're building with a simple makepkg && pacman -U? It's possible that doesn't do dependency checking, try makepkg -si instead