Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Spotify connect keeps dropping
#20
(11-28-2018, 01:04 PM)TheOldPresbyope Wrote: @ksone

I haven't experienced this random drop out (yet, he says with his fingers crossed!).

*If* the symptom is that the librespot process disappears and if this is a randomly occurring event which isn't due to something like an out-of-memory problem, then it would seem a watchdog could be created to implement something like "if airplay renderer is enabled in moOde and if librespot process is missing, then restart librespot [not raspotify]". The restart must include all the parameters which Tim outlined in his port.

This is a horrible way to deal with the underlying problem. With the Spotify app on my iPad, I'd still have to reconnect to moOde once librespot restarted, but desperate times and all that. I for one am not going to try to debug a problem the librespot developers apparently haven't solved in 11 months. That's way beyond my pay grade.

Regards,
Kent
After a few days Librespot decided yet again on one of my pi's to stop working.
It was expected.. librespot just vanish.

I promised to give an update with what I could find.

"pgrep -l librespot" shows nothing and "systemctl status rc-local" shows that librespot disappears:
Code:
pi@radio:~ $ sudo systemctl status rc-local
● rc-local.service - /etc/rc.local Compatibility
   Loaded: loaded (/lib/systemd/system/rc-local.service; static; vendor preset: enabled)
  Drop-In: /lib/systemd/system/rc-local.service.d
           └─debian.conf
        /etc/systemd/system/rc-local.service.d
           └─ttyoutput.conf
   Active: active (running) since Fri 2018-11-30 16:13:08 CET; 5 days ago
   CGroup: /system.slice/rc-local.service
           ├─  463 /usr/bin/udisks-glue
           ├─  505 /usr/bin/php /var/www/command/worker.php
           ├─  819 sudo /usr/local/bin/shairport-sync -a Radio (Airplay) -S soxr -w -B /var/local/www/commandw/spspre.sh -E /var/local/www/commandw/spspost.sh -- -d hw:0
           ├─  828 /usr/local/bin/shairport-sync -a Radio (Airplay) -S soxr -w -B /var/local/www/commandw/spspre.sh -E /var/local/www/commandw/spspost.sh -- -d hw:0
           ├─ 1029 /bin/bash /var/www/command/watchdog.sh
           └─17488 sleep 6

Dec 05 22:15:11 radio sudo[17433]: pam_unix(sudo:session): session closed for user root
Dec 05 22:15:14 radio sudo[17442]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/pgrep -l bluealsa-aplay
Dec 05 22:15:14 radio sudo[17442]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 05 22:15:14 radio sudo[17442]: pam_unix(sudo:session): session closed for user root
Dec 05 22:15:17 radio sudo[17462]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/pgrep -l bluealsa-aplay
Dec 05 22:15:17 radio sudo[17462]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 05 22:15:17 radio sudo[17462]: pam_unix(sudo:session): session closed for user root
Dec 05 22:15:20 radio sudo[17478]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/pgrep -l bluealsa-aplay
Dec 05 22:15:20 radio sudo[17478]: pam_unix(sudo:session): session opened for user root by (uid=0)
Dec 05 22:15:20 radio sudo[17478]: pam_unix(sudo:session): session closed for user root

plenty of mem and root left
ROOT avail = 3.9G
MEM free = 206 MB


"h t t p://xx.xx.xx.xx/snd-config.php#spotify-restart" instantly fixes it.


Strange thing is that other Pi is still running without issues...(on another network) - its so bloody strange

Regards
Reply


Messages In This Thread
Spotify connect keeps dropping - by PhotonHerder - 11-24-2018, 10:12 PM
RE: Spotify connect keeps dropping - by jonners - 11-25-2018, 09:40 PM
RE: Spotify connect keeps dropping - by zaqqq - 11-25-2018, 01:13 PM
RE: Spotify connect keeps dropping - by zaqqq - 11-25-2018, 02:07 PM
RE: Spotify connect keeps dropping - by ksone - 11-28-2018, 08:42 AM
RE: Spotify connect keeps dropping - by ksone - 12-05-2018, 09:28 PM
RE: Spotify connect keeps dropping - by ksone - 12-06-2018, 07:55 AM
RE: Spotify connect keeps dropping - by ksone - 12-06-2018, 01:43 PM
RE: Spotify connect keeps dropping - by adixor - 03-22-2019, 08:11 PM
RE: Spotify connect keeps dropping - by Edward - 03-31-2019, 06:25 PM
RE: Spotify connect keeps dropping - by ksone - 04-01-2019, 12:10 PM
RE: Spotify connect keeps dropping - by deafnut - 04-13-2019, 08:55 PM
RE: Spotify connect keeps dropping - by deafnut - 04-17-2019, 08:49 PM
RE: Spotify connect keeps dropping - by deafnut - 04-19-2019, 12:01 AM
RE: Spotify connect keeps dropping - by ksone - 04-22-2019, 08:32 AM
RE: Spotify connect keeps dropping - by oboote - 12-03-2019, 11:47 PM
RE: Spotify connect keeps dropping - by oboote - 12-06-2019, 03:04 AM

Forum Jump: