mirror of
https://github.com/danbee/mpd-client
synced 2025-03-04 08:39:09 +00:00
Use correct value from status.
This commit is contained in:
parent
7fff75c2c0
commit
99c057f1ee
@ -18,7 +18,7 @@ $(document).ready(function() {
|
||||
};
|
||||
|
||||
status.bind('change', function(event, attr, how, newVal, oldVal) {
|
||||
if (attr == 'songid') {
|
||||
if (attr == 'song') {
|
||||
mpdClient.queueSongs.updatePlaying(oldVal, newVal);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user