Author Topic: Artist First Character in Folder Structure  (Read 666 times)

Simpuhl

  • Newbie
  • *
  • Posts: 13
I've tried these:

$Group(<Album Artist>),1
$Left(<Album Artist>),1
$FirstChar(<Album Artist>)

They work except it groups the numbers 0-9, is it possible not to do that or is there other code I can use?
Last Edit: August 11, 2023, 07:46:11 PM by Simpuhl

tjinc

  • Sr. Member
  • ****
  • Posts: 830
$Group(<Album Artist>,1)
This function will return the first letter but will group any number as 0-9

$Left(<Album Artist>,1)
This function will return the fist number or letter - I think this is what you are asking for.

$FirstChar(<Album Artist>)
Don't think this is a valid function so not sure how it 'works'.

Simpuhl

  • Newbie
  • *
  • Posts: 13
Maybe I was tripping because it doesn't work anymore.

How does that act to the word "The". Like "The 1975". Would it put it in "1" or "T"?

Thank you in advance

tjinc

  • Sr. Member
  • ****
  • Posts: 830
Quote
How does that act to the word "The". Like "The 1975". Would it put it in "1" or "T"?
It will return the first character 'T'

If you have not changed the default settings you could use <Sort Album Artist> in place of <Album Artist>
For the band 'The 1975', the <Sort Album Artist> value will be '1975, The' so the function $Left(<Sort Album Artist>,1) will return '1'