getmusicbee.com

Support => Questions => Topic started by: Sani on March 19, 2017, 04:25:29 PM

Title: Sorting Folders by Release Type
Post by: Sani on March 19, 2017, 04:25:29 PM
Hi Everyone,

I'm new to this forum. I hope that everyone is fine.

I am using MusicBee from two months now and i love it. I tried iTunes and other players but it attracted me more.

My music library was always in chaos as i never tagged and organized it. I always used to play music from folders itself and used Winamp for playing. I felt a need to tag/organize now because i am using a more bigger player.

I use MusicBrainz Picard and Mp3tag (occasionally to tag manually organize each album i download.

My folder structure right now is:

Album Artist > Year (YYYY) > Album > Track

I'm using this to organize with MusicBee <Album Artist>\<Year (yyyy)>\<Album>\<Disc-Track#> <Title>

Everything is going good except i am not finding any way to organize Compilations, EPs, Singles within an Album folder. For example; if a rapper has albums, compilations and singles. I want that MusicBee creates folders of Compilations, EPs, Single seperately and put each albums and tracks within those folders. Please note that release types are already tagged in files but i am not finding a way that how to organize it with MusicBee.

Please help me about it. I would be thankful. =)
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 19, 2017, 07:14:11 PM
Hi, welcome to the forum!

You say you already have the release types tagged.  What happens when you try to use that tag in an organization template?
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 20, 2017, 12:28:38 PM
Hi, welcome to the forum!

You say you already have the release types tagged.  What happens when you try to use that tag in an organization template?

Thanks for welcoming. =)

Well, i already mentioned that i am using this organizing template:

 <Album Artist>\<Year (yyyy)>\<Album>\<Disc-Track#> <Title>

By doing this, MusicBee is just putting all the albums in their year folders only. I don't how to put them separately in Compilations, EPs, Singles etc. folder as there is no release type tag in naming template.

Can i create one myself?
Title: Re: Sorting Folders by Release Type
Post by: EffenBlue on March 20, 2017, 02:14:44 PM
You can use any valid tag to create a template.

Please note that release types are already tagged in files…

What tag is this?
You can use it like: <Album Artist>\<Year (yyyy)>\<ReleaseTypeOrWhateverTagIs>\<Album>\<Disc-Track#> <Title>
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 20, 2017, 02:48:38 PM
Quote
What tag is this?
You can use it like: <Album Artist>\<Year (yyyy)>\<ReleaseTypeOrWhateverTagIs>\<Album>\<Disc-Track#> <Title>

The tag is Release Type which is filled in automatically while taggin in MusicBrainz Picard.

You can see the screenshot below:

