Update done and available. Need evaluation.
I have completed the update for the playTrack methods. Use instructions are later.
Installation:
- File Location: 'Hubitat_Samsung-WiFi-Audio/SamsungWifiSpeaker.groovy at master · DaveGut/Hubitat_Samsung-WiFi-Audio · GitHub'
- Open existing driver and delete code.
- Copy this code into the same window.
- Save
Using the playTrack functions command line interface examples:
Play a track using default 15 second duration:
- playTrack("http://hubitat.xurria.co.uk/mp3/testfile.mp3") OR
- playTrackAndResume("http://hubitat.xurria.co.uk/mp3/testfile.mp3")
Play a track, specifying duration:
- playTrackAndResume({uri: "http://hubitat.xurria.co.uk/mp3/testfile.mp3", duration: "10"})
Dave