mirror of
https://github.com/SuperBFG7/ympd
synced 2025-12-08 07:18:06 +00:00
Feat: display libmpdclient version in about dialog
This commit is contained in:
@@ -953,6 +953,7 @@
|
||||
<tr><th>Play Time</th><td id="mpdstats_playtime"></td></tr>
|
||||
<tr><td colspan="2" class="pt-3"><h5>MPD</h5></td></tr>
|
||||
<tr><th>Protocol Version</th><td id="mpdVersion"></td></tr>
|
||||
<tr><th>Libmpdclient Version</th><td id="libmpdclientVersion"></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -969,6 +969,7 @@ function parseStats(obj) {
|
||||
document.getElementById('mpdstats_dbUpdated').innerText = d.toUTCString();
|
||||
document.getElementById('mympdVersion').innerText = obj.data.mympdVersion;
|
||||
document.getElementById('mpdVersion').innerText = obj.data.mpdVersion;
|
||||
document.getElementById('libmpdclientVersion').innerText = obj.data.libmpdclientVersion;
|
||||
}
|
||||
|
||||
function toggleBtn(btn, state) {
|
||||
|
||||
Reference in New Issue
Block a user