From a93dc24bf2d09744570daddbe7700a21d9aa0657 Mon Sep 17 00:00:00 2001 From: "craig.p.drummond@gmail.com" Date: Mon, 10 Sep 2012 11:14:33 +0000 Subject: [PATCH] When sorting tracks, sort on duration after sorting on name, title, and genre. This way of tracks do not have a takc number, disc, year, etc, then we will sort on the name/title before duraiton. --- ChangeLog | 3 +++ mpd/song.cpp | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f9a8cb9a4..0a068106f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ 2. Allow use of 'dynamic' playlists in windows builds, but only for server mode cantata-dynamic. 3. Add a gui setting to control the enforcement of single-click. +4. When sorting tracks, sort on duration after sorting on name, title, and + genre. This way of tracks do not have a takc number, disc, year, etc, then + we will sort on the name/title before duraiton. 0.8.3.1 ------- diff --git a/mpd/song.cpp b/mpd/song.cpp index a16e90749..6ec96a0d9 100644 --- a/mpd/song.cpp +++ b/mpd/song.cpp @@ -129,9 +129,6 @@ int Song::compareTo(const Song &o) const if (year!=o.year) { return year