Author Topic: Album Grouping Qs  (Read 3449 times)

kirky86

  • Jr. Member
  • **
  • Posts: 28
Hey all,

I have searched for an answer for my first question and I couldn't get the second to work with an answer I found in a previous topic, so apologies if it is covering old ground.

I have my music organised by release date and grouped by album type (studio album, EP etc). I view them by album artist. Below is a screenshot to give you a visual.

https://imgur.com/a/2NDgH3G

It works great, except there are two main issues I would like resolved.

The first is that any song that doesn't have an album grouping is automatically at the top of the list, which is super annoying to me lol

The second is the groupings are organised alphabetically and I would like to group them in a custom order, e.g. Studio Albums at the top, then singles etc. I don't want the album types to have a number or letter in front of them just to put them in a custom order.

Any help would be greatly appreciated.

Btw, I'm very new to MusicBee although I have read the Wiki, so please explain any suggestions for a newbie lol

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1070
  • Heal The World
This was recently discussed on the following topic:
https://getmusicbee.com/forum/index.php?topic=39905.msg215743#msg215743

Have a look and shout if you don't figure it out from there.
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

kirky86

  • Jr. Member
  • **
  • Posts: 28
This was recently discussed on the following topic:
https://getmusicbee.com/forum/index.php?topic=39905.msg215743#msg215743

Have a look and shout if you don't figure it out from there.
I saw this, but I didn't understand. I couldn't follow along or understand where to put this code. Can someone point me in the right direction or explain in really basic terms what this means.
Last Edit: September 12, 2023, 10:55:08 AM by kirky86

austral

  • Guest
This was recently discussed on the following topic:
https://getmusicbee.com/forum/index.php?topic=39905.msg215743#msg215743

Have a look and shout if you don't figure it out from there.
I saw this, but I didn't understand. I couldn't follow along or understand where to put this code. Can someone point me in the right direction or explain in really basic terms what this means.

kirky86, Would you please post the name of the tag where you are storing your groupings and also a list of them as you like to see them ordered?

kirky86

  • Jr. Member
  • **
  • Posts: 28
This was recently discussed on the following topic:
https://getmusicbee.com/forum/index.php?topic=39905.msg215743#msg215743

Have a look and shout if you don't figure it out from there.
I saw this, but I didn't understand. I couldn't follow along or understand where to put this code. Can someone point me in the right direction or explain in really basic terms what this means.

kirky86, Would you please post the name of the tag where you are storing your groupings and also a list of them as you like to see them ordered?
I'm storing them in custom tag 1 which I've renamed "Album Type".

