getmusicbee.com

Support => Tips and Tricks => Topic started by: Bee-liever on February 12, 2014, 08:27:59 AM

Title: How to use the sub-grouping header
Post by: Bee-liever on February 12, 2014, 08:27:59 AM
Getting the most out of the sub-grouping header.

At first glance the sub-grouping header appears to be of little value for everyday use.

When tagged correctly, MusicBee already splits multi-disc albums into the seperate discs, so using Disc#  only adds a basic number.

(http://i.imgur.com/MPA9tWp.jpg) (http://imgur.com/MPA9tWp)


Even using Composer to split Various Artist Classical Albums;

(http://i.imgur.com/qtrJJ4q.jpg) (http://imgur.com/qtrJJ4q)


or Touring?, to add a "Y" to let you know when an Artist is touring so you can then check out the upcoming concerts page;

(http://i.imgur.com/NLOJoFn.jpg) (http://imgur.com/NLOJoFn)


is nothing to really get excited about.

But combine it with a few standard, custom and virtual tags and you can have a host of information and quick selection options displayed in the 'Album and Tracks' and 'Artwork' panels.

In my own set-up, I have used the in-built MB custom tag "Set-Subtitle", and standard Disc Count and Disc# to create the virtual tag:

Sub-Header [variable]
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))

By using this tag for my sub-grouping header, I'm able to get a bit more visual appeal for a standard multi-disc album;

(http://i.imgur.com/dtomaLV.jpg) (http://imgur.com/dtomaLV)


Break up classical albums into separate works;

(http://i.imgur.com/0s66P0H.jpg) (http://imgur.com/0s66P0H)


Mark tracks as hidden or bonus;

(http://i.imgur.com/n69yz6X.jpg) (http://imgur.com/n69yz6X)


Break albums into sections as envisaged by the artist;

(http://i.imgur.com/zAOUk54.jpg) (http://imgur.com/zAOUk54)


And because the sub-header is selectable, it's quick to play, queue or add to a playlist just that section of an album.




Just a word of caution, before you get too carried away with this.
The more info you pack in to that sub-grouping header to be displayed, the harder MB has to work to sort out the groupings.  With large collections, this can lead to noticeably longer start-up times.
Title: Re: How to use the sub-grouping header
Post by: MeeMeeMee on November 14, 2014, 12:46:11 PM
This is such an incredible tip/idea. I've been struggling with this problem for some time.
I'm a bit curious in regard to the actual tags, not the virtual tag, you're using to store the information.
I've been using the disk# tag for non-numerical values, when appropriate.
For example, Outkast's Speakerboxxx/The Love Below, which has 2 CD - instead of 1 and 2 I use "Speakerboxxx" and "The Love Below". The same thing with Tom Wait's 3CD album Orphans: Brawlers, Bawlers & Bastards. I also do a similar thing when I have a special edition album with a bonus CD containing additional material (live performances, different mixes or different takes) - I name those cds Album and Bonus Disk, for example.

I use these to auto-organize the files as well.

As to the matter of the set subtitle - why not use the grouping tag? Isn't that exactly what it's designed for?
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 14, 2014, 09:03:43 PM
The 'Set subtitle' (TSST) frame was introduced in ID3v2.4 specifically for the subtitle within album sets.

The grouping tag is more for normally unrelated tracks (Album and Artist wise) that fit a larger category; ie: Christmas, Piano Concerto, Live Performance.
Title: Re: How to use the sub-grouping header
Post by: MeeMeeMee on November 14, 2014, 11:27:33 PM
The 'Set subtitle' (TSST) frame was introduced in ID3v2.4 specifically for the subtitle within album sets.

The grouping tag is more for normally unrelated tracks (Album and Artist wise) that fit a larger category; ie: Christmas, Piano Concerto, Live Performance.

I didn't know that. Too bad Vorbis Comment hasn't grown beyond the very basic tags.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 15, 2014, 12:38:26 AM
Too bad Vorbis Comment hasn't grown beyond the very basic tags.

Yeah.  The majority of my library is in FLAC, but I use the ID3 tagging system for all file types, as it's the only one with a fully published standard.
Title: Re: How to use the sub-grouping header
Post by: psychoadept on October 19, 2015, 09:50:16 PM
Is this guide on the wiki? It would be a great addition.  Thanks!
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 15, 2016, 02:31:47 AM
Can you post up your Header [Variable] virtualtag?
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 15, 2016, 02:53:22 AM
It's just after the first three images in the first post.
I must admit it doesn't stand out like it did before the forum upgrade :(

Sub-Header [variable]
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 18, 2016, 07:23:11 AM
I guess I should have been more specific, as I was particularly interested in the Virtualtag that expresses "Released: <CustomDateField?>/<Year> (yyyy)"

The subtitle field is fun to play around with.  It certainly helps with classical music!  Thanks!
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 18, 2016, 08:19:34 AM
I was particularly interested in the Virtualtag that expresses "Released: <CustomDateField?>/<Year> (yyyy)"

That's my RH grouping header
It uses a custom tag - Release Date Sort - in the format YYYYMMDD that I use a virtual tag to convert to the format DD Mon YYYY for display.
It removes DD and DD Mon if they are unknown (00).

Hold onto something, cause it's a big formula  :)

Released: $If($Right(<Release Date Sort>,4)=0000,<YYYY>,$If($Right($Right(<Release Date Sort>,4),2)=00,$If($Left($Right(<Release Date Sort>,4),2)=01,"Jan "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=02,"Feb "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=03,"Mar "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=04,"Apr "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=05,"May "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=06,"Jun "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=07,"Jul "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=08,"Aug "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=09,"Sep "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=10,"Oct "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=11,"Nov "<YYYY>,"Dec "<YYYY>))))))))))),$If($Left($Right($Right(<Release Date Sort>,4),2),1)=0,$Right($Right(<Release Date Sort>,4),1),$Right($Right(<Release Date Sort>,4),2))" "$If($Left($Right(<Release Date Sort>,4),2)=01,"Jan "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=02,"Feb "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=03,"Mar "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=04,"Apr "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=05,"May "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=06,"Jun "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=07,"Jul "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=08,"Aug "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=09,"Sep "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=10,"Oct "<YYYY>,$If($Left($Right(<Release Date Sort>,4),2)=11,"Nov "<YYYY>,"Dec "<YYYY>)))))))))))))
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 18, 2016, 08:27:31 AM
Holy,

Well, luckily I had the foresight (mostly dumbluck) to store the year and date in separate fields (albeit the latter was in "month.day" format).  I finally found the function wiki page and it is relatively straightforward.

Here's mine:

