author | Max Kellermann <max@duempel.org> | |
Sun, 28 Sep 2008 08:57:11 +0000 (10:57 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 28 Sep 2008 08:57:11 +0000 (10:57 +0200) | ||
commit | d97634730540ae063746c5c59dc87d7299719171 | |
tree | c8cbf32eba54c1a6da5917a61fbbd74f5b7426f4 | tree | snapshot |
parent | 6ca92d80ddb859fef30f45c71556f5296127875f | commit | diff |
screen_play: no song means id=-1
"prev_song_id" and "current_song_id" had value 0 if MPD was not
playing at all. This way, ncmpc cannot see the difference between
"song 0 playing" and "not playing". Change "not playing" to -1.
"prev_song_id" and "current_song_id" had value 0 if MPD was not
playing at all. This way, ncmpc cannot see the difference between
"song 0 playing" and "not playing". Change "not playing" to -1.
src/screen_play.c | diff | blob | history |