Skip to content

Commit

Permalink
Merge pull request #16 from Hack42/Lurwah-patch-1
Browse files Browse the repository at this point in the history
Update sounds.py
  • Loading branch information
meneerhenk authored Sep 13, 2024
2 parents 3064c43 + 658f51b commit ae91135
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/sounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def showsounds(self):
custom.append({"text": "blues", "display": "Jazz Radio Blues"})
custom.append({"text": "quieter", "display": "Quieter"})
custom.append({"text": "louder", "display": "Louder"})
custom.append({"text": "vergaderen", "display": "Vergaderen!"})
self.master.send_message(
True, "buttons", json.dumps({"special": "custom", "custom": custom})
)
Expand All @@ -53,6 +54,9 @@ def input(
if text == "ns":
self.master.send_message(False, "sound", "ns.wav")
return True
if text == "vergaderen":
self.master.send_message(False, "sound", "vergaderen.mp3")
return True
if text == "deuron":
pass
if text == "deuroff":
Expand Down

0 comments on commit ae91135

Please sign in to comment.