1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-11-02 14:53:00 +00:00

add play-on-click func, fixup of current playing song

This commit is contained in:
Andrew Karpow
2013-11-08 12:58:18 +01:00
parent 1675fe5220
commit 9ee50d00b7
6 changed files with 19 additions and 2011 deletions

View File

@@ -53,13 +53,13 @@
<div class="btn-toolbar navbar-btn navbar-right" role="toolbar">
<div class="btn-group">
<button type="button" class="btn btn-default">
<span class="glyphicon glyphicon-backward" onclick="socket.send('MPD_API_SET_NEXT')"></span>
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_NEXT');">
<span class="glyphicon glyphicon-backward"></span>
</button>
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PAUSE')">
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PAUSE');">
<span id="play-icon" class="glyphicon glyphicon-pause"></span>
</button>
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PREV')">
<button type="button" class="btn btn-default" onclick="socket.send('MPD_API_SET_PREV');">
<span class="glyphicon glyphicon-forward"></span>
</button>
</div>