Page 1 of 1

Tidal Flac streaming

Posted: July 9th, 2019, 11:06 am
by Mkysimes
I realize the title is misleading but here's my problem:

I use Bubbleupnp to stream tidal through MPD. The software that I use to access MPD is called Snakeoil which allows one to select from multiple music players and even multiple versions of players. The version that I am currently using is 0.21.10 but this occurs with all versions of MPD through the Snakeoil software.

The problem is that the stream only appears to be 320kbps (mp3) even though Bubble has no problem streaming flac to other players including Volumio which I think uses MPD as its main player as well.

The strange thing about Snakeoil is that I cant find a config for MPD as there is a box to enter commands built into the software. For example I can resample by inserting the following code and it works fine:

resampler {
plugin "libsamplerate"
type "1"

audio_output {
name "snd_allo_digione"
type "alsa"
device "hw:0,0"
format "192000:24:2"
auto_resample "no"
auto_format "no"
enabled "yes"

I run Snakeoil on a Raspberry Pi 3b+ with an allo digione hat. I did bring this up in the Snakeoil forums and the author has no idea why this would be happening especially because Volumio and Logitech Media Server both see the correct flac stream from Bubbleupnp. Is there any command I can enter to allow the input from MPD to see the flac stream coming from Bubbleupnp? I browsed over the config file included in Volumio and saw nothing that specifically pointed to flac (unless I missed it).

Re: Tidal Flac streaming

Posted: July 9th, 2019, 6:29 pm
by max
So Bubble sends MP3 to MPD, and FLAC to everybody else. But nobody but Bubble can know why Bubble decides to do this. I have no idea how to help you.

Re: Tidal Flac streaming

Posted: July 9th, 2019, 9:34 pm
by Mkysimes
I was afraid of that, I figured it wasn't a Bubble problem because it sends to everything else, including Volumio (which uses MPD) in FLAC. Thought maybe it was a config issue. I've don numerous Google searches and have come up with nothing. Seems to only happen with Snakeoil and as I posted before Mr. Snakeoil has no idea what it could be.

Well, thanks for the response anyway. I guess I'll keep digging. If you can think of anything I might be able to include in my config that would force a flac input please let me know. Once again thanks. Love the sound of MPD by the way!

Re: Tidal Flac streaming

Posted: July 10th, 2019, 6:21 am
by max
Really no, I cannot think of anything, because I don't have the slightest idea how Bubble decides whether to respond with FLAC or with MP3.

Re: Tidal Flac streaming

Posted: July 10th, 2019, 10:39 am
by Mkysimes
Ok, now that I really think about it, if I'm correct in my assumption, it must be upmpdcli that actually handles the input so maybe that's where I should be looking. I know there's a separate config for that and when I switch between MPD and just upmpdcli in Snakeoil, Bubble shows the same player labeled as "UpMpd" and as you may have guessed upmpdcli also only streams mp3. If upmpdcli is an MPD plugin (technically) then I guess that's where the problem must be.

And again, thanks for reading this as I work this out in my brain. Please let me know if I'm wrong in assuming this.

Re: Tidal Flac streaming

Posted: July 10th, 2019, 8:55 pm
by Ran
If you enabled the Tidal plugin in upmpdcli then ensure the config file is set to lossless and that you have the proper subscription. This is obviously not an mpd issue.

Re: Tidal Flac streaming

Posted: July 11th, 2019, 8:20 pm
by Mkysimes
Yeah, strange thing is Bubble handles all the credentials and I tried adding tidal info in both upmpdcli and mpd configs and when I do that it doesnt even play when using Bubble. I'm stumped.

Well, as you both have said it's probably not an MPD issue, it's probably something in Bubble's code or the way Snakeoil handles mpd. I'll figure it out eventually but in the meantime mp3 sounds surprisingly good! Well thanks again for all the input.