Author Topic: Sorting by original year if existing, if not use release year  (Read 700 times)

gguigui

  • Newbie
  • *
  • Posts: 7
Hi!

I've been trying to figure out of to sort albums in the music explorer by year, but I'm not satisfied by the sorting by original year (because Picard don't populate that field as far as I know, so almost all of those are empty) or by release year (because it messes up the order of the original date of releases).

Is there a way to sort albums with the following rules: use original year if it exists, otherwise use release year (which is the field populated by Picard)?
Or do I have to copy release year tags in empty original year tags?

Thanks!

boroda

  • Hero Member
  • *****
  • Posts: 5245
install this plugin:

https://getmusicbee.com/addons/plugins/49/additional-tagging-amp-reporting-tools/

and use 'copy tag' command.

but i think it's easier for you to define virtual tag 'original or release year' and sort by this tag.

Zak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2553
Is there a way to sort albums with the following rules: use original year if it exists, otherwise use release year (which is the field populated by Picard)?

Create a virtual tag with this formula, and sort by that:

Code
$IsNull(<Original Year>,<Year>,<Original Year>)

Where Year is the tag being populated by Picard.
Bee excellent to each other...


FusionFist

  • Newbie
  • *
  • Posts: 6
Super helpful thanks! I modified the code slightly as for me I have mix of dd/mm/yyyy and just yyyy entries so did:

 $IsNull(<Original Year>,<Year (yyyy)>,<Original Year>)

That sorted everything for me to sort just by year ignoring days and month entries which messed up my ordering without.