Getting a song title to display

Volumio Version 2.224

Is this the correct syntax to get the current song title?
“currentsong = volumio._client.currentsong()”


Where are you trying to use this? Think you’d better use the API if you want the title anywhere else than on the mainpage.

In a Python script to integrate Volumio with my PreAmp. I want to put the current song V’ is playing on the PreAmp display.
Others have had the currentsong() instruction working with an earlier versions of V2, but it now seems not to.