getmusicbee.com

General => MusicBee Wishlist => Topic started by: jaydenpaul on May 11, 2016, 10:06:40 AM

Title: Add Explicit Field To Custom Tags
Post by: jaydenpaul on May 11, 2016, 10:06:40 AM
It would be cool to be able mark a song as explicit like iTunes does (and read explicit iTunes tags).
Title: Re: Add Explicit Field To Custom Tags
Post by: phred on May 11, 2016, 12:31:09 PM
Custom tags are just that.  The user creates/customizes them.  You can create the explicit tag yourself.  However, someone else might be able to address how it would read the iTunes tag.
See here for custom tags: http://musicbee.wikia.com/wiki/Custom_Tags
See here for virtual tags: http://musicbee.wikia.com/wiki/Virtual_Tags
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on May 12, 2016, 12:33:10 AM
I looked at this for myself earlier, and found the following problems:
the iTunes tag is only applied (by iTunes) to mp4 files not mp3's

you can set the tag up like so
(http://i.cubeupload.com/24tkSD.jpg)

the tag syntax is not in the form of 'Explicit' or 'Clean'
it uses;
0 or null = No Rating,
1 = Explicit,
2 = Clean

you could use those values to set up a highlighting rule for
Content Rating | is | 1

but if you want to actually have 'Explicit' or 'Clean' show up as words in a column, you would also need to use a virtual tag
Content Advisory: $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean")))

I found it easier to just add 'Explicit' into my keywords and use a highlighting rule.
Title: Re: Add Explicit Field To Custom Tags
Post by: jaydenpaul on May 12, 2016, 03:06:35 AM
Thank you :)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 29, 2016, 03:33:16 PM
I looked at this for myself earlier, and found the following problems:
the iTunes tag is only applied (by iTunes) to mp4 files not mp3's

