1
0
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:
jcorporation
2018-11-22 22:15:25 +00:00
parent cf9452b212
commit c32649c131
3 changed files with 9 additions and 3 deletions

View File

@@ -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>

View File

@@ -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) {