Strixx76 / samsungwam

Home Assistant Integration for Samsung Wireless Audio speakers.
MIT License
10 stars 6 forks source link

Cannot Toggle Play/Pause #2

Open BrilliantStanley opened 1 year ago

BrilliantStanley commented 1 year ago

https://github.com/Strixx76/samsungwam/assets/78531020/dc4f27fe-92b1-4b30-9972-6989857638cd

Unable to pause or play the speaker. Other controls such as shuffle, repeat, prev, next, and volume worked without problem. Music playback from DLNA source controlled from the multiroom app.

Model : WAM-3500.

Strixx76 commented 1 year ago

I don't use DLNA my self, so I have not tested this. It works with TuneIn and Spotify which is the only to services I use. The command are different for controlling playback from DLNA, but that is all handled by the underlying package. There I have used what others have discovered.

If you pause in the multiroom app can you then resume playback from the integration?

BrilliantStanley commented 1 year ago

I could not play after the music was paused from the multiroom app. The speakers are only able to browse from DLNA folders and can not be controlled by DLNA server (like HA), hence not showing up as DLNA DMR in HA. My setup is using windows media streaming which is quite easy to setup.

I have also found a new issue where I can start tune in playback from the media browser but the status at HA stayed idle with no playback control. Volume control however worked though. image image

Strixx76 commented 1 year ago

Have you tried to reload the integration? I have noticed that the integration can loose connection to the speaker if you have not used it for some days. It seems that is what have happened to you. Then the state stop updates but you can still use some controls. Next release will check connections status but it requires quit some work, and will not be ready for some time.

BrilliantStanley commented 1 year ago

Yes, reoloading the integration does fix the speaker state issue.

However, the DLNA pause/play still not working.

Strixx76 commented 3 months ago

Update: I have finnaly had some time to work on this integration, and I have found the bug that cased the issue with play and pause for DLNA. It was a typo in the underlying librarare that communicates with the speaker. It will be fixed in the next release and then you will also be able to see music info and music art when playing DLNA sources. The disconnection problem will also be fixed. I expect the release to be done before the end of the month.

doemer commented 3 weeks ago

Great to see this Issue was allready reported. I accidentially fell upon this Integration when I was searching for the known Commands to control my WAM350 and WAM750 speaker.

With 0.1RC4 I am able to Start DLNA Playback on my WAM350 but it can't be stopped. I reloaded the integration but it made no difference. Stucks on this view. Mute and Volume Buttons are still working.

image

Thx a lot for sharing your work!!!