2020-10-02, 23:22
I don't see any code within guilib/guiinfo/MusicGuiInfo.cpp for handling the Player.Progress InfoLabel. Should I?
When including that InfoLabel in a JSON-RPC request, the resulting portion of the response is empty (see below). Both Player.Duration and MusicPlayer.Duration get filled in properly.
Response: {"id": 4, "jsonrpc": "2.0", "result":
{"MusicPlayer.Album": "Brandl: Symphony Op. 12 & Op. 25",
"MusicPlayer.Artist": "Staatsphilharmonie Rheinland-Pfalz",
"MusicPlayer.Duration": "03:24",
"MusicPlayer.Time": "00:20",
"MusicPlayer.Title": "Symphony in E-flat Major, Op. 12: III. Menuetto - Allegro",
"Player.Duration": "03:24",
"Player.Progress": ""}}
When including that InfoLabel in a JSON-RPC request, the resulting portion of the response is empty (see below). Both Player.Duration and MusicPlayer.Duration get filled in properly.
Response: {"id": 4, "jsonrpc": "2.0", "result":
{"MusicPlayer.Album": "Brandl: Symphony Op. 12 & Op. 25",
"MusicPlayer.Artist": "Staatsphilharmonie Rheinland-Pfalz",
"MusicPlayer.Duration": "03:24",
"MusicPlayer.Time": "00:20",
"MusicPlayer.Title": "Symphony in E-flat Major, Op. 12: III. Menuetto - Allegro",
"Player.Duration": "03:24",
"Player.Progress": ""}}