Volumio hangs on playing Tidal Playlists

Tried playing some of Tidals Moods & Genre playlists yesterday and Volumio just choked on it. Volumio became totally unresponsive probably waiting for a response from Tidal. Tried the same from BubbleUpnp and got a 404 response. I restarted Volumio and could listen to a couple of songs but then it just stopped again.

Maybe a shorter timeout would be appropriate in case the problem is on Tidals end? I eventually had to restart Volumio to get it it going again. Tried to play some regular albums from Tidal and that seemed to work.

Here’s a log from yesterday: http://logs.volumio.org/volumio/aHJKSHu.html

#Edit#
I think it has something to do with mpd service. Here’s a snippet from mpd.log when I’m trying to play an artist “playlist/radio”.
From volumio web UI, enter tidal and find an artist. Click on the three dots to the right and choose play from the popup menu.

Aug 16 13:25 : zeroconf: No global port, disabling zeroconf
Aug 16 13:25 : client: [0] opened from local
Aug 16 13:25 : client: [1] opened from 127.0.0.1:41626
Aug 16 13:25 : client: [2] opened from 127.0.0.1:41636
Aug 16 13:25 : client: [1] closed
Aug 16 13:25 : client: [3] opened from 127.0.0.1:41644
Aug 16 13:25 : client: [2] closed
Aug 16 13:25 : client: [4] opened from 127.0.0.1:41652
Aug 16 13:25 : client: [3] closed
Aug 16 13:25 : client: [5] opened from 127.0.0.1:41660
Aug 16 13:25 : client: [4] closed
Aug 16 13:25 : client: [6] opened from 127.0.0.1:41672
Aug 16 13:25 : client: [5] closed
Aug 16 13:25 : client: [6] closed
Aug 16 13:25 : exception: No such directory
Aug 16 13:25 : exception: No such playlist
Aug 16 13:25 : exception: No such playlist
Aug 16 13:25 : exception: No such playlist
Aug 16 13:25 : player: played “http://sp-pr-ak.audio.tidal.com/api/public/delive
rables/Gic0MTA1NjNiMTU2ZGJkMzFlMWViMTlhM2I3MGVhYmY1Yl82MS5tcDQgAj0AAIBAVQAAoEE/0
.flac?hdnts=exp=1565958134~hmac=1cd9f5e3df17129ac968b8ded388ac13aaefcff4a40b878e
d2a25d0c96e83046”

Volumio gets unresponsive and won’t play anything when this happens. I managed to resolve the issue by restarting mpd service:

systemctl stop mpd systemctl restart mpd

There two issues about this:

First I patched my statemachine about the negative playback timer issue (google --> github). The negative playback timer issue had an serious impact on mpd.
Later I noticed a second issue in volumio mainly with webradio and also sometimes on tidal: Volumio.log shows at title changes that the response is some kind wrong. This issue also makes the mpd unresponsive. I issued a PR on github: [github.com/volumio/Volumio2/issues/1791]

Normaly: mpd has 2% proc time (monitored with top)
One of the issue above: cant find mpd in the process list (also monitored with top)

Restarting the mpd directly at normal condition: instantaneously; mpd not responding: 2min

I noticed today that listening to webradio only works for a certain amount of time. Suddenly there is no sound. Volumio indicates still playing.
mpd.log shows a lot of:
Aug 19 16:10 : player: Decoder is too slow; playing silence to avoid xrun
Aug 19 16:10 : player: Decoder is too slow; playing silence to avoid xrun
Aug 19 16:10 : player: Decoder is too slow; playing silence to avoid xrun
Aug 19 16:10 : player: Decoder is too slow; playing silence to avoid xrun

kermit_nc do you think this is related? I don’t believe that it’s a problem with cpu-power. I’m on a raspberry pi 3B+

I really like Volumio but these problems makes it difficult to use as a “daily driver”.

