I’m trying to use the playSound API command and I’m having trouble playing certain sound urls.
The command works for a url like this:
“http://192.168.1.xx:8123/local/audio/Ding-dong-sound.mp3”
But does not work for this url:
“http://192.168.1.xx:xx/audio/X/temp.wav?user=xxx&pw=xxx”
I get an error saying the url or format is invalid. I’ve verified that the url can be accessed from the device. I can load it with the loadUrl command and it plays the sound without issue.
I suspect the issue is because of the “user=xxx&pw=xxx” parts in the sounds url. Any suggestions on how to fix this?