What tags are available via getState

Hello,

If I look at the example response to a REST API getState call here:

https://volumio.github.io/docs/API/REST_API.html (scroll down to the Music Library section)

not much tag information seems to get presented. The example response just includes

  • Title,
  • Artist,
  • Album, and
  • a link (presumably) by which one can retrieve the album art.

Are any other tags available for the currently playing track – e.g., disc and track number, genre, composer (non-standard), release date/year, etc?

I ask since I’m interested in what sort of front panel (state) display one might be able to create for Volumio (separate from the existing display and touch screen).

Cheers!
Matt

Flac:

data: b"{

‘status’: ‘play’,

‘position’: 0,

‘title’: ‘Another World (Radio Edit)’,

‘artist’: ‘The Chemical Brothers’,

‘album’: ‘Another World’,

‘albumart’: ‘/albumart?cacheid=150&web=The%20Chemical%20Brothers/Another%20World/extralarge&path=%2FUSB%2FTEST%2F2010.08%20The%20Chemical%20Brothers%20-%20Another%20World%20(Parlophone%2C%20none)&metadata=false’,

‘uri’: ‘mnt/USB/TEST/2010.08 The Chemical Brothers - Another World (Parlophone, none)/01 - Another World (Radio Edit).flac’,

‘trackType’: ‘flac’,

‘seek’: 3003,

‘duration’: 177,

‘samplerate’: ‘44.1 kHz’,

‘bitdepth’: ‘16 bit’,

‘channels’: 2,

‘random’: None,

‘repeat’: None,

‘repeatSingle’: False,

‘consume’: False,

‘volume’: 0,

‘disableVolumeControl’: False,

‘mute’: False,

‘stream’: ‘flac’,

‘updatedb’: False,

‘volatile’: False,

‘service’: ‘mpd’

}"

Webradio:

data: b"{

‘status’: ‘stop’,

‘position’: 0,

‘title’: ‘Absolut Radio’,

‘artist’: ‘’,

‘album’: ‘’,

‘albumart’: ‘https://radio-directory.firebaseapp.com/volumio/src/images/radio-thumbnails/Absolut Radio.jpg’,

‘uri’: ‘http://stream.absolutradio.de/hq/mp3-160/radioplayer/’,

‘trackType’: ‘webradio’,

‘seek’: 398,

‘samplerate’: ‘’,

‘bitdepth’: ‘’,

‘channels’: 0,

‘random’: None,

‘repeat’: None,

‘repeatSingle’: False,

‘consume’: False,

‘volume’: 0,

‘disableVolumeControl’: False,

‘mute’: False,

‘stream’: ‘webradio’,

‘updatedb’: False,

‘volatile’: False,

‘service’: ‘webradio’

}"

Audio-In:

data: b"{

‘status’: ‘play’,

‘title’: ‘HiFiBerry ADC’,

‘artist’: ‘’,

‘album’: ‘’,

‘albumart’:

‘/albumart’,

‘uri’: ‘’,

‘trackType’: ‘inputs’,

‘seek’: 0,

‘duration’: 0,

‘samplerate’: ‘48 kHz’,

‘bitdepth’: ‘16 bit’,

‘channels’: 2,

‘consume’: False,

‘volume’: 0,

‘mute’: False,

‘disableVolumeControl’: False,

‘stream’: True,

‘updatedb’: False,

‘volatile’: True,

‘disableUiControls’: True,

‘service’: ‘smart_inputs’

}"

Tidal:

data: b"{

‘status’: ‘pause’,

‘position’: 0,

‘title’: ‘Worldwide Torture’,

‘artist’: ‘Jazmin Bean’,

‘album’: ‘Worldwide Torture’,

‘albumart’: ‘https://resources.tidal.com/images/2db99819/8438/4ae0/8d7d/3a5cc3999b27/640x640.jpg’,

‘uri’: ‘http://ab-pr-fa.audio.tidal.com/94febb5038333a197f17d7e8ae070333_39.flac?token=1605470715~NTA3ZWVhMGNiNTFiNTI3MWYyOGRiZmU0OGI0OTdjNzI3Yjc0YWI0OA==’,

‘trackType’: ‘tidal’,

‘seek’: 8257,

‘duration’: 213,

‘samplerate’: ‘44.1 kHz’,

‘bitdepth’: ‘24 bit’,

‘channels’: 2,

‘bitrate’: ‘1148 Kbps’,

‘random’: None,

‘repeat’: None,

‘repeatSingle’: False,

‘consume’: True,

‘volume’: 0,

‘mute’: False,

‘disableVolumeControl’: False,

‘stream’: False,

‘updatedb’: False,

‘volatile’: False,

‘service’: ‘mpd’

}"

Thanks.

Doesn’t look like genre, or other tags, are (ever) available.

Interestingly, using mpc, genre is available. Invoking

mpc --verbose status -f "%title%, %track%, %album%, %composer%, %genre%, %date%"

during playback returns a non-empty string for genre.