Author Topic: How to use the sub-grouping header  (Read 107001 times)

The Incredible Boom Boom

  • Hero Member
  • *****
  • Posts: 872
And I'd also love to know where I can actually learn how to use the script language so I can figure these things out myself in the future.

Have you happened across the MusicBee Functions page?

Quote
Edit: 5 minutes after I posted this, I figured out a solution for me.
I'm using
Code
$If(<Disc Count>>1,$IsNull(<Disc#>,Null,"• Disc "<Disc#>)" "$IsNull(<Original Album>,," ~ "<Original Album>),)

right now and I just define the <Original Album> as whatever the CD is called and the normal album is defined as the name of the compilation.

I'm sure there's a more elegant solution tho.

Good job working it out. Looks good other than you don't need the "Null" in your first $IsNull() function.

voodoopunk

  • Jr. Member
  • **
  • Posts: 35
Hi All,

Maybe a daft question, but I haven't seen anything about this, is there a way to have similar style disc names in the tracks view?

Thanks

The Incredible Boom Boom

  • Hero Member
  • *****
  • Posts: 872
Hi All,

Maybe a daft question, but I haven't seen anything about this, is there a way to have similar style disc names in the tracks view?

Thanks

The "Group By" option might be able to do this?

voodoopunk

  • Jr. Member
  • **
  • Posts: 35
Hi All,

Maybe a daft question, but I haven't seen anything about this, is there a way to have similar style disc names in the tracks view?

Thanks

The "Group By" option might be able to do this?
Hi All,

Maybe a daft question, but I haven't seen anything about this, is there a way to have similar style disc names in the tracks view?

Thanks

The "Group By" option might be able to do this?

Got it, you're correct  adding the relevant code after my already existing grouping tag did the trick.

voodoopunk

  • Jr. Member
  • **
  • Posts: 35
Despite not being able to figure out how to use quotes correctly. I've found that the rule I've used from further up in this topic allows the use of grouping certain tracks from a single disc too, as per the following https://www.discogs.com/Violent-Arrest-Life-Inside-The-Western-Bloc/release/7029904

The Incredible Boom Boom

  • Hero Member
  • *****
  • Posts: 872
Despite not being able to figure out how to use quotes correctly. I've found that the rule I've used from further up in this topic allows the use of grouping certain tracks from a single disc too, as per the following https://www.discogs.com/Violent-Arrest-Life-Inside-The-Western-Bloc/release/7029904

Quotes? What do you mean?

hiccup

  • Hero Member
  • *****
  • Posts: 6343
Quotes? What do you mean?

I am guessing he means inserting other member's texts as quotes in a new post. (and not how to use the "quote" symbol)
This can indeed be a challenge when trying to quote several parts from other member's postings.

jonap

  • Jr. Member
  • **
  • Posts: 92
not related question
in the very first post of this thread, in most of the pictures, there are colored boxes to the left of the tracks
what are those? are they just customazible colors to tag the tracks?

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8160
in the very first post of this thread, in most of the pictures, there are colored boxes to the left of the tracks
what are those? are they just customazible colors to tag the tracks?
They're the result of highlighting rules.
Preferences > Tags (2) > tag handling > highlighting > define rules

And since that screenshot was posted, there's been a change which now allows up to three rules to be displayed.

Check the Wiki for details.
Last Edit: March 13, 2021, 08:12:42 PM by phred
Download the latest MusicBee v3.5 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here.

jonap

  • Jr. Member
  • **
  • Posts: 92
wow, you really can do everything with MusicBee
I love this program

Intothisworld

  • Newbie
  • *
  • Posts: 13
Hey guys. I've augmented @Bee-liever's original virtual tag like so:
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"➢ Disc "<Disc#>,"➢ Disc "<Disc#>"  ||  "<Set Subtitle>),$IsNull(<Set Subtitle>,,<Set Subtitle>))
And it works really well. I'm loving the extra control. But I'm wondering, how might I further adjust this formula to make it so the "Disc #" doesn't repeat for each new subtitle that occurs within the same disc?


In other words, so it's only the "set subtitle" by itself that appears in those 2nd & 3rd sub-groupings. Thank you. : )

The Incredible Boom Boom

  • Hero Member
  • *****
  • Posts: 872
Hey guys. I've augmented @Bee-liever's original virtual tag like so:
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"➢ Disc "<Disc#>,"➢ Disc "<Disc#>"  ||  "<Set Subtitle>),$IsNull(<Set Subtitle>,,<Set Subtitle>))
And it works really well. I'm loving the extra control. But I'm wondering, how might I further adjust this formula to make it so the "Disc #" doesn't repeat for each new subtitle that occurs within the same disc?

Pseudo-code: if <Track #> is not 1, then <Set Subtitle>, else <Disc#> <Set Subtitle>