The list is far too long (there's like 16 groups 'cause that's how I roll lol), but they start with "Studio Albums", "Studio Albums (Re-Release)", "Mixtapes", "Re-Recorded Albums".

Thank you for helping me! I would prefer to understand and fix it myself, but I really appreciate the effort.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1070
  • Heal The World
I would prefer to understand and fix it myself, but I really appreciate the effort.
This is a great starting point: https://musicbee.fandom.com/wiki/Virtual_Tags
The short of it is that you need to insert a zero-width / invisible character at the beginning of your tags so that they may be sorted in the desired order.

It would be something like:

virtual 1 =           $if(<Album Type>="live",zeroWidthCharacter<Album Type>, zeroWidthCharacterzeroWidthCharacter<Album Type>)

Austral explained in that thread how many zeroWidth spaces you need to position something somewhere.
If you don't figure it out, say again and we'll assist further.
I already spend hours on end on social media. Might as well spare a few of those to a greater purpose here.

austral

  • Guest
I'm storing them in custom tag 1 which I've renamed "Album Type".
The list is far too long (there's like 16 groups 'cause that's how I roll lol), but they start with "Studio Albums", "Studio Albums (Re-Release)", "Mixtapes", "Re-Recorded Albums".
Thank you for helping me! I would prefer to understand and fix it myself, but I really appreciate the effort.

This example assumes a custom tag renamed "Album Type" to store values, it uses the tag values you mentioned as a base and also some logic to catch untagged or other tags not on the list parsed by the virtual tag formula.

To build the virtual tag formula in the desired sort order, we make use of "invisible spaces", in our example the one called "Line Separator".
The rule is the more "invisible spaces" before the name to be sorted it will put that name up in the grouping view.


In the CODE box, "Line Separator" characters aren't displayed, but they are there. Copy the formula and paste it to Notepad++ to see them.

Code
$if(<Album Type>=Studio Albums,






Studio Albums,$if(<Album Type>=Studio Albums (Re-Release),





Studio Albums (Re-Release),$if(<Album Type>=Mixtapes,




Mixtapes,$if(<Album Type>=Re-Recorded Albums,



Re-Recorded Albums,$if(<Album Type>=Singles,


Singles,$if(<Album Type>=Compilations,

Compilations,$IsNull(<Album Type>,
***untagged,***unsorted)))))))

To add the virtual tag formula go to Preferences / Tags (1) / Define New Tags...


Result view once Group By is set, in this example, to Virtual1. Press F5 if the view does not update automatically.


In the image below, default tags (Album and Artist tags) have been removed and only added the "Album Type" tag to be certain that tags correspond to their groupings.


I hope you get the idea!.
Cheers
Last Edit: September 13, 2023, 09:21:42 PM by austral

voodoopunk

  • Jr. Member
  • **
  • Posts: 55
Awesome post.

Don't use this view myself, but the explanation makes it very clear.

kirky86

  • Jr. Member
  • **
  • Posts: 28
I'm storing them in custom tag 1 which I've renamed "Album Type".
The list is far too long (there's like 16 groups 'cause that's how I roll lol), but they start with "Studio Albums", "Studio Albums (Re-Release)", "Mixtapes", "Re-Recorded Albums".
Thank you for helping me! I would prefer to understand and fix it myself, but I really appreciate the effort.

This example assumes a custom tag renamed "Album Type" to store values, it uses the tag values you mentioned as a base and also some logic to catch untagged or other tags not on the list parsed by the virtual tag formula.

To build the virtual tag formula in the desired sort order, we make use of "invisible spaces", in our example the one called "Line Separator".
The rule is the more "invisible spaces" before the name to be sorted it will put that name up in the grouping view.


In the CODE box, "Line Separator" characters aren't displayed, but they are there. Copy the formula and paste it to Notepad++ to see them.

Code
$if(<Album Type>=Studio Albums,






Studio Albums,$if(<Album Type>=Studio Albums (Re-Release),





Studio Albums (Re-Release),$if(<Album Type>=Mixtapes,




Mixtapes,$if(<Album Type>=Re-Recorded Albums,



Re-Recorded Albums,$if(<Album Type>=Singles,


Singles,$if(<Album Type>=Compilations,

Compilations,$IsNull(<Album Type>,
***untagged,***unsorted)))))))

To add the virtual tag formula go to Preferences / Tags (1) / Define New Tags...


Result view once Group By is set, in this example, to Virtual1. Press F5 if the view does not update automatically.


In the image below, default tags (Album and Artist tags) have been removed and only added the "Album Type" tag to be certain that tags correspond to their groupings.


I hope you get the idea!.
Cheers
Thank you SO MUCH for this well-thought out example! I have followed along as best as I can (I have 30 album groupings now!), but when I paste it into my Virtual1 tag definition space, it comes up with an error.

Quote
$if(<Album Type>=Studio Albums,




























Studio Albums,$if(<Album Type>=Studio Albums (Re-Releases),



























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),


























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),

























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),
























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,






















Mixtapes,$if(<Album Type>=Singles,





















Singles,$if(<Album Type>=Singles (Re-Releases),




















Singles (Re-Releases),$if(<Album Type>=Promo Singles,



















Promo Singles,$if(<Album Type>=Singles (Remixes),


















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),

















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),
















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,















Re-Recorded Singles,$if(<Album Type>=EPs,














EPs,$if(<Album Type>=EPs (Different Editions/Versions),













EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),












EPs (Remixes),$if(<Album Type>=Mini-Albums,











Mini-Albums,$if(<Album Type>=Live Albums,










Live Albums,$if(<Album Type>=Live EPs/Singles,









Live EPs/Singles,$if(<Album Type>=Remix Albums,








Remix Albums,$if(<Album Type>=Compilations,







Compilations,$if(<Album Type>=Compilations (Soundtracks),






Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),





Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),




Compilations (Remixes),$if(<Album Type>=Posthumous Releases,



Posthumous Releases,$if(<Album Type>=Unreleased,


Unreleased,$if(<Album Type>=Unofficial,

Unofficial,$if(<Album Type>=Fanmade,
Fanmade,$IsNull(<Album Type>=No Album Type,No Album Type))))))))))))))))))))))))))))))

