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 <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2016-07-29 10:14:35 -04:00
parent 17910c72b2
commit 951624c82f
1 changed files with 2 additions and 0 deletions

View File

@ -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 */