Package Details: squeezelite 2.0.0.1488-1

Git Clone URL: https://aur.archlinux.org/squeezelite.git (read-only, click to copy)
Package Base: squeezelite
Description: Lightweight headless squeezebox emulator
Upstream URL: https://github.com/ralph-irving/squeezelite
Licenses: GPL3
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 4
Popularity: 0.123337
First Submitted: 2018-12-04 23:14 (UTC)
Last Updated: 2024-06-23 08:57 (UTC)

Latest Comments

1 2 Next › Last »

davison commented on 2024-06-22 23:20 (UTC)

I think the commit hash in the PKGBUILD needs updating to 0e85ddfd79337cdc30b7d29922b1d790600bb6b4 - this is the commit that provided support for ffmpeg 7

sardaukar commented on 2024-06-21 21:32 (UTC)

No longer builds with newer FFMpeg:

ffmpeg.c: In function ‘ff_decode’:
ffmpeg.c:346:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  346 |                 codec = AVCODEC(ff, find_decoder, ff->codecP->codec_id);
      |                       ^
In file included from ffmpeg.c:22:
ffmpeg.c:420:95: error: ‘AVCodecContext’ has no member named ‘channels’
  420 |                         LOG_SDEBUG("got audio channels: %u samples: %u format: %u", ff->codecC->channels, ff->frame->nb_samples,
      |                                                                                               ^~
squeezelite.h:467:123: note: in definition of macro ‘LOG_SDEBUG’
  467 | #define LOG_SDEBUG(fmt, ...) if (loglevel >= lSDEBUG) logprint("%s %s:%d " fmt "\n", logtime(), __FUNCTION__, __LINE__, ##__VA_ARGS__)
      |                                                                                                                           ^~~~~~~~~~~
ffmpeg.c:445:47: error: ‘AVCodecContext’ has no member named ‘channels’
  445 |                                 if (ff->codecC->channels == 2) {
      |                                               ^~
ffmpeg.c:480:54: error: ‘AVCodecContext’ has no member named ‘channels’
  480 |                                 } else if (ff->codecC->channels == 1) {
      |                                                      ^~
ffmpeg.c: In function ‘ff_open_wma’:
ffmpeg.c:584:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  584 |         ff->input_format = AV(ff, find_input_format, "asf");
      |                          ^
ffmpeg.c: In function ‘ff_open_alac’:
ffmpeg.c:600:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  600 |         ff->input_format = AV(ff, find_input_format, "mp4");
      |                          ^
make: *** [Makefile:181: ffmpeg.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: squeezelite-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
squeezelite - exit status 4

snakeroot commented on 2022-09-19 18:35 (UTC)

The flac package in extra was updated to version 1.4.0-1 on 16 September, 2022.

Squeezelite now throws the following error on startup:

squeezelite: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

I compiled and installed squeezelite-git, which did not throw this error. Thus, I'd imagine you just need to recompile the non -git package.

snakeroot commented on 2022-09-12 19:33 (UTC)

This seems to be an upstream problem and has been reported upstream.

To get squeezlite to work as a systemd service on a system running pipewire in pulseaudio emulation mode, I had to tweak the service to run as a "--user" service rather than a system service.

gps1539 commented on 2022-03-04 19:47 (UTC)

Fails to build

"make: *** [Makefile:162: ffmpeg.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... -> error making: squeezelite"

thefrip commented on 2021-11-21 05:44 (UTC)

I recommend to add -DGPIO to the compile options as it enables the -S option for adding a power script (even on non RPi build)

BumptiousNoob commented on 2021-05-19 23:16 (UTC) (edited on 2021-05-19 23:20 (UTC) by BumptiousNoob)

Sure; moreover, network.target must be changed to network-online.target, or MAC will be declared as 00:00:00:00:00:00 instead of real one while booting. Requiered= part not needed. For me, at least.

blackhole commented on 2021-05-05 08:30 (UTC) (edited on 2021-05-05 08:31 (UTC) by blackhole)

I think that the systemd service should have sound.target:

[Unit]

Description=Squeezelite Player

Requires=sound.target

After=network.target sound.target

Otherwise after a reboot the service could fail if sound system is not up yet

e-v commented on 2019-11-27 01:25 (UTC) (edited on 2022-01-29 01:13 (UTC) by e-v)

@mikebutash Please try the new PKGBUILD I wrote for the git version https://git.sr.ht/~e-v/aur-squeezelite-git and let me know if it works on your installation.