Skip to content

Commit

Permalink
Update remote.py setSoundOutput (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
klattimer authored Dec 4, 2023
1 parent d380f3d commit 80c5831
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LGTV/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ def notificationWithIcon(self, message, url, callback=None):
def mute(self, muted, callback=None):
self.__send_command("request", "ssap://audio/setMute", {"mute": muted}, callback)

def setSoundOutput(self, output, callback=None):
self.__send_command("request", "ssap://audio/setSoundOutput", {"output": output}, callback)

def audioStatus(self, callback=None):
self.__send_command("request", "ssap://audio/getStatus", None, callback, "status")

Expand Down

0 comments on commit 80c5831

Please sign in to comment.