Closed kurtwerbrouck closed 2 years ago
think i found the issue somehow volume is rewriting mpd.conf and the fifo output gets unvalidated. i have commented the hw section see below, to let the fifo section active but at every reboot volumio erase my changes any idea on how to avoid this
audio_output { type "fifo" enabled "yes" name "multiroom" path "/tmp/snapfifo" format "44100:16:2" }
After 2h or so, the volumio is rewriting the config file?
I am not sure about the timing,,,, just made the change in the mpd.conf.tmpl file, will see if I can make it persist in not changing, will keep you posted
I finally got it working.. I think I understood there is no way to direct spop to alsa and then to fifo. the system comes preconfigured with mpd to also to fifo when installing spop, spop directs to alsa
the only way I found to make it work is amend spopd.conf to output to fifo, and change mpd.conf to output to fifo directly instead of via alsa would have been more elegant to have spop and mpd to alsa and then alsa to fifo but could not make that work
files below, lets see if database holds this time or get corrupted again
----- spopd.conf----------- [spop] spotify_username = xxxxx spotify_password = yyyy high_bitrate = true refresh_token = undefined audio_output = sox pretty_json = true search_results = 50 cache_path =/run/shm
[sox]
output_type = raw output_name = /tmp/snapfifo
---mpd output section ---- (also amended the .tmpl file to avoid mpd.conf to be reset at each startup----
resampler { plugin "soxr" quality "high" threads "1" }
audio_output { type "fifo" enabled "yes" name "multiroom" path "/tmp/snapfifo" format "44100:16:2" }
volume_normalization "no" ###############################################################################
Hi @karba78
Editing the Spotify integration part, refreshing the page and returning to the plugin settings will enable you to patch the spop template file. This would make the change persistent. If you simply edit the spopd.conf file, it will get overwritten on EACH reboot/restart of the plugin.
@kurtwerbrouck can you provide some log on your behaviour? I've played for several hours this weekend without any issues. Note that I was using Spotify (volspotconnect2). Please advise
Hi saiyato
I am travelling for the moment, i can perform te test at the end of march. I used a web radio stream www.icecast.vrtcdn.be/stubru-high.mp3 during all my testing
Kurt
Hello I installed on 2 rpi-s volumio with the snapcast plugin. One is running the server the other as client. After a few houres - around 2h 2h30 the server stops sending the stream to the client. A reboot of the snapcast server , the system runs again for a few houres, and again the server stops.
Any suggestion what i can do to fix the issue?
I need to hookup 24 raspi volumio Snapcast client on 1 snapcastserver.
Thanks