you can set the tag up like so
(http://i.cubeupload.com/24tkSD.jpg)

the tag syntax is not in the form of 'Explicit' or 'Clean'
it uses;
0 or null = No Rating,
1 = Explicit,
2 = Clean

you could use those values to set up a highlighting rule for
Content Rating | is | 1

but if you want to actually have 'Explicit' or 'Clean' show up as words in a column, you would also need to use a virtual tag
Content Advisory: $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean")))

I found it easier to just add 'Explicit' into my keywords and use a highlighting rule.

I got this message: The virtual tag expression cannot be parsed.
I'm not a computer genius. Where to put this tag Content Advisory: $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean"))) ?
Title: Re: Add Explicit Field To Custom Tags
Post by: psychoadept on October 29, 2016, 03:37:43 PM
Did you also set up Content Rating as a custom tag?
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 29, 2016, 04:29:27 PM
Damn, I'm just stupid  ;D  Yes, everything is fine now.
But I have another question is there any way to get rid off the Unknown Content Rating?

http://imgur.com/a/FhByW (http://imgur.com/a/FhByW)

to made it look like at iTunes:

http://imgur.com/a/2ZBWQ (http://imgur.com/a/2ZBWQ)
Title: Re: Add Explicit Field To Custom Tags
Post by: redwing on October 29, 2016, 05:47:26 PM
In place of " / <Content Rating>" part in that virtual tag, use this instead:

$IsNull(<Content Rating>,," / "<Content Rating>)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 29, 2016, 07:06:53 PM
In place of " / <Content Rating>" part in that virtual tag, use this instead:

$IsNull(<Content Rating>,," / "<Content Rating>)

If I put this tag - Content Advisory: $IsNull(<Content Rating>,," / "<Content Rating>) - it didn't change anything  :-\
Title: Re: Add Explicit Field To Custom Tags
Post by: redwing on October 30, 2016, 12:40:35 AM
This is your screenshot.

(http://i.imgur.com/TpCiGJw.png)

What I meant was the green color-boxed part of the virtual tag that seems you used for the bottom screenshot.

It appears you're entering "[Explicit]" or "[Clean]" directly to the "Content Rating" instead of following Bee-liever's suggestion.

I got this message: The virtual tag expression cannot be parsed.
I'm not a computer genius. Where to put this tag Content Advisory: $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean"))) ?

What he meant was put "Content Advisory" in the name of the virtual tag and put the rest "$IsNull..." into formula box.
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 30, 2016, 12:45:06 PM

What he meant was put "Content Advisory" in the name of the virtual tag and put the rest "$IsNull..." into formula box.

I did it all. And still see Uknown Content Rating.
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on October 30, 2016, 09:32:45 PM
(http://i.imgur.com/5bUh32Qg.png)
If this image is still current, you haven't set up 'Content Rating' as a custom tag as per phred and my instructions to the OP.
You need to do this first and let MB re-scan your library, otherwise <Content Rating> is always going to return an "unknown" value.
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 30, 2016, 11:04:35 PM
If this image is still current, you haven't set up 'Content Rating' as a custom tag as per phred and my instructions to the OP.
You need to do this first and let MB re-scan your library, otherwise <Content Rating> is always going to return an "unknown" value.

This is what I did (only replaced Explicit and Clean with [E] and [C]). After it I made a full rescan (Tools - Advanced - Rescan All Files)

http://imgur.com/a/mxDJ4 (http://imgur.com/a/mxDJ4)

Unknown Content Rating is still there :/
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on October 30, 2016, 11:37:17 PM
I would guess that your 'Content Rating' tag has some other values beside Null,0,1 or 2.
Change your virtual formula to:
Code
$If(<Content Rating>=1,"[E]",$If(<Content Rating>)=2,"[C]",)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 31, 2016, 12:18:42 AM
I would guess that your 'Content Rating' tag has some other values beside Null,0,1 or 2.
Change your virtual formula to:
Code
$If(<Content Rating>=1,"[E]",$If(<Content Rating>)=2,"[C]",)

No changes :/
Title: Re: Add Explicit Field To Custom Tags
Post by: redwing on October 31, 2016, 01:01:23 AM
This is what I told you:

In place of " / <Content Rating>" part in that virtual tag, use this instead:

$IsNull(<Content Rating>,," / "<Content Rating>)

But you put it to a wrong place:

If I put this tag - Content Advisory: $IsNull(<Content Rating>,," / "<Content Rating>) - it didn't change anything  :-\

So I told you again where to put it:

What I meant was the green color-boxed part of the virtual tag that seems you used for the bottom screenshot.

Again, you're putting it to the same wrong place:


What he meant was put "Content Advisory" in the name of the virtual tag and put the rest "$IsNull..." into formula box.

I did it all. And still see Uknown Content Rating.

Now listen carefully.
Forget about Content Advisory tag as it's not what you're using. You're not using iTunes syntax either, you're just entering "[E]" or "[C]" to the "Content Rating" custom tag, right?

What you're actually using in the main panel is ":Track:" virtual tag.
At the end of the tag's formula, find " · <Content Rating>".
Remove that part and use the following instead:

$IsNull(<Content Rating>,," · "<Content Rating>)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 31, 2016, 08:26:01 AM
Now listen carefully.
Forget about Content Advisory tag as it's not what you're using. You're not using iTunes syntax either, you're just entering "[E]" or "[C]" to the "Content Rating" custom tag, right?

What you're actually using in the main panel is ":Track:" virtual tag.
At the end of the tag's formula, find " · <Content Rating>".
Remove that part and use the following instead:

$IsNull(<Content Rating>,," · "<Content Rating>)

Thank you very much for your help!!!

(It's so bad to be stupid like me ;D )
Title: Re: Add Explicit Field To Custom Tags
Post by: redwing on October 31, 2016, 01:14:19 PM
Yeah, I know it can be very confusing if you're not familiar to this stuff. Also this topic was a little tough one without much explanation of how the tags were constructed.
Title: Re: Add Explicit Field To Custom Tags
Post by: jaydenpaul on October 31, 2016, 07:34:58 PM
Hey guys,
This virtual tag stuff is very confusing to me :/
I tried creating a custom tag along with a virtual one but got the error in the image below:
(http://i.imgur.com/SO4kDy0.png)
Your patience is greatly appreciated :)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 31, 2016, 08:55:47 PM
Hey guys,
This virtual tag stuff is very confusing to me :/
I tried creating a custom tag along with a virtual one but got the error in the image below:
(http://i.imgur.com/SO4kDy0.png)
Your patience is greatly appreciated :)

Instead of "Rating" type in label field "Content Advisory"

(http://imgur.com/a/ZwyLI)(http://i.imgur.com/bEPDrjV.png)
Title: Re: Add Explicit Field To Custom Tags
Post by: jaydenpaul on October 31, 2016, 09:10:13 PM
Ok I did that but now in my library, under the Content Advisory tag just it shows the syntax I put in the virtual tag.
(http://i.imgur.com/fWDlGBI.png)
Title: Re: Add Explicit Field To Custom Tags
Post by: ost on October 31, 2016, 09:21:03 PM
Guys told to create custom tag:

(http://i.imgur.com/H4deh3Y.png)

and try this:

(http://i.imgur.com/6HSCWuT.png)

now I got it exactly as I wanted - thanks to forum guys a lot!!!

(http://i.imgur.com/XEDddxM.png)
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on October 31, 2016, 10:37:07 PM
The original instructions were for the original poster that wanted to have Explicit and Clean in MB but also read the tags from iTunes.

If you don't want/need to read iTunes tags use ost's instructions.

If you want MB to read any iTunes tags that may already be on your files follow these instructions:
define a custom tag like this
(http://i.cubeupload.com/24tkSD.jpg)

then set the new custom tag to display here:
(http://i.imgur.com/pP5TuB1.jpg)
MB will automatically scan your library to see if any of your tracks have 'Content Rating' tags.

As the iTunes tag syntax is not in the form of 'Explicit' or 'Clean'
(it uses;
0 or null = No Rating,
1 = Explicit,
2 = Clean)
After the scan has completed, you need to set up a virtual tag 'Content Advisory' that you use wherever you want 'Clean' or 'Explicit' displayed

Code
Content Advisory | $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean")))

Hope this clears up the confusion in this thread  :)
Title: Re: Add Explicit Field To Custom Tags
Post by: jaydenpaul on October 31, 2016, 10:47:01 PM
Perfect!
Thank you everyone for your help!  :D
Title: Re: Add Explicit Field To Custom Tags
Post by: Hentoad on November 27, 2016, 08:08:11 PM
Ok, I'm new to all this stuff. I have everything setup using the last post, and it all works, except it doesn't show anything in the song title. If I go to edit the song in MB, it shows the Content Rating tag of 1 or 0, but nothing shows in the song title indicating Explicit or otherwise.
Pics: http://imgur.com/a/d59mr
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on November 27, 2016, 08:39:06 PM
you have to add 'Content Advisory' to wherever you want it displayed.  IMHO the easiest for the artwork view is to open the expanded panel options and add it as one of the display fields there. If you want it added to the title, you need to create another virtual tag that combines Title+Content Advisory and use that instead of the ordinary title throughout MB
Title: Re: Add Explicit Field To Custom Tags
Post by: Hentoad on November 27, 2016, 10:06:38 PM
Sorry if I'm wasting your time, but how would you do the Title+Content Advisory Virtual Tag?
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on November 28, 2016, 01:21:43 AM
Sorry if I'm wasting your time, but how would you do the Title+Content Advisory Virtual Tag?
like you set up
Code
Content Advisory | $IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"Explicit","Clean")))
you could use something like:
Code
Title+CA | <Title>$IsNull(<Content Advisory>,,"-"<Content Advisory>)
If you never intend to use "Content Advisory" by itself anywhere, you could just use
Code
Title+CA | <Title>$IsNull(<Content Rating>,,$If(<Content Rating>=0,,$If(<Content Rating>=1,"-Explicit","-Clean")))
and save yourself a virtual tag slot

You then need to use the "Set Displayed Fields..." (in the right-click/dropdown header menus of each view) to remove "Title" and replace it with "Title+CA"

And don't worry, your not wasting my time. I like helping people get the most out of MB.
Just somedays, I take just a little more time to respond than others :)
Title: Re: Add Explicit Field To Custom Tags
Post by: Willie Beamin on December 15, 2016, 03:28:05 AM
Got everything everything working in musicbee and the metadata for the rating is showing in the files. Just not seeing explicit tags when they're transferred into itunes. Don't know if it's an issue with itunes 12.5, but the explicit tags also don't show after it's synced with the device so I'm lost on this one.

(http://i.imgur.com/XuzOVbf.png)
(http://i.imgur.com/vtIzUOF.png)
(http://i.imgur.com/HI6ztAx.png)
(http://i.imgur.com/ZyZ3rgY.png)
(http://i.imgur.com/1aILm4N.png)

Sorry for so many pictures, want to make tsing easy as possible
Title: Re: Add Explicit Field To Custom Tags
Post by: Bee-liever on December 15, 2016, 09:31:59 AM
Are the tracks mp3(MPEG audio) or m4a(AAC)?
AFAIK, explicit is only read on AAC files in iTunes.
Title: Re: Add Explicit Field To Custom Tags
Post by: Willie Beamin on December 16, 2016, 08:25:32 AM
Most of them are m4a(ALAC), but I have some that are .aac that aren't read in itunes.