I don't see "playtrackandrestore" as an option, so I tried "playtrack", which doesn't work. I had uploaded the audio file to the hub, and it was placed in the "local" directory, so the exact command I used is:
I'm using the playTrack() command with a locally hosted file and it works fine for me:
I didn't even use port 8080 like I probably should have. I'm not sure why yours isn't working, but I'd probably start by leaving Rule Machine out of the picture and seeing what works if you try running the command with this parameter (or another appropriately formatted command) from the device page directly.
When you find something that works, bringing into RM should be easy, but this would at least rule out RM as a source of the problem. It works for me both ways, and the only difference I can find from your description is that I'm using a WAV and not an MP3. I don't really know what formats are supported, but I suppose that's something else you could experiment with.
Thanks all for the help. I finally got it to work with MP3 files. I had been trying WAV files as well and I've read that sometimes those don't work, depending on how they were created. I used playtrack and supplied the URL as described previously. Not sure why MP3's didn't work for me earlier.