ReleaseDate: $IsNull(<Date_Custom>,"Released: "<Year (yyyy)>,$If(<Date_Custom>=00.00,"Released: "<Year (yyyy)>,"Released "<Date_Custom>.<Year (yyyy)>))

That is fed into RDateFormat: $Replace(<ReleaseDate>,.,/)

Thanks for the examples though!  You certainly provided me the idea how to translate the month values into text rather than numbers.  I was about to use $split, but I might as use $left(2) and $right(2) to return the needed values.  Thanks for the help! :)
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 18, 2016, 10:39:01 AM
Well, luckily I had the foresight (mostly dumbluck) to store the year and date in separate fields (albeit the latter was in "month.day" format).

MB will save the date/month/year correctly to a tag if it's a complete date.
When tagging, I only fill in the Release Date Sort.
I have the Additional tags plugin set too auto-apply just the YYYY if missing info or DD/MM/YYYY if full date is known.
Title: Re: How to use the sub-grouping header
Post by: Steven on January 18, 2016, 11:56:10 AM
why not just use $Date(<field>,"dd MMMM yyyy")
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 18, 2016, 09:02:55 PM
why not just use $Date(<field>,"dd MMMM yyyy")

unfortunately, when I tried that <field> has to be in date format. It also wont be recognised if it contains zeros. eg 19780500 (or even 00051978)
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 20, 2016, 05:06:20 AM
why not just use $Date(<field>,"dd MMMM yyyy")

To see what Steven was on about and the much smaller function code it achieves go here -
http://getmusicbee.com/forum/index.php?topic=17302.0 (http://getmusicbee.com/forum/index.php?topic=17302.0)
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 21, 2016, 03:52:06 AM
Wrt to your sub-grouping post, one would have to make additional tags (i.e. <Set Subtitle>).  Since I didn't feel like adding new tags and luckily my tags are pretty good already, I felt that there should be another way.  My classical title tags are already in a "Piece: Movement" (e.g. "Symphony No.41 in C Major ("Jupiter"), K.551: IV. Allegro molto").  So, I decided to use the $split function and here are the results:

<Classical Works> [sub-grouping header]
Code
$If($Contains(<Title>,": ")="F","    —","• "$Split(<Title>,": ",1)" •")

<Movement> [Title]
Code
$If($Contains(<Title>,": ")="F",<Title>,$Split(<Title>,": ",2))

<Works> (for the column browser if one has a classical-heavy collection)
Code
$If($Contains(<Title>,": ")="F",,$Split(<Title>,": ",1))

(http://7.t.imgbox.com/tlzJb1hD.jpg) (http://imgbox.com/tlzJb1hD) (http://9.t.imgbox.com/5E5Fw5VT.jpg) (http://imgbox.com/5E5Fw5VT)
Title: Re: How to use the sub-grouping header
Post by: MeeMeeMee on January 21, 2016, 02:28:25 PM
You setup is very nice.
Correct me if I'm wrong, but the Piece part "should" be in a separate Set Subtitle tag. See my discussion with Bee-liever eariler in this thread.
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 21, 2016, 08:41:16 PM
You setup is very nice.
Correct me if I'm wrong, but the Piece part "should" be in a separate Set Subtitle tag. See my discussion with Bee-liever eariler in this thread.
Thanks,  it "could" be in <Set Subtitle> but that tag is id3 v2.4 and isn't supported much IIRC.  MB isn't the only player I use and changing thousands of tags doesn't sound like fun*.  Also, I want to have the whole <title> show up on my devices synced to my libraries (MM or MB).  Of course, one may save "Piece" in <set subtitle> and split the title to achieve <movement>, but why add another tag if one can slice and dice the already existing <Title>?

*This is trivial with mp3tag and notepad++.  With mp3tag, export the <Title> field.  In notepad++, copy the ":" character (without quotes), use TextFX > TextFx Edit > Lineup multiple lines with clipboard character.  Then simply block copy (hold down Alt and use left click to draw and select an area to encompass either the <Title> or <Set Subtitle>), copy and paste the block in a new text file tab in NP++.  Then TextFX > TextFX Edit > Trim Trailing Spaces on both text files.  To get rid of ":" at the end of the line for <Set Subtitle>, regex Find&Replace with "^(.*).$" in Find and "\1" in Replace (without quotes for both).  Save and name the two files, go to mp3tag and use "Text File - Tag" and add the text files into their respective tag fields.  Remember to Alt+Z to undo any screwups.  Yeah, it is a quite a few steps but if one is editing thousands of files at the same time, this is one the ways to go.
Title: Re: How to use the sub-grouping header
Post by: psychoadept on January 21, 2016, 09:19:02 PM
Yeah, it is a quite a few steps but if one is editing thousands of files at the same time, this is one the ways to go.

You can also use the Additional Tagging & Reporting Tools plugin for this kind of operation.
Title: Re: How to use the sub-grouping header
Post by: theta_wave on January 22, 2016, 12:50:18 AM
Yeah, it is a quite a few steps but if one is editing thousands of files at the same time, this is one the ways to go.

You can also use the Additional Tagging & Reporting Tools plugin for this kind of operation.
Unfortunately Additional Tagging and Reporting Tools is buggered for me, so I just use something that's familiar.  Plus, NP++ is pretty good at spotting corner cases.

EDIT:  Forcing Add'l Tagging and Reporting Tools to use my selected theme rendered it unusable.  Having a regex option available to users, like in Mediamonkey, is nice but I like the error checking I can do in NP++ before committing large changes.
Title: Re: How to use the sub-grouping header
Post by: SquidCudi on May 18, 2016, 09:36:34 PM
Musicbee says "The virtual tag expression cannot be parsed" when I paste in the Sub-heading formula.
Title: Re: How to use the sub-grouping header
Post by: theta_wave on May 18, 2016, 09:56:00 PM
Musicbee says "The virtual tag expression cannot be parsed" when I paste in the Sub-heading formula.
Which formula are you trying to use?
Title: Re: How to use the sub-grouping header
Post by: SquidCudi on May 18, 2016, 10:05:25 PM
Musicbee says "The virtual tag expression cannot be parsed" when I paste in the Sub-heading formula.
Which formula are you trying to use?

The sub-heading formula from the OP.

Sub-Header [variable]
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))

Maybe I'm missing a step or two in the process? Not sure
Title: Re: How to use the sub-grouping header
Post by: theta_wave on May 18, 2016, 10:50:38 PM
Did you link "Set Subtitle" to a custom tag?  When entering this formula in the virtual tag editor, try to validate it.  If it doesn't work, scroll down the field selector on the right and check to see if <Set Subtitle> is among those listed.  If not, then you will have to go back one window and create a custom tag linked to "Set Subtitle".
Title: Re: How to use the sub-grouping header
Post by: SquidCudi on May 18, 2016, 10:52:16 PM
Looks like that's the part I was missing, I didn't actually name Custom 3. Still learning, lol. Thanks for your help.
Title: Re: How to use the sub-grouping header
Post by: Tommy on January 21, 2017, 09:53:57 PM
Hi.

