MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.38k stars 397 forks source link

Version 2.0 rc6 start and shutdown no sound #645

Closed Leobo71 closed 4 years ago

Leobo71 commented 4 years ago

After the latest update no start and shutdown sound. In earlier version everything perfect. Im use USB Soundcard. Playing tracks sound is audible.

MiczFlor commented 4 years ago

Hi, did you just update or did you run the install script? The services have changed, possibly that's the reason why. And the current version is built for buster and tested on buser (not jessie anymore). You "should" be able to run the install on top of your existing version. I tried it, it recognizes the current install, asks to use existing files and cardIDs. If you use the default audio file location, it should work.

Leobo71 commented 4 years ago

Ich schreibe vielleicht auf deutsch. Danke für schnelle Antwort. Ich habe neue installation durch gemacht auf frisch installiertem buster lite auf pi zero mit usb audio karte. Tracks kann ich hören auch shutdown sound ist da, nur start sound wird nicht abgespielt. Habe noch mal 2.0rc4 installiert und start sound ist hörbar. 2.0rc4 auf 2.0rc6 updatet und wieder start sound ist weg. Danke für deine Arbeit und das geniale project welche viele kinder glücklich mach.

donhomie commented 4 years ago

Almost the same problem here, the startup sound does not work, but the shutdown sound does. Did not do a fresh install, but upgraded from rc5. Startup and shutdown sounds worked fine before the upgrade. Everything else still seems to work fine.

I do have a problem resuming playlists from the last track played, but that was already the case in rc5. Even though I enabled this in the webinterface, it simply always starts playing from the first track.

ps: as this is the first post I just wanted to say a big thank you for this great project! If my daughters will actually return the prototype to me I might post a picture of the finished product before Christmas.

Leobo71 commented 4 years ago

OK, I'm not alone with the problem. List, track shuffle and start sound don't work for me. 2.0 rc6 one line install without Spotify. Whether reinstallation or update same problem. I have tested stretch version without Spotify and are the same problems.

MiczFlor commented 4 years ago

Hi @Leobo71 @donhomie could you please check if you are in the master branch or the develop branch? You do this by going to the terminal, move into the Phoniebox directory and type

git branch

If there is a asterisk (star) next to develop, you need to type

git checkout master
git pull

Then reboot and try again. I tested the fresh install twice, worked for me, but I believe that it doesn't work for you. So I am trying to circle in on the problem. All the best and thanks for sharing the problems, helps everybody to make it better.

Leobo71 commented 4 years ago

Hi @MiczFlor .Thanks for your time. I tested everything without success. Buster lite or stretch, develop or master. No start sound. Pi zero with USB Hub, USB Audio card and USB RFID. What else noticed that I have set "Skip to Next track". It works. Loop List or Track don't work for me. Thanks EDIT: I have update rpi and Loop list, track work fine. Only stay the start up sound.

Leobo71 commented 4 years ago

Hi @MiczFlor, I install JustBoom Dac Zero on my Pi Zero, The self effect. No Start Up Sound. Everything else works.

Leobo71 commented 4 years ago

Hi @MiczFlor This After=default.targetdont work for me. This After=network.target iptables.service firewalld.service rfid-reader.servicework fine.

MiczFlor commented 4 years ago

Hi @Leobo71 what soundcard do you use? And are there any other differences in your solution than here? https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/master/misc/sampleconfigs/phoniebox-startup-sound.service.stretch-default.sample

Leobo71 commented 4 years ago

Hi @MiczFlor I have one raspberry zero whit usb soundcard and the other justboom dac zero. whit this 'After=default.target' I have don't start up sound. 'After=iptables.service firewalld.service' or 'After=firewalld.service rfid-reader.service' I hear this start sound. This 'After=network.target iptables.service firewalld.service rfid-reader.service' /etc/systemd/system/phoniebox-startup-sound.service work for me.

s-martin commented 4 years ago

Is this still an issue? You could post the results of tail -n 500 /var/log/syslog.

s-martin commented 4 years ago

Should be fixed with #1026