Author Topic: Ability to Display More Than One Highlight Rule  (Read 462 times)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3852
I'd love to see the ability to display more than one rule. I am currently using one rule to display a color when a track has no lyrics. I'd like the ability to add additional 'highlight' columns to show another color for tracks with low bitrates, and another to show no BPM. Currently only one highlight can be displayed and it's whichever rule MB sees first as a match.

Thanks.
Last Edit: November 17, 2018, 03:32:04 AM by phred
The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files


redwing

  • Hero Member
  • *****
  • Posts: 8894
+1

This is a five-year-old wish of mine:

One of the unresolved issues with highlighting feature is how to display the field for tracks meeting multiple rules. Currently only one color can be shown for tracks, and if a track meets multiple rules, color of the higher-order rule applies to it. Thus there's no way to know if a track highlighted with a certain color meets other rules as well.

How about splitting the color bar into pieces when the tracks displayed on the main panel with highlight column enabled are meeting more than one rule? If there's a track meeting three rules, then all bars for displayed tracks would be split into three pieces of different colors. The order of color would follow the order of the rules. This way, the user would be able to identify tracks meeting multiple rules.

It would look something like this:



Not requesting unlimited number of color bars but even three would be great improvement.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3852
Not requesting unlimited number of color bars but even three would be great improvement.
Yes, while unlimited would be best, three would suffice.
The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files



Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28404
https://getmusicbee.com/patches/MusicBee33_Patched.zip

The number of matches displayed is now a configurable in the highlighting rules, limited to a maximum of 3 (the main reason for 3 max is space constraints on the grid album and tracks view). Also only one match displays in the album covers view due to visual constraints in that view

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3852
This is really great. Thanks very much Steven.
The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files

redwing

  • Hero Member
  • *****
  • Posts: 8894
Thanks a lot for implementing this! It will make highlighting feature a lot more useful as now each track can show what rules it meets and what not.

limited to a maximum of 3

I think 3 is enough for color bars as we can also use separately or mix up with text coloring option.
One minor issue is icons always take precedence over color bars regardless of the order of rules. I guess multi-bar users should avoid using icons.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28404
I forgot you can also show the highlight field directly in the expanded panel of the Album Covers view.
Thats also implemented now

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3289
  • MB Version: 3.3.6910
Thank you very much for this! Greatly appreciated  :)

One minor issue is icons always take precedence over color bars regardless of the order of rules. I guess multi-bar users should avoid using icons.
Or could we have MB resize the icons (7x14 with 2 selection, 4x14 with 3 selection) and mix those in with the standard colour bars?

Yes they would be distorted, but the colouring would be similar enough to easily recognize the matching icon.
MusicBee and my library - Making bee-utiful music together

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3289
  • MB Version: 3.3.6910
Or could we have MB resize the icons (7x14 with 2 selection, 4x14 with 3 selection) and mix those in with the standard colour bars?

Yes they would be distorted, but the colouring would be similar enough to easily recognize the matching icon.

Another idea for doing this would be to allow user defined smaller icons.
eg: the one I have for high resolution 24/96 flac files
HiRes.png 16x16

If I have smaller icons for when using 2 or 3 matches (named as HiRes_x2.png / HiRes_x3.png) in my Icon folder, then MB could use those along with the standard colour tags for the other matches.

If the smaller icons don't exist, than MB uses the current default of only showing the large icon for the first match
MusicBee and my library - Making bee-utiful music together

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28404
Another idea for doing this would be to allow user defined smaller icons.
eg: the one I have for high resolution 24/96 flac files
HiRes.png 16x16

If I have smaller icons for when using 2 or 3 matches (named as HiRes_x2.png / HiRes_x3.png) in my Icon folder, then MB could use those along with the standard colour tags for the other matches.

If the smaller icons don't exist, than MB uses the current default of only showing the large icon for the first match
if you set the max displayed to 2, MB would display icons ending in _x2.png, where they are 8x16 px
if you set the max displayed to 3, MB would display icons ending in _x3.png, where they are 5x16 px
if those named icons are not present for any active rule, only a single 16x16px icon is displayed for the first matching rule - there would need to be an x2 or x3 icon for every rule for this to work

does that match what you were thinking?

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3289
  • MB Version: 3.3.6910
does that match what you were thinking?

Yes please!
(Hmmm.  How come it sounds so much better the way you have written it out?  ;)  )
MusicBee and my library - Making bee-utiful music together

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28404
https://getmusicbee.com/patches/MusicBee33_Patched.zip

implemented ability to display multiple icons as well as described
if you set the max displayed to 2, MB would display icons ending in _x2.png, where they are 8x16 px
if you set the max displayed to 3, MB would display icons ending in _x3.png, where they are 5x16 px
if those named icons are not present for any active rule, only a single 16x16px icon is displayed for the first matching rule - there would need to be an x2 or x3 icon for every rule for this to work