This is what I have done so far. I have counted the number of spaces I need, with 0 for the last grouping (No Album Type) and 29 (!) for the first. I have copied and pasted the line separator from emptycharacter.com. I am unsure if I have got the last bit correct. I feel it's probably either of those two things (or both) which is tripping me up. Thank you for being so thoughtful to a novice like me!

austral

  • Guest
This is what I have done so far. I have counted the number of spaces I need, with 0 for the last grouping (No Album Type) and 29 (!) for the first. I have copied and pasted the line separator from emptycharacter.com. I am unsure if I have got the last bit correct. I feel it's probably either of those two things (or both) which is tripping me up. Thank you for being so thoughtful to a novice like me!

Try the code below, just copy and paste it to the virtual tag formula.

Code
$if(<Album Type>=Studio Albums,





























Studio Albums,$if(<Album Type>=Studio Albums (Re-Releases),




























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),



























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),


























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),

























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,
























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,























Mixtapes,$if(<Album Type>=Singles,






















Singles,$if(<Album Type>=Singles (Re-Releases),





















Singles (Re-Releases),$if(<Album Type>=Promo Singles,




















Promo Singles,$if(<Album Type>=Singles (Remixes),



















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),


















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),

















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,
















Re-Recorded Singles,$if(<Album Type>=EPs,















EPs,$if(<Album Type>=EPs (Different Editions/Versions),














EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),













EPs (Remixes),$if(<Album Type>=Mini-Albums,












Mini-Albums,$if(<Album Type>=Live Albums,











Live Albums,$if(<Album Type>=Live EPs/Singles,










Live EPs/Singles,$if(<Album Type>=Remix Albums,









Remix Albums,$if(<Album Type>=Compilations,








Compilations,$if(<Album Type>=Compilations (Soundtracks),







Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),






Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),





Compilations (Remixes),$if(<Album Type>=Posthumous Releases,




Posthumous Releases,$if(<Album Type>=Unreleased,



Unreleased,$if(<Album Type>=Unofficial,


Unofficial,$if(<Album Type>=Fanmade,

Fanmade,$IsNull(<Album Type>,
No Album Type,unsorted))))))))))))))))))))))))))))))
Last Edit: September 14, 2023, 09:08:29 AM by austral

kirky86

  • Jr. Member
  • **
  • Posts: 28
This is what I have done so far. I have counted the number of spaces I need, with 0 for the last grouping (No Album Type) and 29 (!) for the first. I have copied and pasted the line separator from emptycharacter.com. I am unsure if I have got the last bit correct. I feel it's probably either of those two things (or both) which is tripping me up. Thank you for being so thoughtful to a novice like me!

Try the code below, just copy and paste it to the virtual tag formula.

Code
$if(<Album Type>=Studio Albums,





























Studio Albums,$if(<Album Type>=Studio Albums (Re-Releases),




























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),



























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),


























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),

























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,
























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,























