svrooij / node-sonos-ts

:speaker: Sonos control library, use this library in your own appliction.
https://sonos-ts.svrooij.io/
MIT License
84 stars 18 forks source link

Tidal album saved as Favorite, not able to start it via MQTT #155

Open LordVoodoo opened 3 years ago

LordVoodoo commented 3 years ago

Hello,

I am facing the issue, that I have saved a lot of albums in the Sonos App linked with Tidal, so the entries are in the Favorites section in the Sonos App listed under „Albums“.

Unfortunately I am not able to get the Albums URI to convince my Sonos play to start the playing, I am always getting some reply like:

{"command":"setavtransporturi","error":{"Action":"SetAVTransportURI","FaultCode":"s:Client","Fault":"UPnPError","UpnpErrorCode":714,"UpnpErrorDescription":"Illegal MIME-Type","name":"SonosError"}}

Has anybody succeeded to start a linked Tidal album? I have tried this one out of the Favorites-listing: x-rincon-cpcontainer:1004206calbum%2f97375617?sid=174&flags=8300&sn=2

Thanks for your support.

svrooij commented 3 years ago

Tidal isn't available for metadata guessing just yet.

I can help you getting started, what is your technical level?

Also, as stated on the above page, you cannot set the transport uri to a container. You'll have to add it to the queue (which probably doesn't work, but can be fixed)

LordVoodoo commented 3 years ago

Hello Stephan,

Well, my technical level is advanced. Never used Wireshark, but sure, not totally unexperienced. I already noticed, that every album / playlist / title generates some kind of an ID inside TIDAL.

Viele Grüße, Matthias.

Am 25.05.2021 um 20:27 schrieb Stephan van Rooij @.***>:

Tidal isn't available for metadata guessing https://svrooij.io/node-sonos-ts/sonos-device/methods.html#metadata just yet.

I can help you getting started, what is your technical level?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/svrooij/sonos2mqtt/issues/146#issuecomment-848110502, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIRU67I5ICGA7VPMPG5ZL3TPPTZJANCNFSM45PJAREQ.

svrooij commented 3 years ago

This issue explains how we added support for Deezer.

https://github.com/svrooij/sonos2mqtt/issues/128

You just monitor the AVTransport message and play a single track through the application. Then when you figured out the correct values, you can try for yourself like here

And if you create a pr for the metadata helper or send the TrackUri and the needed Advanced command here and I'll add it to the library

svrooij commented 2 years ago

To be able so support Tidal, I need an account. Anyone wants support for Tidal, sponsor me some amount enough to buy a subscription and send me a message.

LordVoodoo commented 2 years ago

Give me a PM with details of PayPal.

svrooij commented 2 years ago

Is tidal similar to Spotify? Or do you only have radio stations?

And can you describe exactly what you want to do?

You can just sponsor me through Github