Author Topic: Multiple Genres in Main Window  (Read 4362 times)

please55

  • Jr. Member
  • **
  • Posts: 65




I'm not sure if this is intended functionality or I am doing something wrong. I've assigned multiple genres to this album with MB and set it to display 'Genres' instead of 'Genre'. However when I mouse over the genres, I can't click on Hard Rock alone to get that filter. It takes to me a Rock; Hard Rock Filter.

Is there a way I can set it up to show the multiple genres independenty?

hiccup

  • Sr. Member
  • ****
  • Posts: 7781
That would probably need a change in MusicBee's code.

But, you can achieve it by using virtual tags.



Genre 1
$IsNull(<Genre>,,$If($Contains(<Genres>,;)="T",$Split(<Genres>,;,1),<Genre>))

Genre 2
$IsNull(<Genre>,,$If($Contains(<Genres>,;)="T",$Split(<Genres>,;,2),))

If you then select these new virtual tags to display (customize panel > configure fields > artwork fields) I believe it should work.


please55

  • Jr. Member
  • **
  • Posts: 65
Thanks I'll give that a shot!

If you don't I am a bit curious about the code.  Why is "<Genre>))" needed at the end of the first line?

hiccup

  • Sr. Member
  • ****
  • Posts: 7781
Why is "<Genre>))" needed at the end of the first line?

It's part of:  $If($Contains(<Genres>,;)="T",$Split(<Genres>,;,1),<Genre>))

In plain English: If the song does not contain multiple genres (indicated by absence of a semicolon in the <genres> tag), please display the single genre.
If that wasn't there, the virtual tag 'Genre 1' would show up empty for all songs having only one genre assigned to it.

But please report back if there are issues with these virtual tags; I haven't tested it very thoroughly myself.

androni

  • Newbie
  • *
  • Posts: 2
i have one other question related to the same Headline... let me know if im wrong here..

i have added Multiple Genre Tags divided by ;

in the Main Window i cannot se them.. they only show one genre..

For Example, i have tagges "16 Horsepower" as "Folk; Alternative"

as yoiu can see in the picture i only can see teh first Genre..  Any way to see all of them?




frankz

  • Sr. Member
  • ****
  • Posts: 3834
Use Genres in your template instead of Genre in "show album sub-header fields"

androni

  • Newbie
  • *
  • Posts: 2
Use Genres in your template instead of Genre in "show album sub-header fields"

Hello Frankz,

THanks for the reply.. As i am new to MusicBee, could you please explain how to use genre in my template?

frankz

  • Sr. Member
  • ****
  • Posts: 3834
Bring down the menu by clicking where it says "Album and Tracks" and go to "Customize Panel" and then you'll see the option to set which sub-header fields are displayed. Change Genre to Genres.

gobater

  • Jr. Member
  • **
  • Posts: 32
I also would like to have the "feature" requested by @please55.

It would be great to display the splited genres in the main window

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9299
I also would like to have the "feature" requested by @please55.
Did you read the thread?
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

gobater

  • Jr. Member
  • **
  • Posts: 32
@phread, no need to be unpolite, and fyi: "yes, I did"

The solution proposed (to split the genres) is only a hack with virtual hacks. Why does it work "out of the box" in the column browser and not in the "artwork browser".

hiccup

  • Sr. Member
  • ****
  • Posts: 7781
@phread, no need to be unpolite, and fyi: "yes, I did"

The solution proposed (to split the genres) is only a hack with virtual hacks. Why does it work "out of the box" in the column browser and not in the "artwork browser".
Phred may have been curt, but I don't see unpoliteness.

The OP had a valid question: "Is there a way I can set it up to show the multiple genres independently?"
And the thread followed up on that.

Now you are asking something along the lines of 'why does this work like that'?
What answer are you expecting that would be useful?

If you have a good suggestion for improvement or a specific request you should create a post on the wishlist board.



phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9299
@phread, no need to be unpolite, and fyi: "yes, I did"
I don't see how asking if you read the thread is being impolite. It's a basic question that need asking since your "request" had already been solved/resolved for the OP.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

gobater

  • Jr. Member
  • **
  • Posts: 32
Feeling the rage of the heroes! A world pandemic and now this.  :'(

I consider it quite ironic... asking people to read the thread while he is not reading many of the messages he is replying to.

@hiccup: One of the rules of the forum is to search for available threads instead of opening a new one for bugs, questions, suggestions, ... so that's what I did. Shall I save my time and create a new thread? Your answer is 1000 times more useful than the previous I received.

Thanks!

hiccup

  • Sr. Member
  • ****
  • Posts: 7781
It is quite simple and applies in general:

If you have an actual question about how to do something that is related to the topic title you should continue it in this thread.
If after you have done some research and believe you have a suggestion or a wish to improve on something you should create a wishlist topic for it.
(first check if there already is one and if so, support it)