Mixtapes,$if(<Album Type>=Singles,






















Singles,$if(<Album Type>=Singles (Re-Releases),





















Singles (Re-Releases),$if(<Album Type>=Promo Singles,




















Promo Singles,$if(<Album Type>=Singles (Remixes),



















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),


















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),

















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,
















Re-Recorded Singles,$if(<Album Type>=EPs,















EPs,$if(<Album Type>=EPs (Different Editions/Versions),














EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),













EPs (Remixes),$if(<Album Type>=Mini-Albums,












Mini-Albums,$if(<Album Type>=Live Albums,











Live Albums,$if(<Album Type>=Live EPs/Singles,










Live EPs/Singles,$if(<Album Type>=Remix Albums,









Remix Albums,$if(<Album Type>=Compilations,








Compilations,$if(<Album Type>=Compilations (Soundtracks),







Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),






Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),





Compilations (Remixes),$if(<Album Type>=Posthumous Releases,




Posthumous Releases,$if(<Album Type>=Unreleased,



Unreleased,$if(<Album Type>=Unofficial,


Unofficial,$if(<Album Type>=Fanmade,

Fanmade,$IsNull(<Album Type>,
No Album Type,unsorted))))))))))))))))))))))))))))))
It worked! Oh thank you so much! I'm so sorry you had to do that, I was so hoping I could get it right lol. But I really appreciate it, thanks once again :D

kirky86

  • Jr. Member
  • **
  • Posts: 28
This is what I have done so far. I have counted the number of spaces I need, with 0 for the last grouping (No Album Type) and 29 (!) for the first. I have copied and pasted the line separator from emptycharacter.com. I am unsure if I have got the last bit correct. I feel it's probably either of those two things (or both) which is tripping me up. Thank you for being so thoughtful to a novice like me!

Try the code below, just copy and paste it to the virtual tag formula.

Code
$if(<Album Type>=Studio Albums,





























Studio Albums,$if(<Album Type>=Studio Albums (Re-Releases),




























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),



























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),


























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),

























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,
























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,























Mixtapes,$if(<Album Type>=Singles,






















Singles,$if(<Album Type>=Singles (Re-Releases),





















Singles (Re-Releases),$if(<Album Type>=Promo Singles,




















Promo Singles,$if(<Album Type>=Singles (Remixes),



















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),


















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),

















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,
















Re-Recorded Singles,$if(<Album Type>=EPs,















EPs,$if(<Album Type>=EPs (Different Editions/Versions),














EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),













EPs (Remixes),$if(<Album Type>=Mini-Albums,












Mini-Albums,$if(<Album Type>=Live Albums,











Live Albums,$if(<Album Type>=Live EPs/Singles,










Live EPs/Singles,$if(<Album Type>=Remix Albums,









Remix Albums,$if(<Album Type>=Compilations,








Compilations,$if(<Album Type>=Compilations (Soundtracks),







Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),






Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),





Compilations (Remixes),$if(<Album Type>=Posthumous Releases,




Posthumous Releases,$if(<Album Type>=Unreleased,



Unreleased,$if(<Album Type>=Unofficial,


Unofficial,$if(<Album Type>=Fanmade,

Fanmade,$IsNull(<Album Type>,
No Album Type,unsorted))))))))))))))))))))))))))))))
It worked! Oh thank you so much! I'm so sorry you had to do that, I was so hoping I could get it right lol. But I really appreciate it, thanks once again :D
Actually, now that I look at it, there are a couple issues.

I missed a category that I need in there: Studio Albums (Different Editions/Versions), as the second one after Studio Albums.

Also, the songs that I have labeled as "No Album Type" are instead grouped as "unsorted". Is there any way to fix this?

austral

  • Guest
Actually, now that I look at it, there are a couple issues.
I missed a category that I need in there: Studio Albums (Different Editions/Versions), as the second one after Studio Albums.
Also, the songs that I have labeled as "No Album Type" are instead grouped as "unsorted". Is there any way to fix this?

Sure! New category added below Studio Albums.

Explanation of No Album Type / untagged  / unsorted
No Album Type entries tagged by the user, meaning they have been checked and considered they do not belong to any of the regular Album Type groupings.
Under untagged grouping are those pending to be assigned. They have not been tagged.
Entries below unsorted indicate they have been tagged but their tags do not match any of the regular Album Type groupings, perhaps an old tag, a typo, etc...

** You may change the names untagged and unsorted to whatever you like directly in the formula. Just make sure no Line Separator is removed in the process, for that i suggest to copy the formula code into Notepad++, do the changes and copy/paste it back to MusicBee.