One question regarding the Sub-Grouping Header.

Is it possible to display the Disc# and having other grouping headers without showing Disc# at the beginning ?

It seems impossible for me to get this done.


Thanks in advance,
Tommy
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 22, 2017, 12:31:47 AM
Sure.  Using the basic sub-header from the example;
Code: "Basic Example"
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))
you can make a slight change;
Code: "NEW Example"
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))
would make it so that if you have a multi-disc set, MB will only show <Disc#> if you have no <Set Subtitle>
Title: Re: How to use the sub-grouping header
Post by: Tommy on January 25, 2017, 12:31:43 AM
....... sorry for the late reply.

It's not exactly what I was looking for, but it's very nice as well and it did help me a lot.

They way I understand now is that it's impossible to have a Sub-Grouping Header without the Disc# in front for multiple CD's, is this correct ?

Anyway, thank you very much for the formula, it's very much appreciated .......

Tommy
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 25, 2017, 04:30:30 AM
They way I understand now is that it's impossible to have a Sub-Grouping Header without the Disc# in front for multiple CD's, is this correct ?
No.  You can have anything you want in the virtual tag you use as a Sub-Grouping Header.
If you don't want the Disc# to show, don't use it in the formula.
Title: Re: How to use the sub-grouping header
Post by: wobbly on December 11, 2017, 07:35:05 AM
i have looked  at this guide in the past but does not do a good job of explaining  how to set it up
no explanation of where to find sub-grouping header:
or that you need  to make virtual tags
could this  guide please be up dated to give some new info for new uses that might not understand what's going on here

step by  step
instructions  are the best   
Title: Re: How to use the sub-grouping header
Post by: wobbly on December 12, 2017, 07:23:45 AM
atm  if i click to show album details

i see

Dave Edmunds
Dave Edmunds Anthology (1983)

track 1
track 2
track 3

track 1
track 2
track 3

is there a way  to have like this

Dave Edmunds
Dave Edmunds Anthology disk 1 (1983)

track 1
track 2
track 3

b]Dave Edmunds[/b]
Dave Edmunds Anthology disk 2 (1983)

track 1
track 2
track 3

thank you

i dont know where to start  so i need some help ... please
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on December 12, 2017, 08:09:56 AM
atm  if i click to show album details

i see

Dave Edmunds
Dave Edmunds Anthology (1983)

track 1
track 2
track 3

track 1
track 2
track 3

You sure?
It should be

Dave Edmunds Anthology
Dave Edmunds (1983)

track 1
track 2
track 3

track 1
track 2
track 3

