Johannes Weißl
2011-12-03 03:01:24 UTC
It makes much more sense in my opinion to sort the tree using the
original release date. For people not using this field, nothing changes
(date is used as a fallback).
---
tree.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tree.c b/tree.c
index af461d1..ebbe341 100644
--- a/tree.c
+++ b/tree.c
@@ -754,7 +754,9 @@ void tree_add_track(struct tree_track *track)
int date;
int is_va_compilation = 0;
- date = ti->date;
+ date = ti->originaldate;
+ if (date < 0)
+ date = ti->date;
if (is_http_url(ti->filename)) {
artist_name = "<Stream>";
original release date. For people not using this field, nothing changes
(date is used as a fallback).
---
tree.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tree.c b/tree.c
index af461d1..ebbe341 100644
--- a/tree.c
+++ b/tree.c
@@ -754,7 +754,9 @@ void tree_add_track(struct tree_track *track)
int date;
int is_va_compilation = 0;
- date = ti->date;
+ date = ti->originaldate;
+ if (date < 0)
+ date = ti->date;
if (is_http_url(ti->filename)) {
artist_name = "<Stream>";
--
1.7.7.1
1.7.7.1