Package Details: librespot 0.4.2-1

Git Clone URL: https://aur.archlinux.org/librespot.git (read-only, click to copy)
Package Base: librespot
Description: Open source client library for Spotify
Upstream URL: https://github.com/librespot-org/librespot
Keywords: music spotify
Licenses: MIT
Submitter: flipflop97
Maintainer: FirstAirBender
Last Packager: lmartinez-mirror
Votes: 4
Popularity: 0.85
First Submitted: 2021-02-20 13:59 (UTC)
Last Updated: 2023-01-22 02:48 (UTC)

Latest Comments

johnhamelink commented on 2023-01-23 02:52 (UTC)

For me, the gpg --recv-keys EC57B7376EAFF1A0BB56BB0187F5FDE8A56219F4 command for Roderick van Domburg's key was not working - gpg would return gpg: keyserver receive failed: No data.

I was able to get past this manually with curl https://github.com/roderickvd.gpg | gpg --import.

flipflop97 commented on 2022-05-08 13:10 (UTC)

Do you mean disabling the other features too? Those only add extra optional audio backends which can be nice to have depending on your platform. AFAIK they don't break anything, but let me know if they do!

whynothugo commented on 2022-05-04 22:04 (UTC)

Thanks for the fix! I tried patching this upstream... but am blocked due to builds failing on some older Rust versions they still support. So this is a saver!

BTW: does anything break if you diverge from the upstream default features like librespot-git does? It might be a "more arch" approach, if feasible.

flipflop97 commented on 2022-05-04 10:59 (UTC)

Ah, I see now. Apparently with-dns-sd also replaces a feature instead of adding one, so it would be better anyway to not enable that. I'll update the package to exclude that one!

whynothugo commented on 2022-05-03 16:22 (UTC)

Build works fine, it crashes at runtime because the with-dns-sd requires avahi to be running (which is incompatible with my current setup).

> librespot
[2022-05-03T16:21:40Z INFO  librespot] librespot 0.3.1 UNKNOWN (Built on 2021-11-02, Build ID: Y3igu3p7, Profile: release)
*** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DNSError(Unknown)', discovery/src/lib.rs:115:18
stack backtrace:
   0:     0x559510d5ab4c - <unknown>
   1:     0x559510d819ec - <unknown>
   2:     0x559510d53915 - <unknown>
   3:     0x559510d5c8a0 - <unknown>
   4:     0x559510d5c457 - <unknown>
   5:     0x559510d5cf54 - <unknown>
   6:     0x559510d5ca30 - <unknown>
   7:     0x559510d5aff4 - <unknown>
   8:     0x559510d5c999 - <unknown>
   9:     0x55951090fc71 - <unknown>
  10:     0x55951090fd63 - <unknown>
  11:     0x5595109fd0db - <unknown>
  12:     0x55951097d864 - <unknown>
  13:     0x55951093f39c - <unknown>
  14:     0x5595109b660d - <unknown>
  15:     0x559510944ef4 - <unknown>
  16:     0x5595109b6fe3 - <unknown>
  17:     0x5595109ab419 - <unknown>
  18:     0x559510d5d55a - <unknown>
  19:     0x559510945012 - main
  20:     0x7f5fd61d7310 - __libc_start_call_main
  21:     0x7f5fd61d73c1 - __libc_start_main@GLIBC_2.2.5
  22:     0x55951091044e - <unknown>
  23:                0x0 - <unknown>

The feature is disabled by default though, so I'm not sure if it's right to report this upstream.

flipflop97 commented on 2022-05-03 14:03 (UTC)

@whynothugo

Building for me works in a clean chroot, does it do that for you too? Can you post the error that appears during your build?

whynothugo commented on 2022-05-02 20:43 (UTC)

Can you set the feature to the default-upstream features?

Building from upstream works, but this package doesn't due to --all-features. In particular, with-dns-sd fails when not using Avahi.

flipflop97 commented on 2021-06-21 17:20 (UTC)

@whynothugo

Thanks for noticing, I've updated the comment!

whynothugo commented on 2021-06-21 08:29 (UTC)

A hint on the upcoming user service file, target name is wrong:

-# install -Dm644 contrib/librespot.user.service ${pkgdir}/usr/lib/systemd/user/librespot.user.service
+# install -Dm644 contrib/librespot.user.service ${pkgdir}/usr/lib/systemd/user/librespot.service

whynothugo commented on 2021-06-17 21:58 (UTC)

Can you also install the systemd.service file included upstream?