(http://i63.tinypic.com/14j6y6f.png)

But I didn't find anything like release type in MusicBee that's why i am asking.

And your mentioned template won't work as there is no Release Type tag in MusicBee.
Title: Re: Sorting Folders by Release Type
Post by: EffenBlue on March 20, 2017, 03:45:28 PM
Okay, so then you have to create it first.

In case you haven't done it before:
Edit, Preferences, Tags (1), custom tags, define new tags.
In an empty slot under identifier, type Release Type then press tab and see it fill in the others.
Save, then under custom tags choose a slot and change custom(whatever#) to Release Type and instead of "save to MusicBee database only" choose Release Type and save.

After it scans your files, you should then be able to use the <Album Artist>\<Year (yyyy)>\<Release Type>\<Album>\<Disc-Track#> <Title> format.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 20, 2017, 03:53:38 PM
Okay, so then you have to create it first.

In case you haven't done it before:
Edit, Preferences, Tags (1), custom tags, define new tags.
In an empty slot under identifier, type Release Type then press tab and see it fill in the others.
Save, then under custom tags choose a slot and change custom(whatever#) to Release Type and instead of "save to MusicBee database only" choose Release Type and save.

After it scans your files, you should then be able to use the <Album Artist>\<Year (yyyy)>\<Release Type>\<Album>\<Disc-Track#> <Title> format.

Yes, it makes sense and i just did it but when i went to organize the template of <Album Artist>\<Year (yyyy)>\<Release Type>\<Album>\<Disc-Track#> <Title>, it gave me Unknown Custom 3 folder instead of Studio Albums, Compilations. Thank God, i didn't organize it yet just saw the prevew or else it would have mess the folder structure.

See the screenshot:

(http://i65.tinypic.com/k4az61.png)
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 20, 2017, 03:57:51 PM
Here are the picard tag mappings: https://picard.musicbrainz.org/docs/mappings/

It looks like the release type tag is mapped to "TXXX:MusicBrainz Album Type", so in the "Define New Tags" window in MusicBee, you should enter "MusicBrainz Album Type", not "Release Type".  Configure that as a custom tag, then wait for MusicBee to rescan your files.

You should probably put in handling in your template for when the field is empty, too, otherwise you will continue to see that "Unknown Custom 3" type info.
Title: Re: Sorting Folders by Release Type
Post by: EffenBlue on March 20, 2017, 04:09:58 PM
Crap, sorry about that. I should probably stop interfering in these things before I screw up somebody's files.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 20, 2017, 04:45:18 PM
Here are the picard tag mappings: https://picard.musicbrainz.org/docs/mappings/

It looks like the release type tag is mapped to "TXXX:MusicBrainz Album Type", so in the "Define New Tags" window in MusicBee, you should enter "MusicBrainz Album Type", not "Release Type".  Configure that as a custom tag, then wait for MusicBee to rescan your files.

You should probably put in handling in your template for when the field is empty, too, otherwise you will continue to see that "Unknown Custom 3" type info.

Oh thanks a lot psychoadept. It did work but i am having a problem with Various Artists or maybe i don't know what to do with them.

This is what i wanted, like how Pick of Da Litter will be into Mixtape folder when organized.

(http://i68.tinypic.com/x4oxs2.png)

Now for the Various Artists compilations, is it correct way to do like first there will be Various Artists folder for Album Artist and then Compilations? Please suggest if there is any other better way.

(http://i64.tinypic.com/hv3vp4.png)

Also after this, I am feeling that Year YYY folders are useless. Isn't it better if i do it like this: Album Artist > Album Type > Year-Album Name > Disc Track# - Title.

Please suggest. Thanks for the amazing help guys.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 20, 2017, 05:43:22 PM
Oh thanks a lot psychoadept. It did work but i am having a problem with Various Artists or maybe i don't know what to do with them.

Now for the Various Artists compilations, is it correct way to do like first there will be Various Artists folder for Album Artist and then Compilations? Please suggest if there is any other better way.

Also after this, I am feeling that Year YYY folders are useless. Isn't it better if i do it like this: Album Artist > Album Type > Year-Album Name > Disc Track# - Title.

Please suggest. Thanks for the amazing help guys.

I personally combine year with album, just like you suggest. That way they're in chronological order, but I don't have a bunch of folders with just one subfolder.

For various artists, the album type folder seems pretty redundant.  You can use functions to work around it, like $If(<Album Type>=compilation,,"\"<Album Type>).  I'm on my phone, so definitely double check my syntax on that.

Although, doesn't Picard still tag the album type with compilation?  I'm surprised you're not getting something like "compilation album".  There are ways to deal with that with functions, too.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 20, 2017, 07:37:15 PM
Quote
I personally combine year with album, just like you suggest. That way they're in chronological order, but I don't have a bunch of folders with just one subfolder.

Then why would you know that the album is Mixtape, Studio Album or EP if there is a folder only with Year and Album Name?

Quote
For various artists, the album type folder seems pretty redundant.  You can use functions to work around it, like $If(<Album Type>=compilation,,"\"<Album Type>).  I'm on my phone, so definitely double check my syntax on that.

Although, doesn't Picard still tag the album type with compilation?  I'm surprised you're not getting something like "compilation album".  There are ways to deal with that with functions, too.

Well, the album is tagged as Various Artists in Genre and Compilation in Release Type that's why i am getting Various Artists/Compilations. What if i leave the Genre or Release Type empty for these kind of albums?
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 21, 2017, 05:16:31 PM
Now I'm getting one another issue. How do i organize my non-album Singles from the same artist? In MusicBrainz Picard, i kept the Album tag blank so it named folder to Unknown Album which is bad. Is there any way i can have Singles folders within a Artist folder so all non-album singles goes there. Please see the screen shot below for directory structure

(http://i67.tinypic.com/2duzir.png)

MusicBee is making me crazy to organize my music.  :(
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 21, 2017, 05:39:06 PM
Again, you can use functions as a workaround for this.  I put the non-album tracks in the top level folder.  If you want them to have their own folder, adjust your template accordingly.  Just substitute one of these templates where you have the "<Year> - <Album>" folder.

This will put them in the artist folder:
$IsNull(<Album>,,"\"<Year>" - "<Album>)

This will put them in their own folder:
\$IsNull(<Album>,"Non-album Singles",<Year>" - "<Album>)
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 21, 2017, 05:43:08 PM
MusicBee is making me crazy to organize my music.  :(
Heh, that's the nature of the beast.  That being said, I am forever grateful that MusicBee provides this amount of control out of the box.

(https://6-t.imgbox.com/A2NiAskv.jpg) (http://imgbox.com/A2NiAskv)
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 21, 2017, 06:36:06 PM
Again, you can use functions as a workaround for this.  I put the non-album tracks in the top level folder.  If you want them to have their own folder, adjust your template accordingly.  Just substitute one of these templates where you have the "<Year> - <Album>" folder.

This will put them in the artist folder:
$IsNull(<Album>,,"\"<Year>" - "<Album>)

This will put them in their own folder:
\$IsNull(<Album>,"Non-album Singles",<Year>" - "<Album>)

I put it like this:

<Album Artist>\<release type>s\<Year (yyyy)> - \$IsNull(<Album>,"Non-album Singles",<Album>)\<Disc-Track#> <Title>

And got this result:

(http://i66.tinypic.com/2q03952.png)

It messing with the release type as you can see Single;Singles

I simply want this

Album Artist > Release Type > Year - Album > Disc-Track# - Title (But if there is non-album singles, it creates non-album signals or just Singles folder)

MusicBee is making me crazy to organize my music.  :(
Heh, that's the nature of the beast.  That being said, I am forever grateful that MusicBee provides this amount of control out of the box.

(https://6-t.imgbox.com/A2NiAskv.jpg) (http://imgbox.com/A2NiAskv)

Yes i know man that this is the one hell of a software but i am a beginner and i don't have much experience with scripting etc.  :(
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 21, 2017, 08:39:14 PM

<Album Artist>\<release type>s\<Year (yyyy)> - \$IsNull(<Album>,"Non-album Singles",<Album>)\<Disc-Track#> <Title>

...

I simply want this

Album Artist > Release Type > Year - Album > Disc-Track# - Title (But if there is non-album singles, it creates non-album signals or just Singles folder)
Believe me, starting out with MB last year I didn't know much about scripting at all.  I knew how to navigate around a *nix shell (bash) and had only a few online lectures in java under my belt when I left Mediamonkey for Musicbee last year (Mediamonkey's magic nodes syntax left my head spinning back then) and my initial posts here is a testament to my inexperience (http://getmusicbee.com/forum/index.php?topic=17256.msg101872#msg101872).  However, after figuring out a few things, with the help of MB users and the wiki, and copious amounts of googling to stackoverflow, I think I'm becoming somewhat competent at this but I still have a lot to learn.  Okay enough with that, back to your issue.

1) Try removing the forward slash preceding the $IsNull in your code
2) You can try the $if, $contains and $split functions working together.

Explanation for #2: It says if the tag <release type> contains "; ", then use the tag splitter to keep everything that's to the left of the first "; ", if not then simply return <release type>.  Remember, $if() statements for MB are essentially three parts: test, do this if test is true, do this if test is false.  Here, the test is $contains(<release type>,"; "); its output is either T or F.  If the test returns T, then $split(<release type>,"; ",1).  If the test returns F, then return the value of <release type>.

Code
<Album Artist>\$if($contains(<release type>,"; "),$split(<release type>,"; ",1),<release type>)s\<Year (yyyy)> - $IsNull(<Album>,"Non-album Singles",<Album>)\<Disc-Track#> <Title>
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 21, 2017, 09:53:07 PM
After several hours with forum searches and wiki, i managed to get this template (which still isn't complete as i want some more refinements but i'm lost):

$First(<Album Artist>)\$if(<TrackCount>=1,Singles\"("$Date(<Year>,yyyy)")" - $If($First(<Artist>) =<Artist>,<Title>,$Replace(<Artist>,$First(<Artist>),) - <Title>),$If(<DiscCount>>1,<Album> "("$Date(<Year>,yyyy)")"\Disc <Disc#>,<Album> "("$Date(<Year>,yyyy)")")\<Track#> - $If($First(<Artist>)=<Artist>,<Title>,$Replace(<Artist>,$First(<Artist>),) - <Title>))

This is giving this right now:

It created Singles folders inside the Artist folder. It also put year in front of title so it will easy to sort in Windows Explorer. As i will getting lead artists and non-album singles only so it makes sense. But it will be awesome if display other artists in the filename too e.g; No Frauds - Nicki Minaj, Drake & Lil Wayne

(http://i63.tinypic.com/2q1bevl.png)

Now, for the albums, I want some changes. Firstly i want Years to be appeared before the album so it gets sorted in the Windows Explorer too. Secondly there is no release types in the template right now as i couldn't do it. It's already too complex for me. I want that before actual albums, it create a folder for Albums, Mixtapes, Compilations etc.

(http://i66.tinypic.com/zx5qvp.png)

The Disc numberings are perfect for me too as it create separate folders for Discs.

(http://i65.tinypic.com/25zh7ap.jpg)

Lastly, its putting Compilation Albums in the Various Artists as i have tagged them with Various Artists in Album Artist. I will get Soundtrack (OST) albums too and i want that those create Soundtracks folder inside Various Artists main folder.

(http://i68.tinypic.com/2w383k3.png)

I love MusicBee but this naming template is giving me headaches. I am trying for days but stuck to get the organization right. So if someone please write a complete naming template for me according to my requirements. I will be to learn from that too.

Also if there is any suggestions you can put that into naming template too. OR share your full naming templates. Thanks for all the help till now but i am failed.  :(
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 21, 2017, 10:43:14 PM
One thing you can do is rather than trying to fit everything into one template, use exceptions.  Create a basic template for most tracks, and then make exceptions for various artists, and soundtracks, and singles, etc.  Copy your basic template and modify the parts you need to.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 10:13:38 AM
One thing you can do is rather than trying to fit everything into one template, use exceptions.  Create a basic template for most tracks, and then make exceptions for various artists, and soundtracks, and singles, etc.  Copy your basic template and modify the parts you need to.

And how exactly i do that in exceptions? I don't get it.

I want that if <Track>=1 then it will take that into Singles folder.

Please guys help me with the complete template so i get it completed and start collecting new music.
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 22, 2017, 11:16:24 AM
Exceptions (listed in the file organization menu) are given priority over the main rule (the former are executed first).  I agree with psycho that you should think about unpacking your code and use some of them under exceptions.  Furthermore, I think some of the last code you posted is a little redundant (see the $Date portion).  I am on my phone now, so I cannot really give you any examples at this moment.

Lastly, did you try what I posed earlier?  What organizational scheme do you specifically have in mind?  Did you successfully imported those musicbrainz TYPE tags into musicbee?  If not, did you examine all the audio types that use this tag under tag inspector (can be found in Musicbee's tag editor)?  I had problems importing MediaMonkey custom tags for mp3's until I entered what was shown under tag inspector.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 02:46:10 PM
And how exactly i do that in exceptions? I don't get it

Look at theta_wave's screenshot, here: http://imgbox.com/A2NiAskv

There are several exceptions listed. (Where it says "except when")
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 04:11:23 PM
But guys why are you not sharing or writing a complete template? You know what I want by now. If you do this, I will go from there because right now, if i do one thing right other goes bad.  :(
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 04:35:50 PM
a) you'll understand it better if you do it yourself

b) I'm actually working on it, but haven't had time to figure it all out yet
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 04:53:20 PM
a) you'll understand it better if you do it yourself

b) I'm actually working on it, but haven't had time to figure it all out yet

Well, I will do it myself too from scratch but i need some basic idea. It would be great if you at least give me template to organize according to release types and singles.

Thanks if you're working on it, i hope i will get something soon.

I will working on it tonight a bit. The system is little complex i know in a long run its great as it will give me peace of mind.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 05:12:19 PM
Another thing you could do to simplify things is create a virtual tag to the effect of:

Title With Other Artists: $If($First(<Artist>)=<Artist>,,$Replace(<Artist>,$First(<Artist>),)" - ")<Title>


So then you could have (check my syntax carefully because I did this on the fly):


$First(<Album Artist>)\<Release Type>\(<YYYY>) - <Album>\$If(<DiscCount>>1,"Disc "<Disc#>"\",)<Track#> - <Title With Other Artists>


Exception: <TrackCount> = 1

$First(<Album Artist>)\Singles\(<YYYY>) - <Title With Other Artists>


Exception: <Genre> = Soundtrack (or however you're distinguishing soundtracks)

Various Artists\(<YYYY>) - <Album>\$If(<DiscCount>>1,"Disc "<Disc#>"\",)<Track#> - <Title With Other Artists>
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 05:35:53 PM
Another thing you could do to simplify things is create a virtual tag to the effect of:

Title With Other Artists: $If($First(<Artist>)=<Artist>,,$Replace(<Artist>,$First(<Artist>),)" - ")<Title>


So then you could have (check my syntax carefully because I did this on the fly):


$First(<Album Artist>)\<Release Type>\(<YYYY>) - <Album>\$If(<DiscCount>>1,"Disc "<Disc#>"\",)<Track#> - <Title With Other Artists>


Exception: <TrackCount> = 1

$First(<Album Artist>)\Singles\(<YYYY>) - <Title With Other Artists>


Exception: <Genre> = Soundtrack (or however you're distinguishing soundtracks)

Various Artists\(<YYYY>) - <Album>\$If(<DiscCount>>1,"Disc "<Disc#>"\",)<Track#> - <Title With Other Artists>

I created the virtual tag just like you mentioned, just copied and paste. Unfortunately I got error in namiing template. It's not validating and directory structure is messed up. I modified <YYYY> to <Year (yyyy)> by the way as <YYYY> wasn't also validating.

(http://i63.tinypic.com/2zyikg0.png)
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 22, 2017, 05:42:32 PM
But guys why are you not sharing or writing a complete template? You know what I want by now. If you do this, I will go from there because right now, if i do one thing right other goes bad.  :(
From my perspective, it is due to not knowing what you want exactly.  You mentioned you want the following format:

Album Artist > Release Type (non-album singles, create Singles) > Year - Album > Disc-Track# - Title


Then you starting creating a formula that included <Artist>.  Later you, mentioned this:
Quote
I will get Soundtrack (OST) albums too and i want that those create Soundtracks folder inside Various Artists main folder.

To me, it appears that you are changing your folder scheme on the fly.  It would be helpful to know what exactly you want.  Rather than screenshots, just type out examples of your folder scheme (it doesn't have to be extensive).  Did you to manage to get <Release Type> to display metadata from Picard?  Why did you go from <Albumartist> to <Artist>?

An example of a folder scheme:

1) Regular albums: Album Artist > Release Type (non-album singles, create Singles) > Year - Album > Disc-Track# - Title
2) Soundtracks: VA\???? (I don't know what you want here)
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 22, 2017, 05:45:32 PM
I created the virtual tag just like you mentioned, just copied and paste. Unfortunately I got error in namiing template. It's not validating and directory structure is messed up. I modified <YYYY> to <Year (yyyy)> by the way as <YYYY> wasn't also validating.

<Title With Other Artists> doesn't appear to be a valid tag or virtualtag
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 05:47:42 PM
But guys why are you not sharing or writing a complete template? You know what I want by now. If you do this, I will go from there because right now, if i do one thing right other goes bad.  :(
From my perspective, it is due to not knowing what you want exactly.  You mentioned you want the following format:

Album Artist > Release Type (non-album singles, create Singles) > Year - Album > Disc-Track# - Title


Then you starting creating a formula that included <Artist>.  Later you, mentioned this:
Quote
I will get Soundtrack (OST) albums too and i want that those create Soundtracks folder inside Various Artists main folder.

To me, it appears that you are changing your folder scheme on the fly.  It would be helpful to know what exactly you want.  Rather than screenshots, just type out examples of your folder scheme (it doesn't have to be extensive).  Did you to manage to get <Release Type> to display metadata from Picard?  Why did you go from <Albumartist> to <Artist>?

An example of a folder scheme:

1) Regular albums: Album Artist > Release Type (non-album singles, create Singles) > Year - Album > Disc-Track# - Title
2) Soundtracks: VA\???? (I don't know what you want here)

Because i get confused everytime. I will write proper folder scheme examples tonight and send it here. Thanks for bearing with me guys.  :-X
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 22, 2017, 06:05:51 PM
Also, I'm confused with the value of "Single; Singles" from <Release Type>.  Is that what Picard actually puts in the RELEASETYPE tag (tag mappings (https://picard.musicbrainz.org/docs/mappings) and releasetype (https://musicbrainz.org/doc/Release_Group/Type))?  Looking at Musicbrainz' websource xml output, here's the following data for The Cure's "High" single:

Code
<release-group id="59365483-e2e1-3956-8547-78c3670265b3" type="Single" type-id="d6038452-8ee0-3f68-affc-2de9a1ede0b9">
...
<primary-type id="d6038452-8ee0-3f68-affc-2de9a1ede0b9">Single</primary-type>
Picard might be joining the release-group and primary-type (the actual release) "type="'s together, which is likely a bug.  Then again, I don't know if Picard is actually parsing the xml output from Musicbrainz' websource page.

Anyways, if you want "Single; Singles" or those with track counts=1 be called "Singles", you can use the code snippet from below using the $if$or function (http://musicbee.wikia.com/wiki/Functions#Or):

Code
$if($or(<TrackCount>=1,$contains(<release type>,Single)),Singles,<release type>)

EDIT: Added Musicbrainz Picard discussion
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 07:39:42 PM
You'll have to give a screenshot of your virtual tag settings for me to help with that
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 07:49:56 PM
You'll have to give a screenshot of your virtual tag settings for me to help with that

This?

(http://i66.tinypic.com/50f7uv.jpg)
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 09:37:27 PM
You'll have to give a screenshot of your virtual tag settings for me to help with that

This?

(http://i66.tinypic.com/50f7uv.jpg)

Yeah.  So "Title With Other Artists" is the name of the tag and should go in the first box, where right now it says "Virtual 1".  "Formula" should ONLY have the formula.  See if that helps.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 09:45:12 PM
I have corrected the virtual tag part. It's giving me this error now while adding naming template:

FAIL @ "itle With Other Artists>"
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 09:51:25 PM
Does the virtual tag work correctly, for instance in the main panel?
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 09:53:03 PM
Does the virtual tag work correctly, for instance in the main panel?

Yeah, it did saved properly and didn't give any error.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 10:40:51 PM
Ok, then post your organization template again.  We have to see the problem, just saying it isn't working doesn't help us solve it.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 22, 2017, 10:43:44 PM
Ok, then post your organization template again.  We have to see the problem, just saying it isn't working doesn't help us solve it.

I will exactly copy pasted what you posted earlier.

By the way, I am creating a naming schemes and other things i want in directory structure. Once it's properly done, you will get an exact idea what i am looking for.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 22, 2017, 11:18:05 PM
I will exactly copy pasted what you posted earlier.

In that case, I may have made an error.  I'll take another look, but you're in a better position to figure it out than I am.


Edit: That tag worked fine for me a in a quick template test.  What about the release type tag? I stuck that in as a placeholder, but what did you actually call that tag?  Could be where the problem is.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 23, 2017, 12:14:17 AM
At last, I have created proper folder structures which i want to achieve so you guys can create me a working template for it.


Regular Albums

Album Artist \ Release Type (If case of album artist's singles means song isn't tagged in any album, create Singles folder but sometimes singles are related to upcoming albums so in that case i want to create that album folder and put that track inside that.) \ Year - Album \ (If case of multiple discs, create separate folders for each Disc like Disc 1, Disc 2)\Track# Title

Examples:

Kevin Gates/Mixtapes/2007 - Pick of Da Litter/01 - Glock Staying Cocked.mp3

Big Sean/Albums/2017 - I Decided/03 - Bounce Back.mp3

Big Sean/Singles/2016 - No More Interviews.mp3

The Cranberries/Compilations/2008 - Gold/Disc 1/01 - Dreams.mp3

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

Compilations and Soundtrack Albums

Various Artists \ Release Type i.e; Compilations, Soundtrack Album etc. \ Year - Album \ (If case of multiple discs, create separate folders for each Discs like Disc 1, Disc 2)\Track# Title

Examples:

Various Artists/Compilations/2016 - Now That's What I Call Music! 95/Disc 1/01 - Say You Won't Let Go.mp3

Various Artists/Soundtrack Albums/2016 - Suicide Squad: The Album/01 - Say You Won't Let Go.mp3

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

Also, i noted earlier that my release type folder names were in small letters, this might be only due to tag in MusicBrainz Picard as it's small letters there too but i want release type first letter to be capiltalized like Albums not albums. See the screenshot from my album tagging:

(http://i67.tinypic.com/34ssaxk.png)

In the last, i need a suggestion too. As you know that i want folders for Release Type in each Album Artist folders so there will be many Release Type folders like Mixtapes, Albums, EPs etc. Is it okay or it can cause any issue in the Windows Explorer? I consider this to be good because even without a music player one can get an idea about the album types just by seeing these folders. Please advise.

Thank you everyone!
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 23, 2017, 04:05:03 AM
Great, glad you figured out what you want.  You have all the tools you need in this thread.  I personally am not going to write the whole template for you; maybe somebody else will.  It's pretty close already, just tweak a few things.  For example, instead of using TrackCount = 1 for Singles, you could use Album has no value (as an exception).

The capitalization thing you can fix with a script on Picard's end.  Here's info on scripting in Picard: https://picard.musicbrainz.org/docs/scripting/

They can be a little trickier than MusicBee templates.  I haven't quite worked this one out yet.  I'm sure there's a way to do it with regex, but I'm trying to find one that's less of a mind bender.  Will get back to you.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 23, 2017, 07:03:36 AM
This should do the trick in Picard:

$if($eq(%releasetype%,album),$set(releasetype,Album),)

Just copy and replace "album" and "Album" with the other release types, so you have one for each.  If you have some with multiple values, you'll probably have to enter those separately too.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 23, 2017, 02:33:14 PM
Hey guys, after a lot of trial and error and with all your help i successfully achieved what i wanted to and the folder structure is perfect.

I did this in naming template, please check if there is anything i should add/remove. I know it's giving a result but maybe something in syntax which can cause issues in the future or i can improve something:

(http://i63.tinypic.com/2mqq6v4.png)

The following is the folder structure of my music folder:

(http://i67.tinypic.com/5v12me.png)

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

But I'm having a little problem inside the MusicBee and i am sure there is also a fix for this. See if it's a Non Album track then i will get tagged by Single in Picard but the Album tag in the empty but this way i get Unknown Album written in the place of Album in Album and Tracks inside Music tab. Is there any way i can disappear or even better get Single written in there? :

(http://i67.tinypic.com/292pjk4.png)
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 23, 2017, 06:23:40 PM
But I'm having a little problem inside the MusicBee and i am sure there is also a fix for this. See if it's a Non Album track then i will get tagged by Single in Picard but the Album tag in the empty but this way i get Unknown Album written in the place of Album in Album and Tracks inside Music tab. Is there any way i can disappear or even better get Single written in there?

Why don't you just make the album value for those "Single"?  If that doesn't work for you, the panel configuration settings are in the menu at the top left of the main panel.
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 23, 2017, 07:26:44 PM
Yes, I could make the album value to be "Single" but that way it will be create another folder for Singles in the folder structure like this: Year - Singles which i don't want obviously.
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 24, 2017, 12:22:32 AM
But I'm having a little problem inside the MusicBee and i am sure there is also a fix for this. See if it's a Non Album track then i will get tagged by Single in Picard but the Album tag in the empty but this way i get Unknown Album written in the place of Album in Album and Tracks inside Music tab. Is there any way i can disappear or even better get Single written in there?
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 24, 2017, 10:29:00 AM
But I'm having a little problem inside the MusicBee and i am sure there is also a fix for this. See if it's a Non Album track then i will get tagged by Single in Picard but the Album tag in the empty but this way i get Unknown Album written in the place of Album in Album and Tracks inside Music tab. Is there any way i can disappear or even better get Single written in there?
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)


Well, it didn't solve the problem and Unknown Album is still display after creating and applying the virtual tag in naming template exception.

Instead it duplicated the titles of the songs like this:

2016 - No More Interviews No More Interviews
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 24, 2017, 10:55:10 AM
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)


Well, it didn't solve the problem and Unknown Album is still display after creating and applying the virtual tag in naming template exception.

Instead it duplicated the titles of the songs like this:

2016 - No More Interviews No More Interviews
Huh? My formula was for your album art + details view, not for file organization.  I replied directly to the screenshot of your playlist where you disliked how tracks lacking any <album> data returned "unknown album" in your playlist view.

http://i67.tinypic.com/292pjk4.png
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 24, 2017, 11:08:29 AM
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)


Well, it didn't solve the problem and Unknown Album is still display after creating and applying the virtual tag in naming template exception.

Instead it duplicated the titles of the songs like this:

2016 - No More Interviews No More Interviews
Huh? My formula was for your album art + details view, not for file organization.  I replied directly to the screenshot of your playlist where you disliked how tracks lacking any <album> data returned "unknown album" in your playlist view.

http://i67.tinypic.com/292pjk4.png

Oh my bad. But where do i put this virtual tag?
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 24, 2017, 02:37:06 PM
If that doesn't work for you, the panel configuration settings are in the menu at the top left of the main panel.
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 24, 2017, 02:41:13 PM
Yes, I could make the album value to be "Single" but that way it will be create another folder for Singles in the folder structure like this: Year - Singles which i don't want obviously.

I'm not even sure how I did it, but I seem to have accidentally modified this post instead of replying to it.  Sorry about that!

I was just saying that all you have to do is change your template exception for singles, if you went that route.
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 24, 2017, 07:00:10 PM
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)


Well, it didn't solve the problem and Unknown Album is still display after creating and applying the virtual tag in naming template exception.

Instead it duplicated the titles of the songs like this:

2016 - No More Interviews No More Interviews
Huh? My formula was for your album art + details view, not for file organization.  I replied directly to the screenshot of your playlist where you disliked how tracks lacking any <album> data returned "unknown album" in your playlist view.

http://i67.tinypic.com/292pjk4.png

Oh my bad. But where do i put this virtual tag?
http://musicbee.wikia.com/wiki/Main_Panel_Views#Customize_Panel that can accessed by here:

(https://3-t.imgbox.com/WX0DB6g1.jpg) (http://imgbox.com/WX0DB6g1)
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 24, 2017, 08:16:33 PM
It looks like you can simply create another virtualtag for your current view:
Code
$isnull(<album>,<title>,<album>)


Well, it didn't solve the problem and Unknown Album is still display after creating and applying the virtual tag in naming template exception.

Instead it duplicated the titles of the songs like this:

2016 - No More Interviews No More Interviews
Huh? My formula was for your album art + details view, not for file organization.  I replied directly to the screenshot of your playlist where you disliked how tracks lacking any <album> data returned "unknown album" in your playlist view.

http://i67.tinypic.com/292pjk4.png

Oh my bad. But where do i put this virtual tag?
http://musicbee.wikia.com/wiki/Main_Panel_Views#Customize_Panel that can accessed by here:

(https://3-t.imgbox.com/WX0DB6g1.jpg) (http://imgbox.com/WX0DB6g1)

Yeah man but how do i do it there? There is no option i see related to my problem.  :-[
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 24, 2017, 08:37:42 PM
Have you opened the customize panel window and tried making changes?
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 24, 2017, 08:39:50 PM
Have you opened the customize panel window and tried making changes?

Well, i opened it few times but have no clue what to change there. That's why i have been asking again and again.  :-X
Title: Re: Sorting Folders by Release Type
Post by: psychoadept on March 24, 2017, 09:51:38 PM
Find "Album" and replace it with your virtual tag?
Title: Re: Sorting Folders by Release Type
Post by: theta_wave on March 25, 2017, 03:51:28 AM
Yeah man but how do i do it there? There is no option i see related to my problem.  :-[

Here's the photo from the wiki annotated:

(https://4-t.imgbox.com/4QSSe5ir.jpg) (http://imgbox.com/4QSSe5ir)
Title: Re: Sorting Folders by Release Type
Post by: Sani on March 25, 2017, 03:34:16 PM
Yeah man but how do i do it there? There is no option i see related to my problem.  :-[

Here's the photo from the wiki annotated:

(https://4-t.imgbox.com/4QSSe5ir.jpg) (http://imgbox.com/4QSSe5ir)

Thanks for the screenshot man! I got it and it helped me but using $isnull(<album>,<title>,<album>) made title of song it's album name so i modified it like to $isnull(<album>,"Single",<album>) and now it's displaying Single whenever album is unknown.

(https://6-t.imgbox.com/DHECTBRF.jpg) (http://imgbox.com/DHECTBRF)