First letter of artist?


#1

Would it be possible to include a variable that's the first letter of the artist's name? I'd like to sort my music as

Music\Letter\Artist\Year - Album\Track - Title

which would be great :slight_smile:


Custom First Letter Field
Make directory from the first letter of an artist.
#2

Hi there!

You can use the $left() function for doing so:

Music\$left("%artist%",1)\\%year% - %album%\\%track% - %title%

Use $num("%track%",2) for track numbers with a leading zero.

Regards,
Sebastian Mares


#3

Thanks ever so much :slight_smile:


#4

You have to be careful with the $left() function with band names starting by The or with first and last names:
-The Beatles will be under T while you might want it under B
-John Lennon will be under J while you might want it under L

I personnally use the genre tag to put the first letter of the artist, as I find the genre classification completely useless.


#5

Decided to bump my old thread to ask a quick question. Is it possible to have underscores instead of spaces in the filename, but not in the tag? I've had a poke round in the options but I can't seem to find anything.

Thanks in advance :slight_smile:


#6

You can create a new action Replace for _FILENAME which replaces spaces by underscores.

Best regards,
~ Florian