gui/audio: Enable idle polling when the track changes

Unplayed, Most Played, and Least Played tracks playlists update
themselves with an idle task when tracks have been played.  It looks
like we haven't been processing these tasks, so the queue was just
building up after every track.  Fix this by enabling the GTK idle
callback whenever a track is played.

Fixes #89: Dynamic playlists aren't updating
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2016-09-19 14:39:31 -04:00
parent b35b1eb132
commit 257ef3612f
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
6.4.20:
- Enable idle processing when tracks are played to update dynamic playlists
6.4.20-rc:
- Use a single GtkTreeModelFilter instance for displaying tracks
- Use a single GuiQueueModel instance for displaying tracks

View File

@ -40,6 +40,7 @@ static void __audio_load(struct track *track)
gui_view_scroll();
gui_artwork_set_cover();
gui_idle_enable();
}
static void __audio_change_state(GstState state)