song title write in a txt file

Hi, i use volumio to stream my web radio and I like to get song title (song-artist) from volumio.

It’s possible to write current song to a txt file ?

So I can read the txt file from my web app.

Thank u



You can read into the API, that’s exactly what you are looking for.

This is something I’m keen on getting set up too (as outputting to a .txt file is a super easy way for other applications like OBS to pick up). However while pointing at the API is a great help, it’s not exactly a small document. That’s like giving someone a map of London but no destination.

There has to be a simple way to do it, at the moment I have autohotkey create a text file based on my browser title but, I want to skip the script&browser part of the problem.

I imagine it’s along the lines of using “volumio.local/api/v1/getstate” but I guess no-one has done it before (or it’d be a simple answer, no?)

You are correct in the first, at least :wink:.

Try from a command line:

curl volumio.local/api/v1/getstate curl ip_address/api/v1/getstate

Obviously you’ll have to do something with the output.