I still have problems with tidal. Today I was listening to an album. Album ends. I’m waiting for about 15 minutes and then try to restart a song from the volumio playlist. Nothing happens. Probably because mpd has crashed againg. mpd restart solved the problem.
This is from my logfile: Mar 18 06:08 : exception: No such playlist Mar 18 06:08 : player: played "http://ab-pr-fa.audio.tidal.com/83634311/20140909134221_37.m4a?token=1584515335~MzY1ZTlmNDNkY2Y4NTgzM2ExNzQ2NDU2NjMwYzQ4NzVmZmZlZTBmOA==" Mar 18 06:09 : exception: No such playlist Mar 18 06:20 : player: played "http://ab-pr-fa.audio.tidal.com/44634311/20140909134221_37.m4a?token=1584515340~MWIwMzkwYzAxM2JiMDNlY2UyZDM5YjQ1ZDEyYTNjMGM2OGQ0YzkxMA==" Mar 18 06:20 : exception: Bad song index Mar 18 06:20 : client: [4] opened from 127.0.0.1:56956 Mar 18 06:21 : client: [3] closed Mar 18 06:36 : zeroconf: No global port, disabling zeroconf Mar 18 06:36 : client: [0] opened from 127.0.0.1:57062 Mar 18 06:36 : client: [1] opened from 127.0.0.1:57082 Mar 18 06:36 : client: [2] opened from 127.0.0.1:57088 Mar 18 06:36 : client: [3] opened from 127.0.0.1:57096 Mar 18 06:36 : client: [4] opened from 127.0.0.1:57102 Mar 18 06:36 : client: [5] opened from local Mar 18 06:36 : exception: No such playlist Mar 18 06:37 : client: [0] closed Mar 18 06:37 : client: [1] closed Mar 18 06:37 : client: [2] closed Mar 18 06:37 : client: [3] closed Mar 18 06:42 : exception: No such playlist

logs.volumio.org/volumio/lDhrCfy.html

Same problem today. Now trying to play a tidal playlist:

Mar 19 20:14 : player: played "http://ab-pr-fa.audio.tidal.com/88203241/20140909133701_37.m4a?token=1584652319~N2FkNjlhMjQ4YjJiMjZiYjMyZDQ0NDdjZGZhYjI2YTQxMjU1OTg3NQ==" Mar 19 20:14 : exception: No such playlist Mar 19 20:18 : player: played "http://ab-pr-fa.audio.tidal.com/98203241/20140909133701_37.m4a?token=1584652485~ZjA0OTk4YTEwNWQ3Njg0NzVkNDEwMzljYTAxMTllYWJkOGJmOGM1ZQ==" Mar 19 20:18 : exception: No such playlist Mar 20 05:06 : player: played "http://ab-pr-fa.audio.tidal.com/09203241/d597d376b6e37954d938cf3b82bc729a_37.m4a?token=1584652699~MjNlZWMyNDk1OWZjMzFiMmMwM2UzNWNlM2I1ZTQ2MzljNjIyODgzMQ==" Mar 20 05:25 : player: played "https://http-live.sr.se/p1-aac-192" Mar 20 05:54 : player: played "https://http-live.sr.se/p4stockholm-aac-192" Mar 20 05:59 : player: played "https://sverigesradio.se/topsy/ljudfil/podrss/7298405.mp3" Mar 20 05:59 : exception: Bad song index Mar 20 05:59 : client: [6] opened from 127.0.0.1:48096 Mar 20 05:59 : exception: No such playlist Mar 20 06:00 : client: [4] closed Mar 20 06:36 : player: played "http://wr13-ice.stream.khz.se/wr13_aac" Mar 20 06:36 : exception: No such playlist Mar 20 06:39 : player: played "http://ab-pr-fa.audio.tidal.com/5124903/20141001002549_37.m4a?token=1584689778~YjkyNjM4MzU2YmVlYmFjNGYyY2M3ZWY1NGJiOTgyNjRkZjQxYzBhOA==" Mar 20 06:39 : exception: Bad song index Mar 20 06:39 : client: [7] opened from 127.0.0.1:48486 Mar 20 06:40 : client: [6] closed