and the code
Code
$if(<Album Type>=Studio Albums,































Studio Albums,$if(<Album Type>=Studio Albums (Different Editions/Versions),






























Studio Albums (Different Editions/Versions),$if(<Album Type>=Studio Albums (Re-Releases),





























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),




























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),



























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),


























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,

























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,
























Mixtapes,$if(<Album Type>=Singles,























Singles,$if(<Album Type>=Singles (Re-Releases),






















Singles (Re-Releases),$if(<Album Type>=Promo Singles,





















Promo Singles,$if(<Album Type>=Singles (Remixes),




















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),



















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),


















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,

















Re-Recorded Singles,$if(<Album Type>=EPs,
















EPs,$if(<Album Type>=EPs (Different Editions/Versions),















EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),














EPs (Remixes),$if(<Album Type>=Mini-Albums,













Mini-Albums,$if(<Album Type>=Live Albums,












Live Albums,$if(<Album Type>=Live EPs/Singles,











Live EPs/Singles,$if(<Album Type>=Remix Albums,










Remix Albums,$if(<Album Type>=Compilations,









Compilations,$if(<Album Type>=Compilations (Soundtracks),








Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),







Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),






Compilations (Remixes),$if(<Album Type>=Posthumous Releases,





Posthumous Releases,$if(<Album Type>=Unreleased,




Unreleased,$if(<Album Type>=Unofficial,



Unofficial,$if(<Album Type>=Fanmade,


Fanmade,$if(<Album Type>=No Album Type,

No Album Type,$IsNull(<Album Type>,
untagged,unsorted))))))))))))))))))))))))))))))))
Last Edit: September 14, 2023, 04:24:05 PM by austral

kirky86

  • Jr. Member
  • **
  • Posts: 28
Actually, now that I look at it, there are a couple issues.
I missed a category that I need in there: Studio Albums (Different Editions/Versions), as the second one after Studio Albums.
Also, the songs that I have labeled as "No Album Type" are instead grouped as "unsorted". Is there any way to fix this?

Sure! New category added below Studio Albums.

Explanation of No Album Type / untagged  / unsorted
No Album Type entries tagged by the user, meaning they have been checked and considered they do not belong to any of the regular Album Type groupings.
Under untagged grouping are those pending to be assigned. They have not been tagged.
Entries below unsorted indicate they have been tagged but their tags do not match any of the regular Album Type groupings, perhaps an old tag, a typo, etc...

** You may change the names untagged and unsorted to whatever you like directly in the formula. Just make sure no Line Separator is removed in the process, for that i suggest to copy the formula code into Notepad++, do the changes and copy/paste it back to MusicBee.



and the code
Code
$if(<Album Type>=Studio Albums,































Studio Albums,$if(<Album Type>=Studio Albums (Different Editions/Versions),






























Studio Albums (Different Editions/Versions),$if(<Album Type>=Studio Albums (Re-Releases),





























Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),




























Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),



























Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),


























Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,

























Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,
























Mixtapes,$if(<Album Type>=Singles,























Singles,$if(<Album Type>=Singles (Re-Releases),






















Singles (Re-Releases),$if(<Album Type>=Promo Singles,





















Promo Singles,$if(<Album Type>=Singles (Remixes),




















Singles (Remixes),$if(<Album Type>=Singles (Different Versions),



















Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),


















Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,

















Re-Recorded Singles,$if(<Album Type>=EPs,
















EPs,$if(<Album Type>=EPs (Different Editions/Versions),















EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),














EPs (Remixes),$if(<Album Type>=Mini-Albums,













Mini-Albums,$if(<Album Type>=Live Albums,












Live Albums,$if(<Album Type>=Live EPs/Singles,











Live EPs/Singles,$if(<Album Type>=Remix Albums,










Remix Albums,$if(<Album Type>=Compilations,









Compilations,$if(<Album Type>=Compilations (Soundtracks),








Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),







Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),






Compilations (Remixes),$if(<Album Type>=Posthumous Releases,





Posthumous Releases,$if(<Album Type>=Unreleased,




Unreleased,$if(<Album Type>=Unofficial,



Unofficial,$if(<Album Type>=Fanmade,


Fanmade,$if(<Album Type>=No Album Type,

No Album Type,$IsNull(<Album Type>,
untagged,unsorted))))))))))))))))))))))))))))))))
You are AMAZING!!! Seriously, thank you so much for doing this for me. I really appreciate it.

