Re: [Rhythmbox-devel] sort by year
- From: Jonathan Matthew <jonathan kaolin wh9 net>
- To: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] sort by year
- Date: Tue, 6 Mar 2007 23:29:54 +1000
On Tue, Mar 06, 2007 at 08:05:37AM -0500, Andrew Conkling wrote:
> > The main problem left is that albums don't actually exist in rhythmbox,
> > so there's no good way to associate years with them. This is something
> > that we intend to fix, although no one has done any work on it as far as
> > I know.
> Well, right now all an "album" is is a bunch of tracks with the same
> artist and album name, right? So why not just tack on the year there
> too? I don't imagine there are too many albums with tracks with
> different years, and it wouldn't seem bad to just show the most recent
> year in such a case.
Right now an "album" is the results of a query for all tracks with a
given album name, and it only exists while you're looking at it. When
you select a different album, the query is destroyed and a new one
created. The album browser just displays the results of a query for all
album names that exist.
There simply isn't anywhere we can store an association between an album
and a release date, so we'd have to fake it by combining the release
dates of all tracks matching the album name. It'd mostly work.
The artist name isn't considered in identifying albums because a) it's
harder and b) compilations.
] [Thread Prev