HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: brx on 2013-07-28 18:39:15

Title: How to sort albums by release date?
Post by: brx on 2013-07-28 18:39:15
Is there any way of sorting albums by release date?
I solved this problem by adding a letter next to year, for example: 2013a, 2013b...
and it sorts just fine, but it looks bad when I want to see albums by year...
I want to keep YYYY format of date tag and I want to get it sort correctly.

Any opinions?

Thanks,
Brx
Title: How to sort albums by release date?
Post by: Propheticus on 2013-07-28 19:05:45
In the album list add a view using %<date>%. Personally I use %<date>%|[%album artist% - ]%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%  when sorting by release date.
Title: How to sort albums by release date?
Post by: db1989 on 2013-07-28 21:00:08
Sorting albums by release date where? Although the answer is much the same for Default UI as Propheticus has already provided for the Album List.

The now-abandonware but still popular Columns UI allows separate displaying and sorting strings.
Title: How to sort albums by release date?
Post by: brx on 2013-07-28 21:25:51
I'm using Columns UI and I think a solved the problem.
I put --> %date%  - %album artist% - %discnumber% - %album% - %tracknumber% - %title% <--
in the field of the option: "Sort incoming files by"...
The only thing that annoys me is that, when there are albums of the same year, instead of adding a letter
to a date tag, I'm using now disk number, so for example, if there were 3 albums of the same artist that were released in 2013,
I tagged first album with disk number/total discs --> 1/3, second, 2/3, and the third 3/3 <--
and everything is OK...
Maybe it is not the best solution, but it works... If you know better solution, please let me know...

Thanks for answers!

Brx
Title: How to sort albums by release date?
Post by: Propheticus on 2013-07-28 22:00:23
reverse the album and the disc number, so it's sorted by album first and then by disc number. The sorting string is read and applied left-to-right.
Title: How to sort albums by release date?
Post by: BenB on 2013-07-28 22:25:25
Maybe it is not the best solution, but it works... If you know better solution, please let me know...

You could always add the month (and day) to the date so that instead of just YYYY, you would have YYYY-MM or YYYY-MM-DD to sort by.
Title: How to sort albums by release date?
Post by: brx on 2013-07-29 10:47:59
Maybe it is not the best solution, but it works... If you know better solution, please let me know...

You could always add the month (and day) to the date so that instead of just YYYY, you would have YYYY-MM or YYYY-MM-DD to sort by.


Great tip, but if I do that, there is another problem...
For example:

Date
-------
2011
2012
2013
2013-05-05  <-- I don't want this in column, because sometimes, I want to see which albums are from 2013 and just select that year, not a particular date ...

Is there a way to hide month and day, so there would be only YYYY format in date filter?

Thanks,

Brx

Title: How to sort albums by release date?
Post by: marc2003 on 2013-07-29 11:15:58
$year(%date%)
Title: How to sort albums by release date?
Post by: brx on 2013-07-29 11:47:06
$year(%date%)


Great, that's it!

Thanks guys!

Brx