RPi-Jukebox-RFID: No Sound over Webinterface, no IRIS(404)
I’ve installed the Phoniebox very often in the past days. Put I was not able to play Songs. And IRIS does not work too These are my last Attempts.
Attempt 1
Raspberry Pi Model B Rev 2 Raspbian Buster Image: 2019-09-26-raspbian-buster-lite.img USB Soundcard
Connection SSH; Wifi
Procedure
At 12:00 today
sudo apt-get update
sudo apt-get upgrade
cd; rm buster-install-*; wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/master/scripts/installscripts/buster-install-default.sh; chmod +x buster-install-default.sh; ./buster-install-default.sh
Installation
- with Spotify-Option
-> reboot
Result
No Mopidy Server
Attempt 2
develop branch
Raspberry Pi Model B Rev 2 Raspbian Buster Image: 2019-09-26-raspbian-buster-lite.img USB Soundcard
Connection SSH; Wifi
Procedure
At 13:30 today
sudo apt-get update
sudo apt-get upgrade
cd; rm buster-install-*; wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/develop/scripts/installscripts/buster-install-default.sh; chmod +x buster-install-default.sh; GIT_BRANCH=develop bash ./buster-install-default.sh
[....]
sudo reboot
Installation
- with Spotify-Option
sudo nano /usr/share/alsa/alsa.conf
Set: defaults.ctl.card 1 defaults.pcm.card 1
cd /home/pi/RPi-Jukebox-RFID/scripts/helperscripts/; ./CreateSampleAudiofoldersStreams.sh
Result
Mopidy Server Status active (running) since Sun 2020-02-09 14:13:54 GMT; 2min 18s ago
http://IP/iris 404: Not Found
Test speaker-test -t wav -c 6 -> Works Play alphabet-abc.mp3 over Webinterface -> Nothing is happening
edit:
After I pressed the play button at “alphabet-abc.mp3”
I used tail -n 500 /var/log/syslog and found:
[…] Feb 9 14:39:01 raspberrypi systemd[1]: Starting Clean php session files… Feb 9 14:39:03 raspberrypi systemd[1]: phpsessionclean.service: Succeeded. Feb 9 14:39:03 raspberrypi systemd[1]: Started Clean php session files. Feb 9 14:39:03 raspberrypi mopidy[442]: INFO New MPD connection from [::ffff:127.0.0.1]:6600 […] Feb 9 14:43:16 raspberrypi mopidy[442]: INFO New MPD connection from [::ffff:127.0.0.1]:6600 Feb 9 14:43:16 raspberrypi lighttpd[759]: error adding /home/pi/RPi-Jukebox-RFID/shared/audiofolders/ZZZ/ABC/alphabet-abc.mp3: directory or file not fo und Feb 9 14:43:16 raspberrypi mopidy[442]: INFO New MPD connection from [::ffff:127.0.0.1]:6600 […]
but
/RPi-Jukebox-RFID/shared/audiofolders/ZZZ/ABC $ ls -al ^[[3~total 100 drwxrwxrwx 2 pi www-data 4096 Feb 9 14:21 . drwxrwxrwx 12 pi www-data 4096 Feb 9 14:18 … -rwxrwxrwx 1 pi www-data 9173 Feb 9 14:18 alphabet-abc.mp3 […]
It is existing.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 29
After a reinstall spotify runs without problems again (plays music, shows search results).
tail -n 500 /var/log/syslogandjournalctl -u mopidydoesn’t display any error messages (except for the issue discussed in #805).Thank you for your help!
Yes, it does. Better than ever actually!