Warter Posted March 29, 2017 Posted March 29, 2017 Maybe someone has an idea what the problem is... So I use the latest armbian with kernel 4.9.18. I installed mpd+mpc on it and mounted nfs share with fstab. Everything is working fine but if i press the play button from my phone/tablet actually the playing starts just after 30 sec. it is exactly 30 sec. I have no idea what can cause this delay.
arox Posted March 29, 2017 Posted March 29, 2017 Can you tell us a little more about how it works (and if your delay concern first usage after boot or happens every times.) Do you access the server through http and wifi ?
Warter Posted April 1, 2017 Author Posted April 1, 2017 MPD is a music player daemon what runs on the hummingboard (connection via LAN to the router). I connect from ipad via wifi to the MPD. it happens almost all the time. Sometimes if I press the play-stop-play one after another there is no delay.
arox Posted April 1, 2017 Posted April 1, 2017 You are probably having troubles with DNS, NFS or WIFI. - Check resolv.conf points to a valid server and you have a route to that server (ping a host by its name) And just before pressing play : - check the access to your music files (ls /xxx/xxx/xxx.mp3) - ping your ipad ip address from hummingboard
zador.blood.stained Posted April 1, 2017 Posted April 1, 2017 2 hours ago, Warter said: MPD is a music player daemon what runs on the hummingboard (connection via LAN to the router). I connect from ipad via wifi to the MPD. it happens almost all the time. Sometimes if I press the play-stop-play one after another there is no delay. Do you output your sound locally from HB or via HTTP to iPad?
Warter Posted April 1, 2017 Author Posted April 1, 2017 @arox Previously I though the same, so I double checked it. I don't find any problem with DNS, NFS or Wifi. Plus I can connect to the HB without any problem. @zador.blood.stained I use SPDIF what connects to DAC. in meantime I tested it with Volumio "distro", there is no delay in this case. Volumio based on Jessie 8.7 also.
zador.blood.stained Posted April 1, 2017 Posted April 1, 2017 So if you execute mpc commands locally on the device then you don't have this issue? What mpd client do you use on your ipad? Can you configure logging in mpd.conf (if it is not turned on already) and check mpd log for any issues?
Warter Posted April 3, 2017 Author Posted April 3, 2017 I reinstalled it one more time and now the problem is gone. It is stange, but I am happy with it. Thanks for your ideas/help.
Recommended Posts