Direct play of an m3u file?

GeoffT

New member
Joined
Mar 26, 2025
Messages
4
Another newbie question, sorry!

I'm still working out the best way to achieve things with the WiiM Amp and have come across an issue which I could do with some help on.

So far I haven't found a way in the API to get the WiiM to play any specific folder or track from my NAS other than by creating a preset for a directory and then playing that preset.

My attempts with the setPlayerCmd:play:url command have only ever worked with external sites like radio streams, I can't get it to work with my network storage at all even though the WiiM app finds the files fine in the Browse "Home Music Share" section.

Maybe I am using the wrong format but I feel like I have tried every combination of forward and backslashes etc.

EG I have created a test m3u file of a single mp3 track in one of my Music file directories at:

//archer_vr2100/volume(sda9)/Music/Geoff/test.m3u

Using the httpapi.asp?command=setPlayerCmd:play://archer_vr2100/volume(sda9)/Music/Geoff/test.m3u gives a response of OK but doesn't play

I have also tried replacing the //archer_vr2100/ with it's actual IP address and that doesn't work either.

Can anyone tell me the exact URL I should be using?

Thanks
 
To answer my own question and possibly help others I finally found the correct format. This is an example of an API command that successfully plays one of my TTS files from my NAS.

https://<IP of WiiM>/httpapi.asp?command=setPlayerCmd:play:smb://archer_vr2100/volume(sda9)/NodeRed/TTS/OutsideMovement.mp3

I think the part I was missing previously was the "smb" at the start of the url.
 
Back
Top