Play http problem

Hi,
I looked on the forum, but I didn’t find anything, or maybe I missed it :).

Is there an HTTP command to play a song directly?

If I know its directory?

Please take a look at the API.

I didn’t find anything :pensive: :pensive: :pensive: :pensive:

Did you go through the API?
volumio.local/api/v1/replaceAndPlay

payload:

{
  "item": {
    "uri": "music-library/NAS/HI_Res_Music/Rodriguez - 1970 - Cold Fact [Light in the Attic, LITA036]/06 - Forget It.flac",
    "service": "mpd",
    "title": "Forget It",
    "artist": "Rodriguez",
    "album": "Cold Fact",
    "type": "song",
    "tracknumber": 0,
    "duration": 110,
    "trackType": "flac"
  }
}