diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/itdb_playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itdb_playlist.c b/src/itdb_playlist.c index 2d56a23..1649343 100644 --- a/src/itdb_playlist.c +++ b/src/itdb_playlist.c @@ -640,11 +640,11 @@ static gint compLeastRecentlyAdded (Itdb_Track *a, Itdb_Track *b) } static gint compMostOftenPlayed (Itdb_Track *a, Itdb_Track *b) { - return b->time_added - a->time_added; + return b->playcount - a->playcount; } static gint compLeastOftenPlayed (Itdb_Track *a, Itdb_Track *b) { - return a->time_added - b->time_added; + return a->playcount - b->playcount; } static gint compMostRecentlyPlayed (Itdb_Track *a, Itdb_Track *b) { |