hondagx35 wrote:- Code: Select all
mv /srv/http/command/rune_PL_wrk /var/www/command/rune_PL_wrk.bak
mv /var/www/command/rune_PL_wrk.old /var/www/command/rune_PL_wrk
When I revert to the old rune_PL_wrk, it fixes the problem with shairport. I get album art, song, artist and time, again. No more spinning circles.
But, if I stop the shairport from the 'settings' tab and restart it, I get the spinning discs and this error, though, when I check the service:
- Code: Select all
● shairport.service - Shairport AirTunes receiver
Loaded: loaded (/usr/lib/systemd/system/shairport.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2017-04-27 22:57:03 CDT; 1min 44s ago
Process: 8205 ExecStartPre=/usr/bin/mkdir -p /var/run/shairport (code=exited, status=0/SUCCESS)
Main PID: 8209 (shairport)
Tasks: 2 (limit: 512)
CGroup: /system.slice/shairport.service
└─8209 /usr/bin/shairport -w --name=LivingRune (AirPlay) --on-start=$ON --on-stop=$OFF --meta-dir=/var/run/shairport -o alsa -- -d plu
Apr 27 22:57:32 livingrune shairport[8209]: Notice: Trying to get property of non-object in /srv/http/app/libs/runeaudio.php on line 3302
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined offset: 1 in /srv/http/app/libs/runeaudio.php on line 883
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined index: time in /srv/http/app/libs/runeaudio.php on line 888
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined offset: 1 in /srv/http/app/libs/runeaudio.php on line 896
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined index: audio in /srv/http/app/libs/runeaudio.php on line 899
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined offset: 1 in /srv/http/app/libs/runeaudio.php on line 919
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined offset: 2 in /srv/http/app/libs/runeaudio.php on line 921
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined offset: 2 in /srv/http/app/libs/runeaudio.php on line 922
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Undefined index: enable in /srv/http/app/libs/runeaudio.php on line 3458
Apr 27 22:57:54 livingrune shairport[8209]: Notice: Trying to get property of non-object in /srv/http/app/libs/runeaudio.php on line 3302
If I restart all the services (SY, PL, PHP) and I was able to get the now playing info back but if I refresh the page while a song is playing, I get the spinning circles until the next song starts. If I stop Airplay then play something from my NAS then go back to Shairport, I get the spinning circles and no 'now playing' info. I have to stop shairport, delete /run/shairport/now_playing, restart the services and then I get the shairport info again. FYI.
Gearhead