onlyoneme / home-assistant-custom-components-wiim

WiiM devices integration for Home Assistant.
50 stars 8 forks source link

Sync not with Tidal #8

Closed Github-Axel closed 1 year ago

Github-Axel commented 1 year ago

Hi,

Thank you for your works. Happy to find an integration for Wiim product for HA.

If I use Spotify, It"s works perfectly, but with tidal, it's sync not. With Spotify image With Tidal image

With WIIM app or 4STREAM all sync perfectly. I also try Linkplay component but unsupport the Wiim product, a had a error in the log.

Any ideas ?

Thank you for your help and work !

onlyoneme commented 1 year ago

How do you use Tidal service? Is it from the WiiM Home app?

Github-Axel commented 1 year ago

Hi,

I use the tidal app to play my music (version 2.81.0 on Android) than use tidal connect in the app and select the wiin (Living room) image

When I open the wiim app, I can see the song currently playing.

onlyoneme commented 1 year ago

Can you show me what WiiM attributes are visible when you play any Tidal content? I mean Developer Tools / States in HA for your WiiM device.

Github-Axel commented 1 year ago

Hi, Sorry for my late response, I was not at home this wkd. With Tidal image

With Spotify image

onlyoneme commented 1 year ago

I think it's a parse issue for song metadata over UPnP. I'll send you my work-in-progress build to let you verify if it helps.

onlyoneme commented 1 year ago

Please try this one: https://drive.google.com/file/d/1Vr-_EXPQTsN_GjXFuPhyqIJSmxUt9JHz/view

Github-Axel commented 1 year ago

Yeahhh !!! It works !!! image

image A big thank you ! Great job image

onlyoneme commented 1 year ago

I'm glad it helped, but it's a preliminary build so other issues are possible here.

Github-Axel commented 1 year ago

No problem at all, I will give you my feedback.

Any ideas why the bit rate stay at 96kbps ? I don't know if there any impact. If think not.

I found the log of the Wiim app (Windows)

`2023-05-08 19:06:57,968 [Thread-30 ] [DEBUG] parse <class 'LPUPnPObserverManager.LPRenderTransportParser'>,

onlyoneme commented 1 year ago

No impact, it's only informative. I do not face your issue, a bitrate I can see is the same as shown in the WiiM app.

Github-Axel commented 1 year ago

Okay. Have a good day or night ^^