From e182a3c44d6f92ab5611bbd20174c68d9b0cb52f Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Fri, 7 May 2010 19:58:07 +0200 Subject: fix current track redraw after playqueue switches playback to another playlist --- plugins/gtkui/gtkui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/gtkui') diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index 480c6663..7f97791f 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -577,12 +577,14 @@ on_add_location_activate (GtkMenuItem *menuitem, static void songchanged (DdbListview *ps, DB_playItem_t *from, DB_playItem_t *to) { - int str_plt = deadbeef->streamer_get_current_playlist (); int plt = deadbeef->plt_get_curr (); +#if 0 // this breaks redraw when playqueue switches to another playlist + int str_plt = deadbeef->streamer_get_current_playlist (); if (plt != str_plt) { // have nothing to do here -- active playlist is not the one with playing song return; } +#endif int to_idx = -1; if (!ddb_listview_is_scrolling (ps) && to) { to_idx = deadbeef->pl_get_idx_of (to); -- cgit v1.2.3