author | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 12:30:08 +0000 (14:30 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 12:30:08 +0000 (14:30 +0200) | ||
commit | 1d0e05d6b1621a95acdb18ea03d45ce955495ee4 | |
tree | e305c9ba94fca4b4866b949baaedcaaf6fe7bfc9 | tree | snapshot |
parent | 66f34ee6b418742d44f38ec3bdec5a8ea541bfcc | commit | diff |
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().
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 | diff | blob | history |