austral

  • Guest
boroda has just  updated Additional Tagging & Reporting Tools with a new function, allowing a character to be repeated n times. With this new addition creating and updating virtual tag formulas for custom sort order groupings are easier than ever.

$CharN(code,times)

In our example, all the Line separators have been replaced to use this new function:  $CharN(2028,n)
2028 is the code representing the Line Separator and n is the decimal number of occurrences.

Here's the new code. Make sure you have installed the plugin (or updated it if needed)
Code
$if(<Album Type>=Studio Albums,$CharN(2028,32)Studio Albums,$if(<Album Type>=Studio Albums (Different Editions/Versions),$CharN(2028,31)Studio Albums (Different Editions/Versions),$if(<Album Type>=Studio Albums (Re-Releases),$CharN(2028,30)Studio Albums (Re-Releases),$if(<Album Type>=Studio Albums (Companions),$CharN(2028,29)Studio Albums (Companions),$if(<Album Type>=Studio Albums (Cast Recordings),$CharN(2028,28)Studio Albums (Cast Recordings),$if(<Album Type>=Studio Albums (Soundtracks),$CharN(2028,27)Studio Albums (Soundtracks),$if(<Album Type>=Re-Recorded Studio Albums,$CharN(2028,26)Re-Recorded Studio Albums,$if(<Album Type>=Mixtapes,$CharN(2028,25)Mixtapes,$if(<Album Type>=Singles,$CharN(2028,24)Singles,$if(<Album Type>=Singles (Re-Releases),$CharN(2028,23)Singles (Re-Releases),$if(<Album Type>=Promo Singles,$CharN(2028,22)Promo Singles,$if(<Album Type>=Singles (Remixes),$CharN(2028,21)Singles (Remixes),$if(<Album Type>=Singles (Different Versions),$CharN(2028,20)Singles (Different Versions),$if(<Album Type>=Singles (Megamixes),$CharN(2028,19)Singles (Megamixes),$if(<Album Type>=Re-Recorded Singles,$CharN(2028,18)Re-Recorded Singles,$if(<Album Type>=EPs,$CharN(2028,17)EPs,$if(<Album Type>=EPs (Different Editions/Versions),$CharN(2028,16)EPs (Different Editions/Versions),$if(<Album Type>=EPs (Remixes),$CharN(2028,15)EPs (Remixes),$if(<Album Type>=Mini-Albums,$CharN(2028,14)Mini-Albums,$if(<Album Type>=Live Albums,$CharN(2028,13)Live Albums,$if(<Album Type>=Live EPs/Singles,$CharN(2028,12)Live EPs/Singles,$if(<Album Type>=Remix Albums,$CharN(2028,11)Remix Albums,$if(<Album Type>=Compilations,$CharN(2028,10)Compilations,$if(<Album Type>=Compilations (Soundtracks),$CharN(2028,9)Compilations (Soundtracks),$if(<Album Type>=Compilations (Soundtracks) (Different Editions/Versions),$CharN(2028,8)Compilations (Soundtracks) (Different Editions/Versions),$if(<Album Type>=Compilations (Remixes),$CharN(2028,7)Compilations (Remixes),$if(<Album Type>=Posthumous Releases,$CharN(2028,6)Posthumous Releases,$if(<Album Type>=Unreleased,$CharN(2028,5)Unreleased,$if(<Album Type>=Unofficial,$CharN(2028,4)Unofficial,$if(<Album Type>=Fanmade,$CharN(2028,3)Fanmade,$if(<Album Type>=No Album Type,$CharN(2028,2)No Album Type,$IsNull(<Album Type>,$CharN(2028,1)untagged,unsorted))))))))))))))))))))))))))))))))
Last Edit: September 16, 2023, 08:50:14 AM by austral