Code

screen_queue: use mpd_status.song_pos for centering the list
authorMax Kellermann <max@duempel.org>
Mon, 2 Nov 2009 17:29:06 +0000 (18:29 +0100)
committerMax Kellermann <max@duempel.org>
Mon, 2 Nov 2009 17:29:06 +0000 (18:29 +0100)
commit2ff7f4cdedb080d9f6129c283e8876077b1b1b6f
treee2a95af706af84b6dd77230ac9e96484d99fc732
parent9cb132951622b50f9dde5250dc938b264c866a7a
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.
src/screen_queue.c