Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play/pause support #3

Open
PiotrMachowski opened this issue Feb 27, 2020 · 5 comments
Open

Play/pause support #3

PiotrMachowski opened this issue Feb 27, 2020 · 5 comments

Comments

@PiotrMachowski
Copy link

PiotrMachowski commented Feb 27, 2020

Hi,

Great work on this custom component. I have forked your repo to provide a way to control SmartThings enabled soundbars.

To make play and pause working you have to set state to playing/paused accordingly (not only on/off). You can check how I have done it here.

Regards
Piotr

@pegatron89
Copy link
Owner

I have added play and pause support for the TV. You cant get the status back for anything playing on netflix (Well atleast my tv wont report back) but sending the Play/Pause/Stop commands work.

            "mediaPlayback": {
                "supportedPlaybackCommands": {
                    "value": [
                        "play",
                        "pause",
                        "stop",
                        "fastForward",
                        "rewind",
                        "next",
                        "previous"
                    ]
                },
                "playbackStatus": {
                    "value": null
                }
            },

See the null above. Not sure how this looks if there is something playing through DLNA but it should work.

@tieppm
Copy link

tieppm commented Apr 1, 2020

@PiotrMachowski
I am using sony 55x8500G TV and Q70r soundbar. Does the component work?

@PiotrMachowski
Copy link
Author

PiotrMachowski commented Apr 1, 2020

This one didn't work for my soundbar (Q80R), so I have created my own version that works. The problem was with some TV specific functionalities

@tieppm
Copy link

tieppm commented Apr 2, 2020

@PiotrMachowski
I have followed your instructions and succeeded.
But I couldn't choose the source
Can you solve this problem?
Thank U

@PiotrMachowski
Copy link
Author

@tieppm
Everything works correctly in my case. You can create an issue on my GitHub here. Please attach errors from HA logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants