Rockbox General > Rockbox General Discussion

Option to display albums in Database by year?

<< < (3/7) > >>

cc:

AFAIK (which is not all that far  ;D ) tagnavi_custom.config only allows you to add new custom menus, not change the default menu.

But, yes, adding a custom menu might also do what he wants.

roolku:

--- Quote from: cc on October 16, 2007, 06:01:15 AM ---AFAIK (which is not all that far  ;D ) tagnavi_custom.config only allows you to add new custom menus, not change the default menu.

--- End quote ---

Not quite true.

You can set the default menu using the keyword %root_menu. I.e the line

%root_menu "custom"

at the end of your your tagnavi_custom.config will set the root_menu to "custom" (which needs to be defined)

cc:

So it does! Cool. I assumed because the custom file was read before all the other stuff (including rootmenu) was defined that the defaults would overwrite any changes you tried to make.

KindOfBlues71:

--- Quote from: Llorean ---I don't understand what you're asking in the first paragraph at all. It sounds like you haven't quite read what I've said.

--- End quote ---

I've read and understood all your posts.  I asked if the options in the File View settings had an affect on the Database's inability to display albums by year.  I read the Wiki and ensured that Sort Directories and Sort Files was set to "Alphabetical" (which should be renamed to "Alpha-Numeric" since it sorts letters AND numbers in order, but that's off-topic), so I answered my own question and apologize for confusing you.


--- Quote ---Albums cannot be sorted by year, because there is no data stored for albums. Data is stored for songs. So what you get is "All songs on this album." What you can do though is have another tag on the songs for "Album Year" or just use an existing tag as it. Then sort first by that tag, then by album name.

The database just stores information about songs. "Albums" don't really exist. All they are is a series of letters that several songs have in common, so you can't store specific information about an album such as its year. But you can, on every song, use a tag to store what year that song's album came out.

--- End quote ---

How is using the "Album Year" tag or hijacking another tag is any different than using the "Year" tag.  I understand the difference but aren't both tags, to quote you, "a series of numbers/letters that several songs have in common"?  It'd be a waste of time to creating a patch for an unsupported tag that essentially sorts the same as using the existing "Year" tag.  I'd still have to select a year first to see all albums tagged with that year.

Furthermore, since albums are just "a series of letters that several songs have in common," the same is true of artists.  And the same is true of the year as well, only it's a series of numbers that several songs have in common.  So why can we sort by Artist but restrict those to a certain genre, for example?  You can define a filter/condition/format to display certain Artists and/or Albums, right?  So why can't we use "Year" as a filter/condition/format when displaying albums?



--- Quote from: countach ---All this is true, but, for example, why not consider the date stored in the first song as the date of the album? Or even in all songs. That would be a method as valid as the one used to retrieve the album's name.

In fact, foobar2000 does it that way.

--- End quote ---

Exactly!



--- Quote from: Llorean ---There is no method to retrieve the album's name, because no information is stored about the album.

If you have six songs from one album, and in three the album name is misspelled, you will have 3 songs from one album, and 3 from another, and will see two different album names in the list because all it's doing is grouping them by the content of a list of letters, and doesn't know what that list *means* other than it's the list "called" a different list of letters.

You could group them by year, but of course then it would group every song from that year, independent of album. But if you do "Year" then "Album" then you'll see all albums from that year, assuming all your songs have the same year marked on any given album.

Then again, if all your songs had the same year marked, wouldn't that negate the need for this request which was for a separate tag for album date than then normal year tag?

Your statement basically seems to suggest exactly what he doesn't want to do...

--- End quote ---

Actually, countach stated exactly what want to do.  I never requested a separate tag for album date, I only want use the supported Year tag to sort albums chronologically when I select an artist.  You've stated multiple times that it can't be done, but you haven't explained WHY it can't be done.  The Database Wiki shows that the Year tag can be used in Filter, Condition and Formatting.  So it would make sense based on the Wiki that albums should be able to be displayed chronologically by year when you select an artist first, rather than selecting the year first.

Erroneous entries will always mess up the way information is listed, regardless of whether we can sort albums by year or not.  If someone has 300 audio files all tagged with the same year, they're probably not the type of person who cares about listing an artist's albums chronologically by year.  Regardless of how detailed someone is with their tags, we should be able to use the supported tags to "control the structure and layout" of the database (to quote the Database Wiki).  So why can't we?

-KindOfBlues71

KindOfBlues71:

--- Quote from: cc ---If all you want to do is see a list of albums after you select "Year" (instead of a list of artists first), then you could just change this line in .rockbox/tagnavi.config :

 "Year"     -> year ? year > "0" -> artist -> album -> title = "fmt_title"

to this:

 "Year"     -> year ? year > "0" -> album -> title = "fmt_title"

You will have to do the mod each time you update rockbox though...

And it isn't really sorting by album year, if there are songs from different years on an album you will only see the songs from the year you selected when you get to the album.

Is that what you meant?

--- End quote ---

No, what I'd like is to select an artist and see the albums listed chronologically by year.  For example, selecting The Beatles from my list of Artists lists their albums sorted by year:

The Beatles[*]Please Please Me
[*]With The Beatles
[*]Meet The Beatles!
[*]A Hard Day's Night
[*]Beatles For Sale
[*]Help!
[*]Rubber Soul
[*]Revolver
[*]Sgt. Pepper's Lonely Hearts Club Band
[*]The Beatles [White Album]
[*]Abbey Road
[*]Let It Be
[/list]

-KindOfBlues71

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version