Skip to main content
Topic: File Name Pattern (Read 156 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

File Name Pattern

Hello  :)

maybe a pic says more then a word (see attachment)...

...any ideas how to change the pattern to get rid of the leading "the" AND get the folder sorted to the new letter?

~$caps($cut(%album artist%,1))~\$stripprefix(%album artist%,The)\[%date%] - [%album%]\$ifgreater(%totaldiscs%,1,%discnumber%[%tracknumber%]. [%album artist%] - [%title%],[%tracknumber%]. [%artist%] - [%title%])

Re: File Name Pattern

Reply #1
Code: [Select]
~$caps($cut($stripprefix(%album artist%,The),1))~\$stripprefix(%album artist%,The)\[%date%] - [%album%]\$ifgreater(%totaldiscs%,1,%discnumber%[%tracknumber%]. [%album artist%] - [%title%],[%tracknumber%]. [%artist%] - [%title%])

Basically you need to use $stripprefix() on the first part.

Re: File Name Pattern

Reply #2
many thx!  :D

SimplePortal 1.0.0 RC1 © 2008-2020