michaelherger / lms-plugin-tidal

A TIDAL plugin to integrate with the Lyrion Music Server (fka. Logitech Media Server)
45 stars 9 forks source link

can't play 24 bit files #89

Open real-t0mg opened 4 months ago

real-t0mg commented 4 months ago

Can't play 24 bit 44100 flac files such as https://listen.tidal.com/album/355565350.

In the lyrion server log I have this:

Unhandled WAV chunk smpl size 60 (skipped)
Unhandled WAV chunk acid size 24 (skipped)
Unhandled WAV chunk _PMX size 4404 (skipped)
Unhandled WAV chunk cue  size 1324 (skipped)

Squeezelite complains per the screenshot attached (using Jivelite as interface for squeezelite).

Disabling FLAC hires in the Tidal plugin fixes the problem. Screenshot_2024-07-25_13-34-24

Let me know how can I provide additional information to help hunt this bug and thank you for this plugin

manuelmaniero commented 3 months ago

I also have this problem: logged the same error as @real-t0mg. If I can help in any way, let me know Setting quality to "CD (FLAC)" seems to solve the issue as reported.

gthater commented 3 months ago

Same here and tried something out: Played a bit with '.../prefs/plugin/tidal.prefs' and expected the Bearer-Token to not be eligible for 'quality: HIRES'. Using a Proxy I sniffed a Bearer-Token used by the TIDAL-App (on a Mac) to play 'quality: HI_RES' and manually updated the prefs-File with this token, but that didn't change the above described behaviour. If I can help, let me know!

michaelherger commented 3 months ago

We don't support DASH streaming at this point (see the error message). I'll have to figure out options. Thanks for the report!

michaelherger commented 3 months ago

Not a solution to the actual problem, but I released a version which would at least automatically fall back to lossless CD quality if the HiRes version was in an unsupported format. Please give it a try.

real-t0mg commented 3 months ago

works transparently in my setup while keeping the setting to hires in the plugin options. Thank you.

Screenshot_2024-08-05_07-34-46 Screenshot_2024-08-05_07-34-07

gthater commented 3 months ago

Not a solution to the actual problem, but I released a version which would at least automatically fall back to lossless CD quality if the HiRes version was in an unsupported format. Please give it a try.

Works fine, thank you very much for you ongoing support!! All the best, G.

bjarteskogoy commented 3 months ago

It seems like the Tidal Windows App is playing hires files using regular flac. From Fiddler: image And then streaming like this: image

Is maybe the difference that it is using an API under desktop.tidal.com?