Code

screen_play: remember playlist
authorMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:30:08 +0000 (14:30 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:30:08 +0000 (14:30 +0200)
commit1d0e05d6b1621a95acdb18ea03d45ce955495ee4
treee305c9ba94fca4b4866b949baaedcaaf6fe7bfc9
parent66f34ee6b418742d44f38ec3bdec5a8ea541bfcc
screen_play: remember playlist

Remove the last paint() dependency on the mpdclient pointer: remember
a pointer to the playlist object, and don't take it from mpdclient
every time we paint.  Also add the variable "current_song_id" which is
calculated in update().
src/screen_play.c