playist: do not duplicate now playing information
This commit is contained in:
@@ -97,7 +97,7 @@ void setProperties(NC::Menu<T> &menu, const MPD::Song &s, HasSongs &screen, bool
|
||||
|
||||
int song_pos = menu.isFiltered() ? s.getPosition() : drawn_pos;
|
||||
is_now_playing = static_cast<void *>(&menu) == myPlaylist->Items
|
||||
&& song_pos == myPlaylist->NowPlaying;
|
||||
&& song_pos == Mpd.GetCurrentlyPlayingSongPos();
|
||||
if (is_now_playing)
|
||||
menu << Config.now_playing_prefix;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user