jump to current song at startup even if it's not currently played
This commit is contained in:
@@ -342,8 +342,9 @@ int main(int argc, char **argv)
|
||||
if (Config.jump_to_now_playing_song_at_start)
|
||||
{
|
||||
TraceMpdStatus();
|
||||
if (myPlaylist->isPlaying())
|
||||
myPlaylist->Items->Highlight(myPlaylist->NowPlaying);
|
||||
int curr_pos = Mpd.GetCurrentSongPos();
|
||||
if (curr_pos >= 0)
|
||||
myPlaylist->Items->Highlight(curr_pos);
|
||||
}
|
||||
|
||||
while (!main_exit)
|
||||
|
||||
Reference in New Issue
Block a user