author | Max Kellermann <max@duempel.org> | |
Mon, 2 Nov 2009 17:29:06 +0000 (18:29 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 2 Nov 2009 17:29:06 +0000 (18:29 +0100) | ||
commit | 2ff7f4cdedb080d9f6129c283e8876077b1b1b6f | |
tree | e2a95af706af84b6dd77230ac9e96484d99fc732 | tree | snapshot |
parent | 9cb132951622b50f9dde5250dc938b264c866a7a | commit | diff |
screen_queue: use mpd_status.song_pos for centering the list
Don't look up the playlist. Just use the position provided by MPD.
Side effect: we can pass the mpd_status object to
center_playing_item(), not the whole mpdclient object.
Don't look up the playlist. Just use the position provided by MPD.
Side effect: we can pass the mpd_status object to
center_playing_item(), not the whole mpdclient object.
src/screen_queue.c | diff | blob | history |