@pinkdot, please can you double-check with htop to see if you have any running librespot processes?
Hi tuxx,
No, Htop won't show the service. Librespot does run if I start it manually. But after a restart it fails. I changed the service and added the StartLimitInterval=30 and StartLimitBurst=20. This seems to do the job. After a restart Librespot starts!
Code:
[Service]
EnvironmentFile=/etc/librespot.conf
ExecStart=/usr/bin/librespot \
--cache ${LIBRESPOT_CACHE} \
--name %H \
--device plughw:0 \
--bitrate ${LIBRESPOT_BITRATE} \
--username ${LIBRESPOT_USERNAME} \
--password ${LIBRESPOT_PASSWORD} \
--initial-volume 85
Restart=always
RestartSec=10
StartLimitInterval=30
StartLimitBurst=20
User=librespot
Group=audio
The direct link above is wrong. The manual can be found here:
http://archphile.org/manual/archphile-manual.pdf
@Rucia1, at this stage I only support Spotify. I don't use tidal and I can't help in troubleshooting.
http://archphile.org/manual/archphile-manual.pdf
@Rucia1, at this stage I only support Spotify. I don't use tidal and I can't help in troubleshooting.
Hi tuxx,
No, Htop won't show the service. Librespot does run if I start it manually. But after a restart it fails. I changed the service and added the StartLimitInterval=30 and StartLimitBurst=20. This seems to do the job. After a restart Librespot starts!
Code:[Service] EnvironmentFile=/etc/librespot.conf ExecStart=/usr/bin/librespot \ --cache ${LIBRESPOT_CACHE} \ --name %H \ --device plughw:0 \ --bitrate ${LIBRESPOT_BITRATE} \ --username ${LIBRESPOT_USERNAME} \ --password ${LIBRESPOT_PASSWORD} \ --initial-volume 85 Restart=always RestartSec=10 StartLimitInterval=30 StartLimitBurst=20 User=librespot Group=audio
Thanks for the feedback pinkdot. It's really strange because I have been using Spotify in both RPI and Odroid C2 without any issues.
I will do my search and maybe I will add these options by default.
Looking at your file, I assume that you don't use the latest image, right?
M.
Last edited:
The direct link above is wrong. The manual can be found here:
http://archphile.org/manual/archphile-manual.pdf
This is one hard-core manual! More like a textbook for MPD on Archlinux. 😛
Well done! 😀
I do, but let me reflash the image on another sd card and try again. I'll report back .Looking at your file, I assume that you don't use the latest image, right?
M.
Still the same, flashed a new image but I have to add the extra lines to the service to get Librespot running after a reboot.I do, but let me reflash the image on another sd card and try again. I'll report back .
Is there a simple way to make alsactl store persistent? After a reboot all settings are restored to 100%? I know that this is as intended, but the output is way to high for my amp. To reduce the alsa output allows me to set a more accurate amp volume.
Alsactl restore works but not during startup. So I have to rum the command manually. Any hints?
Εverything is restored to 100% (0dB), because I have set it up to do this in order to achieve a bit perfect result.
During all these years only some I2S dacs (and that was fixed) weren't 0db at 100%.
You have two options:
1. edit /usr/bin/archphile-optimize and disable the unmute command
2. edit /usr/bin/unmute and modify it as per your preferences!
During all these years only some I2S dacs (and that was fixed) weren't 0db at 100%.
You have two options:
1. edit /usr/bin/archphile-optimize and disable the unmute command
2. edit /usr/bin/unmute and modify it as per your preferences!
@pinkdot: is this a systemd unit file? why is there no startup dependency like multi-user.target ?
@ tuxx: nice writeup, i've already seen some stuff i'd like to check out these days
@ tuxx: nice writeup, i've already seen some stuff i'd like to check out these days
Yes there is. See full current service on github: playground/librespot.service at master * archphile/playground * GitHub@pinkdot: is this a systemd unit file? why is there no startup dependency like multi-user.target ?
@ tuxx: nice writeup, i've already seen some stuff i'd like to check out these days
Thanks for the info. Will take a look at it this evening.Εverything is restored to 100% (0dB), because I have set it up to do this in order to achieve a bit perfect result.
During all these years only some I2S dacs (and that was fixed) weren't 0db at 100%.
You have two options:
1. edit /usr/bin/archphile-optimize and disable the unmute command
2. edit /usr/bin/unmute and modify it as per your preferences!
Greetings,
Martin
I would like to let you know that after many corrections, a much improved manual version is up (0.11.1):
http://archphile.org/manual/archphile-manual.pdf
Greetings,
Mike
http://archphile.org/manual/archphile-manual.pdf
Greetings,
Mike
Last edited:
I also experienced some (similar to pinkdot's) issues with spotify. The systemd additions (btw enabled by default from now and on) were some kind of a workaround, but as it seems everything is resolved with latest code from librespot-org github.
As a result, new packages are up for librespot that hopefully resolve the spotify issues for everyone. In addition I uploaded the latest roonbridge packages:
New librespot (Spotify) and Roonbridge packages for 0.99.72 - Archphile
Greetings,
Mike
As a result, new packages are up for librespot that hopefully resolve the spotify issues for everyone. In addition I uploaded the latest roonbridge packages:
New librespot (Spotify) and Roonbridge packages for 0.99.72 - Archphile
Greetings,
Mike
For anyone wanting to test MPD 0.20.20 that was released today, you can get the packages from:
Index of /lab/MPD_0.20.20
An example on how to install the default package for RPI:
You can get the direct link of each package to use with pacman -U by mouse right clicking and pressing "copy link location" (in firefox).
When these packages are tested, I will inform you with an official announcement on how to install them via the Archpile repository and the links above will be deleted.
Greetings,
Mike
Index of /lab/MPD_0.20.20
An example on how to install the default package for RPI:
Code:
pacman -U [URL]http://archphile.org/lab/MPD_0.20.20/rpi/mpd-archphile-0.20.20-1-armv7h.pkg.tar.xz[/URL]
Code:
systemctl reenable mpd
Code:
systemctl restart mpd && archphile-optimize
When these packages are tested, I will inform you with an official announcement on how to install them via the Archpile repository and the links above will be deleted.
Greetings,
Mike
Last edited:
I also experienced some (similar to pinkdot's) issues with spotify. The systemd additions (btw enabled by default from now and on) were some kind of a workaround, but as it seems everything is resolved with latest code from librespot-org github.
As a result, new packages are up for librespot that hopefully resolve the spotify issues for everyone. In addition I uploaded the latest roonbridge packages:
New librespot (Spotify) and Roonbridge packages for 0.99.72 - Archphile
Greetings,
Mike
Thanks Mike! Just created a fresh SD with Archphile and the Librespot update (and ympd ... and mpd ;-).
Running very nicely. Switching between MPD and Librespot works also good.
I will use this for my main system for the coming weeks. Thank you!
Have a beer!
Greetings,
Martin
Hi all,
jus to let you know that thanks to the amazing support of upmpdcli, I am currently testing the Tidal and everything works fine.
Everything will be fixed in next image. Until then, you can follow the guide here on how fix it yourself:
A Tidal/Upmpdcli fix for 0.99.72 - Archphile
Last but not least, MPD 0.20.20 packages are officially up:
New MPD 0.20.20 packages for 0.99.72 - Archphile
Regards,
Mike
jus to let you know that thanks to the amazing support of upmpdcli, I am currently testing the Tidal and everything works fine.
Everything will be fixed in next image. Until then, you can follow the guide here on how fix it yourself:
A Tidal/Upmpdcli fix for 0.99.72 - Archphile
Last but not least, MPD 0.20.20 packages are officially up:
New MPD 0.20.20 packages for 0.99.72 - Archphile
Regards,
Mike
Hi all,
jus to let you know that thanks to the amazing support of upmpdcli, I am currently testing the Tidal and everything works fine.
Everything will be fixed in next image. Until then, you can follow the guide here on how fix it yourself:
A Tidal/Upmpdcli fix for 0.99.72 - Archphile
Last but not least, MPD 0.20.20 packages are officially up:
New MPD 0.20.20 packages for 0.99.72 - Archphile
Regards,
Mike
tidal work greate 🙂
- Home
- Source & Line
- PC Based
- Archphile - An Archlinux Based Audiophile Distribution for Raspberry Pi and Udoo Quad