From your other posts you are also using 3.2 (so you can use the sub grouping header in the Group By menu)
so  if you right-click the header menu> Customise Panel...> click to show settings
should bring up this panel
(http://i.cubeupload.com/GB3r0X.jpg)
You can see that the Album/ Album Artist (Year) values for the header are not editable.
Here is where you also find sub-grouping header (for tracks)

Before you go any further, decide what you want in to show in your sub-grouping header:
Whatever you use can't be displayed as multi-line.  It will only displayed as one line of text.

Now that you have worked out what you want to display, head on over to
Edit Preferences> Tags (1)> Define New Tags
and using the lower section of the New Custom Tag Definition panel, create a virtual tag to put what you want into the display
You can name it anything you like.  I named mine Sub-Header [variable] (catchy isn't it  ;D  )

Once created and tested that it works, head back to the Views Configuration panel and select it from the drop-down in sub-grouping header.

As an example, too add disc numbers to multi-disc sets (like your example) you can use something simple like:
Code
$If(<Disc Count>>1,"• Disc "<Disc#>" •",)
This should give you:

Dave Edmunds Anthology
Dave Edmunds (1983)

• Disc 1 •
track 1
track 2
track 3

• Disc 2 •
track 1
track 2
track 3

As I've said before, that virtual tag can become quite complicated and greatly vary the display depending on your tags.
This is my current version

Code
$If(<Disc Count>>1,$If($And($Contains(<Genre Groups>,Classical)="T",$First(<Grouping>)="Album [Compilation]"),$IsNull(<Set Subtitle>,$IsNull(<Conductor [surname]>,"• "<Sort Composer>" •","• "<Sort Composer>" • "<Conductor [surname]>" •"),"• "<Sort Composer>" • "<Set Subtitle>" • "<Conductor [surname]>" •"),$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• "<Set Subtitle>" •")),$If($And($Contains(<Path>,Classical)="T",$First(<Grouping>)="Album [Compilation]"),$IsNull(<Set Subtitle>,$IsNull(<Conductor [surname]>,"• "<Sort Composer>" •","• "<Sort Composer>" • "<Conductor [surname]>" •"),"• "<Sort Composer>" • "<Set Subtitle>" • "<Conductor [surname]>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")))
Title: Re: How to use the sub-grouping header
Post by: wobbly on December 12, 2017, 08:50:11 AM
ok
If(<Disc Count>>1,"• Disc "<Disc#>" •",)  working in album and track view

not working in "album cover view"  i  would like to change what you see in.  album cover  view when you click to to see album info in album cover view
 update  got it working under  in album cover view you need  to click " click her to see setting then you can  add your virtual tag...
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on December 12, 2017, 10:00:14 AM
ok
If(<Disc Count>>1,"• Disc "<Disc#>" •",)  working in album and track view

not working in "album cover view"  i  would like to change what you see in.  album cover  view when you click to to see album info in album cover view
 update  got it working under  in album cover view you need  to click " click her to see setting then you can  add your virtual tag...

Yep.  That's what I said  ;)
so  if you right-click the header menu> Customise Panel...> click to show settings
should bring up this panel
Title: Re: How to use the sub-grouping header
Post by: wobbly on December 12, 2017, 09:02:01 PM
yes it did  so can i set to show album name  .  as well as disk#
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on December 12, 2017, 09:24:26 PM
sure.  just edit your virtual tag for what you want to see.
to get something like you originaly posted
Code
$If(<Disc Count>>1,"• "<Album>" Disc "<Disc#>" ("<YYYY>") •",)
Title: Re: How to use the sub-grouping header
Post by: wobbly on December 12, 2017, 11:31:37 PM
great now i get it  thank you
Title: Re: How to use the sub-grouping header
Post by: josephzitt on January 03, 2018, 04:56:09 PM
I'm probably missing something or have forgotten it, but how do I set the "Set Subtitle" tag? It doesn't show up in any tab of the Edit window that I've seen. Similarly, I don't see the "View Configuration" window shown here. An earlier message says to right-click the header menu, but I guess I'm not understanding where that would be either, since that item doesn't come up when I right-click anywhere that I've tried.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 04, 2018, 07:15:23 AM
I'm probably missing something or have forgotten it, but how do I set the "Set Subtitle" tag? It doesn't show up in any tab of the Edit window that I've seen.
The 'Set Subtitle' is one of the pre-loaded custom tags at:
Preferences> Tags (1)> custom tags.
You have to assign it to an empty custom tag slot to be able see and use it in the tag editor.

Similarly, I don't see the "View Configuration" window shown here. An earlier message says to right-click the header menu, but I guess I'm not understanding where that would be either, since that item doesn't come up when I right-click anywhere that I've tried.
If you right-click the header menu, then Customise Panel..,  the "Views Configuration" window will open.
Unless your using 3.2 (as wobbly was) than the last posted image will look slightly different to what you will see.
But all the options are still there, just slightly re-arranged.
Title: Re: How to use the sub-grouping header
Post by: josephzitt on January 04, 2018, 11:13:13 AM
If you right-click the header menu, then Customise Panel..,  the "Views Configuration" window will open.
Unless your using 3.2 (as wobbly was) than the last posted image will look slightly different to what you will see.
But all the options are still there, just slightly re-arranged.
I guess I'm not understanding where the header menu, using 3.1.6512, would be. Here's a screenshot of my setup, via imgur.
(https://imgur.com/a/mi8yj)(https://imgur.com/a/mi8yj)
Or at least it should be there. I've inserted the image tag correctly, but it doesn't appear to be showing. So I'll try it via ImageShack.
(https://imageshack.com/a/img923/9179/vnOLb5.png)
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 04, 2018, 11:46:55 AM
If you right-click on the A_Z jumpbar, you'll get the dropdown menu with the Customise Panel... option
Title: Re: How to use the sub-grouping header
Post by: josephzitt on January 04, 2018, 11:53:15 AM
If you right-click on the A_Z jumpbar, you'll get the dropdown menu with the Customise Panel... option

Ah, OK. I see that that works if I right-click to the left of the letters. If I right-click on them or to the right of them, all I get is "Enable multi-character searches".
Title: Re: How to use the sub-grouping header
Post by: josephzitt on January 04, 2018, 10:05:46 PM
This is sweet! Thank you. It may provide a fix for many of my classical music frustrations, as well as for the Grateful Dead album.
(https://imageshack.com/a/img924/8728/Mohcdo.png)
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 05, 2018, 04:34:15 AM
@ josephzitt
Glad you got it worked out  :)

I was going to re-write this how-to but, I think, with the extra questions from yourself and wobbly it now covers a lot more than it used too.
I'll leave it "as-is" for now.  8)
Title: Re: How to use the sub-grouping header
Post by: Markus2310 on March 09, 2018, 03:24:18 PM
I dont understand how to do this :/

I go to Preferences -> Tags (1) ->  define new tags and set that code:
Code
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))

into the Virtual 1 field. but t then it sais: "the virtual tag can not be analyzed"

:/
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on March 11, 2018, 09:01:40 PM
Have you assigned 'Set Subtitle' to a custom tag first?

Refer to Reply #38 (https://getmusicbee.com/forum/index.php?topic=11990.msg138560#msg138560)
Title: Re: How to use the sub-grouping header
Post by: NickIst on May 25, 2018, 04:21:46 PM
And what should I change in the code posted by the OP in order to ignore displayng a subheader for single disc albums?
Title: Re: How to use the sub-grouping header
Post by: phred on May 25, 2018, 04:45:25 PM
You could try playing around with this
Code
$If(<Disc Count>>1,$IsNull(<Disc#>,Null,"Disc "<Disc#>),)
Title: Re: How to use the sub-grouping header
Post by: NickIst on May 25, 2018, 07:44:22 PM
You could try playing around with this
Code
$If(<Disc Count>>1,$IsNull(<Disc#>,Null,"Disc "<Disc#>),)
Sorry, but for me it's too difficult. I don't understand where I must insert this code. Can you link any info for better understanding of functions? I get Null in every album with 1 disc out of 1
Well after some time by trials and errors I managed to cope with it.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on May 27, 2018, 08:30:40 AM
Well after some time by trials and errors I managed to cope with it.
Sorry I wasn't around earlier to help out, but I'm glad you got it sorted  :)
Title: Re: How to use the sub-grouping header
Post by: NickIst on June 21, 2018, 03:33:04 PM
Is it ok that the virtual tag isn't fully displayed in albums view? The MB omits disk № tag. Plus why there is no subheaders in music explorer?
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on June 21, 2018, 11:41:52 PM
Is it ok that the virtual tag isn't fully displayed in albums view? The MB omits disk № tag.
Not 100% sure what you mean here  :-\
If you are using the Disc Count formula from your previous post, than it will only show a disc# if there is more than 1 disc.

Plus why there is no subheaders in music explorer?
Music Explorer uses the Album Covers view that has its own sub-grouping settings:
right-click header menu>  Customise Panel...>  Show Settings>>
Title: Re: How to use the sub-grouping header
Post by: NickIst on June 22, 2018, 08:46:20 AM
Is it ok that the virtual tag isn't fully displayed in albums view? The MB omits disk № tag.
Not 100% sure what you mean here  :-\
If you are using the Disc Count formula from your previous post, than it will only show a disc# if there is more than 1 disc.
Yes, I use it and I'm talking about the ones who have more than 1 disc.
https://imgur.com/a/j3SpAxE
P.S. I've turned on the subheader in the explorer but the issue is the same as in the music tab

Sorry, I'm inattentive wretch. I mixed up virtual and custom tag. That was my problem :-[
Title: Re: How to use the sub-grouping header
Post by: akalucard on November 14, 2018, 02:31:02 PM
This is a beautiful subheader.  I often use Picard for my tags and I noticed it sets the album subtitle as a custom tag <DISCSUBTITLE>. Is there any way I can get this to pull from that? And even better, if I can make this <DISCSUBTITLE> become my virtual tag in musicbee so I can edit if if needed? I feel like I'm half-confident fiddling with this setup, but this is the last part that I'd really like to master if possible!  Thanks for the awesome support :)

(https://i.imgur.com/pFtG8QL.png)
Title: Re: How to use the sub-grouping header
Post by: hiccup on November 14, 2018, 03:01:50 PM
I often use Picard for my tags and I noticed it sets the album subtitle as a custom tag <DISCSUBTITLE>. Is there any way I can get this to pull from that?

You could add this script to Picard so that it will write 'setsubtitle' instead of 'discsubtitle':

$set(setsubtitle,$if2(%setsubtitle%,%discsubtitle%))
Title: Re: How to use the sub-grouping header
Post by: akalucard on November 14, 2018, 03:17:27 PM
Excellent point, Hiccup.  I'm going to work on that now.  Totally forgot Picard had its own scripting options!
Title: Re: How to use the sub-grouping header
Post by: Mr. Trev on November 20, 2018, 11:31:09 PM
Hey guys, I'm getting out smarted by this thing…

I just did a wipe and clean Windows install on my laptop. Normally since I use a portable MB install, I'd just backup and recopy the folder. Considering my portable install has existed since v3.0 and has many redundant files now (no longer used plugins, etc) I decided to do a clean portable MB install too.

Everything was working as I wanted in the old MB, so I figured it would be a simple copy/paste operation setting up my new one - except for this.
(https://i.imgur.com/PzyNXhS.jpg)
As far as I can tell everything is identical between old and new versions. The preview in the template editor shows the string works correctly. I just can't figure out why the viewer is showing the string and not the actual result (BTW, I originally just copied the string from this thread or one of the others here)
Title: Re: How to use the sub-grouping header
Post by: redwing on November 21, 2018, 10:05:44 AM
I just can't figure out why the viewer is showing the string and not the actual result

You might want to try from the simplest template (like just <Set Subtitle>) to more complicated ones to figure out what causes the issue.
Title: Re: How to use the sub-grouping header
Post by: Mr. Trev on November 21, 2018, 06:50:37 PM
I just can't figure out why the viewer is showing the string and not the actual result

You might want to try from the simplest template (like just <Set Subtitle>) to more complicated ones to figure out what causes the issue.

I'm hopeless when it comes to scripting and such, so I just copy and paste what others use. The format is correct and does provide a result using the preview in the template editor.

I just tried coping the template into a new virtual tag (literally copy/paste) and for whatever reason it does work properly now. Don't know why it didn't work in the previous virtual tag… Guess I'll blame it on sunspots ???
Title: Re: How to use the sub-grouping header
Post by: landcross on December 07, 2018, 10:30:51 PM
I have a semi-related question. Musicbrainz Picard sometimes adds a tag called 'Disc Subtitle' to my flac files. Inside the .flac file, the tag is saved under the name DISCSUBTITLE.

Now, I want to show that DISCSUBTITLE tag as sub-header in Musicbee. The tag doesn't show up by default in Musicbee, but it's one of the standard available custom tags. According to this table https://musicbee.fandom.com/wiki/Custom_Tags Musicbee's Set Subtitle is identical to DISCSUBTITLE in Vorbis. So, I've set up my Custom 1 tag as Set Subtitle and selected Set Subtitle as sub-header. But... Nothing shows up.

Have I done something wrong? Did I forget something?

(As a sidenote, the set subtitle is also empty in the tag-edit window in Musicbee, even though I'm sure my files have a DISCSUBTITLE tag...)

------------

EDIT: Ok, I think I figured it out. Musicbee is NOT saving Set Subtitle as DISCSUBTITLE in flac files. It is, in fact, saving (and thus, I assume reading) it as SETSUBTITLE. That table is clearly wrong.

So, now my question is... How can I use Picard's tag DISCSUBTITLE as sub-header? I know very little about Musicbee's custom and virtual tags so....
Title: Re: How to use the sub-grouping header
Post by: hiccup on December 07, 2018, 10:52:19 PM
Musicbrainz Picard sometimes adds a tag called 'Disc Subtitle' to my flac files. Inside the .flac file, the tag is saved under the name DISCSUBTITLE.

Have you read and tried what I suggested some 5 posts earlier? (post #54)
Title: Re: How to use the sub-grouping header
Post by: landcross on December 08, 2018, 08:23:30 AM
Have you read and tried what I suggested some 5 posts earlier? (post #54)

Whoops! I thought I read the whole topic, but I think I missed the last page  :-X

I've been 'casually' tagging music for a couple of years now. Never really looked into it; jus tagged title and author in an automated way and be done with it. Now I'm trying to archive some discs and I want them properly tagged and I started reading a bit more and it's a damn rabbit hole.

From what I understand, MP3 files use ID3 tags which have a formal standard set of tags. FLAC files on the other hand use Vorbis Comments that only have a specification of how to store the tags and not a specification of predefined tagnames. Thus, you end up with this stupid situation where program A uses tagname A and program B uses tagname B.

I've been trying to find out what the most widely accepted tagname for a disc subtitle is and I can't quite figure it out. In ID3 it's quite straight-forward (at least in ID3 v2.4): TSST for Disc/Set Subtitle. Vorbis Comments on the other hand... it looks like a split between SETSUBTITLE and DISCSUBTITLE and there isn't really a definitive type.

I also came across this mapping table: https://wiki.hydrogenaud.io/index.php?title=Tag_Mapping

What I find curious there is that they're mapping TSST (which I assume stands for Set SubTitle) to WM/SetSubTitle yet they call it DISCSUBSTITLE in Vorbis Comment. Because ID3 specs call it set subtitle I'm inclined to use that too, though I personally think disc subtitle sounds more logical.

I'll try out that Picard script you posed a few posts up and I'll see what situation I end up with  ;)
Title: Re: How to use the sub-grouping header
Post by: hiccup on December 08, 2018, 09:30:22 AM
From what I understand, MP3 files use ID3 tags which have a formal standard set of tags. FLAC files on the other hand use Vorbis Comments that only have a specification of how to store the tags and not a specification of predefined tagnames. Thus, you end up with this stupid situation where program A uses tagname A and program B uses tagname B.

Since tagging protocols are usually recommendations/proposals you will encounter these kinds of different implementations.
That's where 'mapping' comes in and is key to make sure different applications and devices can talk to each other.
So you could look at mapping is a sort of translator.

MusicBrainz has it's roots in cataloging physical releases such as vinyl records, cd's etc.
So for them it made sense to use 'disk', but since we are progressing into the digital era, 'disk' is becoming less relevant, and 'set' is probably a better term with a wider use, unrestricted to any physical media.

Perhaps this sheet is useful to you in case you delve deeper into the mysterious world of tags:
https://getmusicbee.com/forum/index.php?topic=26177.0
Title: Re: How to use the sub-grouping header
Post by: landcross on December 08, 2018, 11:04:31 AM
Perhaps this sheet is useful to you in case you delve deeper into the mysterious world of tags:
https://getmusicbee.com/forum/index.php?topic=26177.0

That seems like a really useful sheet. Many thanks!  :)
Never knew tags were such a wild west. I thought they were a bit more organised/standardized.

I've got one last question: in the OP (and other images in the topic) I can see sub-groupings in the Albums (aka Album Covers) view. I can't figure it how to enable those. I can only see a subgroup option for the Album and Tracks view.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on December 08, 2018, 09:03:45 PM
I've got one last question: in the OP (and other images in the topic) I can see sub-groupings in the Albums (aka Album Covers) view. I can't figure it how to enable those.
In the "Customise Panel..." screen for Album Covers view, there is a button "Show Settings".  When you click this you get an extra panel where you can set the sub-grouping header.
Title: Re: How to use the sub-grouping header
Post by: landcross on December 09, 2018, 10:12:00 AM
In the "Customise Panel..." screen for Album Covers view, there is a button "Show Settings".  When you click this you get an extra panel where you can set the sub-grouping header.

*facepalm* How did I completely overlooked that button at first...
Anyway, many thanks! Works like a charm now  :)
Title: Re: How to use the sub-grouping header
Post by: johnmillsjr on March 05, 2019, 04:49:54 AM
I'm having a issue with Subtitles being cut off at a certain character amount with a '...'
Anyone know why?

(https://i.imgur.com/0Gjg45I.jpg)

Is there a way to center the Subtitles?
Title: Re: How to use the sub-grouping header
Post by: Johan_A_M on October 30, 2019, 09:14:35 PM

Code
$If(<Disc Count>>1,$If($And($Contains(<Genre Groups>,Classical)="T",$First(<Grouping>)="Album [Compilation]"),$IsNull(<Set Subtitle>,$IsNull(<Conductor [surname]>,"• "<Sort Composer>" •","• "<Sort Composer>" • "<Conductor [surname]>" •"),"• "<Sort Composer>" • "<Set Subtitle>" • "<Conductor [surname]>" •"),$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• "<Set Subtitle>" •")),$If($And($Contains(<Path>,Classical)="T",$First(<Grouping>)="Album [Compilation]"),$IsNull(<Set Subtitle>,$IsNull(<Conductor [surname]>,"• "<Sort Composer>" •","• "<Sort Composer>" • "<Conductor [surname]>" •"),"• "<Sort Composer>" • "<Set Subtitle>" • "<Conductor [surname]>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")))

A bit off-topic in this old and great thread, but I got curious about your "<Conductor [surname]>". Is this something that you split manually? I can't decide how to do with composer's names - when in a folder name, I think I want the entire name, but when e.g. in a various album, I'd much more prefer just the surname.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 03, 2019, 07:28:46 AM
A bit off-topic in this old and great thread, but I got curious about your "<Conductor [surname]>". Is this something that you split manually? I can't decide how to do with composer's names - when in a folder name, I think I want the entire name, but when e.g. in a various album, I'd much more prefer just the surname.

My <Conductor [surname]> is a virtual tag that will break down (up to 4 levels) the <Conductor> tag to just the surname.
Code
$IsNull(<Conductor>,,$IsNull($Split($Replace(<Conductor>," ",|),|,4),$IsNull($Split($Replace(<Conductor>," ",|),|,3),$IsNull($Split($Replace(<Conductor>," ",|),|,2),$Split($Replace(<Conductor>," ",|),|,1),$Split($Replace(<Conductor>," ",|),|,2)),$Split($Replace(<Conductor>," ",|),|,3)),$Split($Replace(<Conductor>," ",|),|,4)))

For composer's names, I use the sorting tags so I can use the full name with <Composer> and the surname with <Sort Composer>.
eg: Alessandro Scarlatti >==  Scarlatti, A.
     Johannes Brahms     >==  Brahms
Title: Re: How to use the sub-grouping header
Post by: hiccup on November 03, 2019, 07:53:58 AM
My <Conductor [surname]> is a virtual tag that will break down (up to 4 levels) the <Conductor> tag to just the surname.

Is there an advantage doing it this way instead of using rsplit?

$IsNull(<Conductor>,,$RSplit(<Conductor>," ",1))
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 03, 2019, 08:11:31 AM
Is there an advantage doing it this way instead of using rsplit?

$IsNull(<Conductor>,,$RSplit(<Conductor>," ",1))

Nope. No advantage. I like that long-g-g-g way of doing it  ;D
Seriously, $RSplit wasn't available when I first created the tag, and updating it wasn't even on my radar until now.
But with your timely reminder, I'll have to put it on the list!
Thanks hiccup  :)
Title: Re: How to use the sub-grouping header
Post by: hiccup on November 03, 2019, 08:15:13 AM
Seriously, $RSplit wasn't available when I first created the tag, and updating it wasn't even on my radar until now.

Spot the dinosaurs ;-)
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 03, 2019, 08:28:35 AM
Spot the dinosaurs ;-)

I prefer the terms "Long Time" or "Experienced" user   8)
Title: Re: How to use the sub-grouping header
Post by: Johan_A_M on November 04, 2019, 08:56:54 AM
Thank you both for your answers, I'll try to implement either of the solutions!
Title: Re: How to use the sub-grouping header
Post by: johnmillsjr on November 06, 2019, 01:26:34 AM
+1 for pinning this Thread
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on November 06, 2019, 09:16:28 AM
Sorry johnmillsjr,
I missed your post when I was catching up the other day :-[

I'm having a issue with Subtitles being cut off at a certain character amount with a '...'
Anyone know why?

I don't get that in 2 column view
(http://i.imgur.com/mkD45zI.jpg) (https://imgur.com/mkD45zI)

Make sure you are using the latest 3.3 Update 2 version or it could be a bit of errant code when the view changes to 3 columns.
Narrow the window to see if it changes.

Is there a way to center the Subtitles?
Currently no. It's always left aligned.
Title: Re: How to use the sub-grouping header
Post by: shemantis on August 29, 2020, 06:06:09 PM
I am absolutely in love with this method for visually separating Deluxe (and other "special") versions from "regular" versions of albums.
But I have run into a snag when there is a Deluxe version with TWO discs. So, if the regular version has two discs, AND the Deluxe version has two discs. This leaves me with Disc 01 and 02 showing as sub-headers, but nothing indicating the the Subtitle of "Deluxe" for the songs from the Deluxe version.
What I'd like is for it to show "Disc 01" for the songs from the "regular" Disc 01, and then (separately) "Deluxe Version, Disc 02" if an album has a Subtitle of Deluxe and a Disc 02 present.
Thank you!
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on August 30, 2020, 05:31:39 AM
@shemantis
could you post your current sub-grouping header pls
Title: Re: How to use the sub-grouping header
Post by: shemantis on August 30, 2020, 04:34:02 PM
Below is a screenshot of an album wherein the "regular" album has two discs, and the Deluxe Edition has two discs; track #8 on Disc 01 here is actually from Disc 01 of the Deluxe Edition.
You can see that it "lumps" the two discs together, displaying only the Disc#, not the sub-heading I want (which I have as a Custom Tag called <Side>):
(https://imgur.com/U7SNZEA.jpg)

This is the Custom Tag I have set up. I sort of know what's wrong; it has to do with the fact that both the "regular" and the Deluxe editions have Disc#s present, and are therefore showing the Disc# as opposed to the <Side> tag, but I am not quite sure what to do about it:
$If(<Disc Count>>1,$IsNull(<Disc#>,<Side>,"Disc "<Disc#>),)
(https://imgur.com/A9eLAdP.jpg)

What I wish it did was have the sub-heading as: "Disc 01" (with tracks from the "regular" edition below it) and then a separate sub-heading "Deluxe Edition - Disc 01" with the Deluxe Edition tracks (in this case, track #8) below that. And then the same for Disc 02.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on August 31, 2020, 12:37:36 AM
But what tag are you using to tell MB which is the 'regular' and 'Deluxe' versions?
Title: Re: How to use the sub-grouping header
Post by: shemantis on August 31, 2020, 02:34:07 AM
Ah, sorry. That's the <Side> tag. I use the <Side> tag to label Deluxe and other "special" editions, as well as which side of the tape/album older songs are on.
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on August 31, 2020, 03:45:35 AM
Below is a screenshot of an album wherein the "regular" album has two discs, and the Deluxe Edition has two discs; track #8 on Disc 01 here is actually from Disc 01 of the Deluxe Edition.
You can see that it "lumps" the two discs together, displaying only the Disc#, not the sub-heading I want (which I have as a Custom Tag called <Side>):
(https://imgur.com/U7SNZEA.jpg)

This is the Custom Tag I have set up. I sort of know what's wrong; it has to do with the fact that both the "regular" and the Deluxe editions have Disc#s present, and are therefore showing the Disc# as opposed to the <Side> tag, but I am not quite sure what to do about it:
$If(<Disc Count>>1,$IsNull(<Disc#>,<Side>,"Disc "<Disc#>),)
(https://imgur.com/A9eLAdP.jpg)

What I wish it did was have the sub-heading as: "Disc 01" (with tracks from the "regular" edition below it) and then a separate sub-heading "Deluxe Edition - Disc 01" with the Deluxe Edition tracks (in this case, track #8) below that. And then the same for Disc 02.

Bee-liever might come up with a workaround, but I think the more pressing issue is you want your albums should display separately before you the Virtual Tag is implemented. Otherwise, the Virtual Tag has to fight against your "Define Custom Sorting" options in order to display information properly. What are your "Define Custom Sorting' --> "grouping" settings?
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on August 31, 2020, 04:01:08 AM
Try
Code
$If(<Disc Count>>1,$IsNull(<Disc#>,<Side>,$IsNull(<Side>,"Disc "<Disc#>,<Side>", Disc "<Disc#>)),)
Title: Re: How to use the sub-grouping header
Post by: shemantis on August 31, 2020, 02:47:31 PM
Thank you, that does it!! Visually separates the Deluxe and "regular" editions, including their individual discs, without actually splitting them into four separate entries in the albums listing. I have a LOT of Deluxe/special editions, and I really don't want a separate entry for each one. I just want a way to identify them and their individual discs and tracks!
Now I am going to work on my sorting settings so that the Deluxe Edition doesn't appear before the "regular" edition in the list!
Thank you again!
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on September 01, 2020, 11:09:04 AM
Glad I was able to help. :)
Would you pls post screenshot of the sorted album.
If it looks how I think it will look, I might change my deluxe/bonus track albums the same way.
Title: Re: How to use the sub-grouping header
Post by: shemantis on September 01, 2020, 08:49:14 PM
I gotta say, I have not really found a way to sort it that I think is "perfect."
This is the best I could manage, though I do wish it went "Disc 01" and listed the regular tracks, then "Deluxe Edition - Disc 01" and listed those tracks (as opposed to the "regular" discs being grouped together, and the "Deluxe" discs being grouped together below them).
(https://imgur.com/xg1TxY7.jpg)
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on September 02, 2020, 05:16:44 PM
I gotta say, I have not really found a way to sort it that I think is "perfect."
This is the best I could manage, though I do wish it went "Disc 01" and listed the regular tracks, then "Deluxe Edition - Disc 01" and listed those tracks (as opposed to the "regular" discs being grouped together, and the "Deluxe" discs being grouped together below them).
(https://imgur.com/xg1TxY7.jpg)

I see what you mean now, as I initially thought you had full versions of both album editions. You should revert back to your previous sorting and grouping options, so the tracks display in numerical order. Then use...

Code
$IsNull(<Side><Disc#>,,$IsNull(<Disc#>,<Side>,<Disc#>$IsNull(<Side>,, · <Side>)))

I think this will get you the result.
Title: Re: How to use the sub-grouping header
Post by: shemantis on September 03, 2020, 04:10:42 PM
I re-arranged your code a bit to suit my weird display preferences, and got this, which is perfect:
(https://imgur.com/PObbl70.jpg)

But I also ended up with this, which isn't ideal, but I can deal with it (it will come up very rarely):
(https://imgur.com/zRQ29Fr.jpg)

I assume this is because it is sorted by Sort Artist/Year/Disc-Track#, and so because there is no Disc# present in the Beatles example, it just orders them by Track#, making the <Side> display "ungrouped." This is by no means a deal-breaker for me. I just wanted to point it out, and see if anyone had a Sort suggestion that might fix it.
Title: Re: How to use the sub-grouping header
Post by: psychoadept on September 03, 2020, 05:01:38 PM
I assume this is because it is sorted by Sort Artist/Year/Disc-Track#, and so because there is no Disc# present in the Beatles example, it just orders them by Track#, making the <Side> display "ungrouped." This is by no means a deal-breaker for me. I just wanted to point it out, and see if anyone had a Sort suggestion that might fix it.

You could either use Disc # for Side # (might work with letters but I'm not sure), or you could just number the tracks in order, instead of by side. I do that even multi-disc sets. It's not 1-16 and 1-16, it's 1-16 and 17-32.
Title: Re: How to use the sub-grouping header
Post by: Ryoda on October 13, 2020, 09:07:37 PM
Hey I have a little issue which is mostly due to me being no good when it comes to scripting.
I set up my header to tag every disc with a simple "Disc 01, Disc 02 etc", and that works great.
But now I have a compilation with over 20 different albums and I'd like to combine it all into one, sorta like this.

"Album title"
"Artist (year)"

Disc 01 - Name of Disk 1
*title
*title
*title
Disc 02 - Name of Disk 2
*title
*title
*title

etc.

Problem is, I want all my other albums to stay the same as before. Meaning, it should only say "Disc 1", "Disc 2" etc.
I tried playing around with the <Original Album> tag to achieve this, but then all my other albums had "Disc 1 Unknown original album" instead of just "Disc1", so that obviously didn't work out.

I suppose there's an easy solution if I knew how to use the scrip language properly, but alas, I'm not clever enough.

The sub-header formula I use right now is:
Code
$If(<Disc Count>>1,"•  Disc "<Disc#>,)

I'd be eternally thankful if someone could help me out.

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.

Much appreciated.

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.
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on October 13, 2020, 10:28:02 PM
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 (https://musicbee.fandom.com/wiki/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.
Title: Re: How to use the sub-grouping header
Post by: voodoopunk on November 10, 2020, 03:13:38 PM
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
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on November 14, 2020, 12:46:44 AM
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?
Title: Re: How to use the sub-grouping header
Post by: voodoopunk on November 17, 2020, 08:34:06 AM
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.
Title: Re: How to use the sub-grouping header
Post by: voodoopunk on November 25, 2020, 12:38:35 PM
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 (https://www.discogs.com/Violent-Arrest-Life-Inside-The-Western-Bloc/release/7029904)
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on November 28, 2020, 01:17:57 AM
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 (https://www.discogs.com/Violent-Arrest-Life-Inside-The-Western-Bloc/release/7029904)

Quotes? What do you mean?
Title: Re: How to use the sub-grouping header
Post by: hiccup on November 28, 2020, 01:59:14 PM
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.
Title: Re: How to use the sub-grouping header
Post by: jonap on March 13, 2021, 01:48:39 PM
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?
Title: Re: How to use the sub-grouping header
Post by: phred on March 13, 2021, 02:05:20 PM
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.
Title: Re: How to use the sub-grouping header
Post by: jonap on March 13, 2021, 02:38:24 PM
wow, you really can do everything with MusicBee
I love this program
Title: Re: How to use the sub-grouping header
Post by: Intothisworld on September 13, 2021, 08:06:41 AM
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?
(https://i.imgur.com/XwgXfGZ.png)

In other words, so it's only the "set subtitle" by itself that appears in those 2nd & 3rd sub-groupings. Thank you. : )
Title: Re: How to use the sub-grouping header
Post by: The Incredible Boom Boom on September 13, 2021, 12:10:49 PM
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>
Title: Re: How to use the sub-grouping header
Post by: LittleAfterAll on January 11, 2024, 01:05:28 PM
I often use Picard for my tags and I noticed it sets the album subtitle as a custom tag <DISCSUBTITLE>. Is there any way I can get this to pull from that?

You could add this script to Picard so that it will write 'setsubtitle' instead of 'discsubtitle':

$set(setsubtitle,$if2(%setsubtitle%,%discsubtitle%))
I've set this script in Picard and it creates setsubtitles values. What I am curious is how to show that in MusicBee? At this moment, "Nah und fern" shows as album title on all four discs of that release.

(https://hostr.co/file/mOOetPqG2fPF/Screenshot2024-01-11140152.png)

 It's this release I am talking about: https://musicbrainz.org/release/2e3d37e9-2b2d-457e-a8a7-14fd01c334c1 (in FLAC format)

Thank you in advance.
Title: Re: How to use the sub-grouping header
Post by: hiccup on January 11, 2024, 03:17:55 PM
I've set this script in Picard and it creates setsubtitles values. What I am curious is how to show that in MusicBee?
Unfortunately that tag is currently not available in MusicBee by default.

You could support this wish (https://getmusicbee.com/forum/index.php?topic=39981.msg216305#msg216305) to have that changed.

For now you will need to setup a custom tag for that purpose, which is not difficult to do:
Navigate to Edit preferences > Tags (1) and do this:

(https://i.imgur.com/CbCLTdl.png)

After that Set subtitle will be available like the other tags.
 
Title: Re: How to use the sub-grouping header
Post by: LittleAfterAll on January 11, 2024, 05:38:17 PM
Thank you for fast reply. :)

Interesting, but I can't choose "Release info" from "save to music file as tag" drop-down menu:

(https://hostr.co/file/dwAZP1aqx0Wq/Screenshot2024-01-11183658.png)
Title: Re: How to use the sub-grouping header
Post by: hiccup on January 11, 2024, 05:42:06 PM
Interesting, but I can't choose "Release info" from "save to music file as tag" drop-down menu:
I'm sorry, that is just some other tag I am using that happens to be in the screenshot.
You can forget about that one.

Is 'Set subtitle' working well for you now?
Title: Re: How to use the sub-grouping header
Post by: LittleAfterAll on January 11, 2024, 05:51:27 PM
Oh, ok.

Yes, there are entries in Tags (2) now:

(https://hostr.co/file/5HWfjL9VUlYY/Screenshot2024-01-11184952.png)

But I still see the release as "Nah und fern" and none of any of four discs has their own title/name.
Title: Re: How to use the sub-grouping header
Post by: hiccup on January 11, 2024, 05:56:44 PM
But I still see the release as "Nah und fern" and none of any of four discs has their own title/name.
You will now need to configure the view that you are using to show the 'Set subtitle' tag.
It looks like you are using the Music Explorer view?
I'm not very familiar with that one, so you may want to do some forum searches on that.
But considering the purpose of that view I could imagine Music Explorer perhaps not being able to display custom tags.
Not sure though.

edit:
Not sure how familiar you are with MusicBee already, but if you would use the Album View on your library, the setting for that panel could be accessed here:

(https://i.imgur.com/EITs24v.png)
Title: Re: How to use the sub-grouping header
Post by: LittleAfterAll on January 11, 2024, 08:45:02 PM
I don't have album covers to choose and can't find Customise Panel... anywhere from drop down menus. Maybe it's better to not try anymore and save both yours and time of mine...
Title: Re: How to use the sub-grouping header
Post by: hiccup on January 11, 2024, 09:07:08 PM
Maybe it's better to not try anymore and save both yours and time of mine...
Don't worry about that.
From the looks of your screenshot you are using the Music Explorer node/view.
If you use the 'music' node to view your library, it has options to view your music as 'album covers', albums and tracks' or as 'tracks'.

This is not on-topic to this thread so we shouldn't continue here, but you should be able to figure it out by trying some stuff or searching the forum or wiki.
Title: Re: How to use the sub-grouping header
Post by: Bee-liever on January 16, 2024, 01:24:42 AM
JFTR
@LittleAfterAll
If you go to Album Panel Settings... from the Music Explorer view header bar
in fields displayed: change Album/YYYY to Album/SetSubtitle/YYYY
and that should work for you.