From 951624c82f4def84fcbb7fd0741ca82a3c932b8c Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 29 Jul 2016 10:14:35 -0400 Subject: [PATCH] core/audio: Update Most and Least Played playlists We need to do this when tracks are played to keep playlist counts accurate. Signed-off-by: Anna Schumaker --- core/audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/audio.c b/core/audio.c index a711d29d..2c63abb5 100644 --- a/core/audio.c +++ b/core/audio.c @@ -218,6 +218,8 @@ struct track *audio_eos() if (audio_track) { track_played(audio_track); playlist_update("Unplayed"); + playlist_update("Most Played"); + playlist_update("Least Played"); } /* Check pause count and pick the next track */