Any suggested Music Format?

Any questions? Need some help?
Post Reply
Hercules40
Posts: 16
Joined: 15 Jun 2017, 00:46

Any suggested Music Format?

Post by Hercules40 » 26 Feb 2019, 17:59

I am trying to figure out HOW to rename my music files.

I picked this format:

Code: Select all

{n}/{album+'/'}{pi.pad(2)+'. '} {t}
But it gives me inconsistent results within the same Album:
/Boston/We're Ready
vs.
Boston/04. Cool the Engines
Should I be using ID3 tags for matching?

Can you point me to a music format I can "borrow" from someone?

I have multiple music files, across itunes purchased, ripped from my CDs, downloaded from legit sources (like my brother-in-laws website -- he's an artist), on USB sticks, on CDs as MP3s, an old iPod even, etc.

I want to end up with one DRIVE full of music, organized by category, musician, album, etc.

How do I proceed to generate the necessary renaming format I can use across all my media?

User avatar
rednoah
The Source
Posts: 15783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Any suggested Music Format?

Post by rednoah » 27 Feb 2019, 03:18

1.
ID3 tags will give you more consistent results, assuming that the ID3 tags are consistent.


2.
The Format Editor has a number of built-in formats you can just select. The one you've got already looks good to me.


3.
It's your format. Different people organize their files differently, especially the corner cases.

You can try this to get started:

Code: Select all

M:/Music/
{any{genre}{'No Genre'}}/
{any{n}{'No Artist'}}/
{any{album}{'No Album'}}/
{pi.pad(2)+'. '}{t}
:idea: Please read the FAQ and How to Request Help.

Hercules40
Posts: 16
Joined: 15 Jun 2017, 00:46

Re: Any suggested Music Format?

Post by Hercules40 » 27 Feb 2019, 22:58

rednoah wrote:
27 Feb 2019, 03:18
1.
ID3 tags will give you more consistent results, assuming that the ID3 tags are consistent.


2.
The Format Editor has a number of built-in formats you can just select. The one you've got already looks good to me.


3.
It's your format. Different people organize their files differently, especially the corner cases.

You can try this to get started:

Code: Select all

M:/Music/
{any{genre}{'No Genre'}}/
{any{n}{'No Artist'}}/
{any{album}{'No Album'}}/
{pi.pad(2)+'. '}{t}
Man, you're awesome and I appreciate you for it.

Can you point me to where I can find expressions such as "genre" and their definition? Is "genre" a defined variable in your code?

The reason I'm asking, I'd like to know what this means:

Code: Select all

{any{genre}{'No Genre'}}
What does "any" mean? What does it do?
What does " ' No Genre ' " mean? What does it do?

Can I use "genre" without "any"? -- BTW, when I tried that it told me I had a syntax error?

When I run the code "any", it give me 4 and sometimes five music genres! It even gave me this gem: "hardrock;Hard Rock". How can I fix that?

Thank you so much for your awesome product? I am hoping to soon be able to give an additional donation on top of having purchased the program.

User avatar
rednoah
The Source
Posts: 15783
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Any suggested Music Format?

Post by rednoah » 28 Feb 2019, 04:32

1.
You can check the built-in binding explorer to see commonly used bindings and values for a particular file:
viewtopic.php?f=5&t=4285


2.
Not all files have a "category". What happens if "category" is undefined? Well, we default to "No Genre" in this particular example.


3.
Well, you can always make sure that files are nicely tagged before hand. If the tag says "hardrock;Hard Rock" then that's the value you get. How can you fix it? First consider what a fix looks like? Do you want the first word before the ";" which is hardrock? Yes? Maybe net? The second / last word? In this case maybe ok, but what about other files?

You can fix it, but you'll need to be able to precisely express that fix in Groovy code. ;)

e.g. this might work for you:

Code: Select all

{genre.tokenize(';').first()}
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests