Sorting in folders by file type?

First time user here, and I have looked at many different scripts, still very much over my head. But is there any code that will look at the file type (wav, mp3, flac, aac, ectt…) so that I can have them put into different folders according to the file type?

Also where can i go to find a good walk through of how to write a script. Or is there a place where i can see all the different ones people have created?

What you are looking for in file type naming is %_extension%/
https://picard.musicbrainz.org/docs/tags/

A good place to look at different Picard scripts is here:

1 Like

Nice about the extension thing.

Tried to check it out but got “503 Service Temporarily Unavailable” I guess I will just keep messing around for stuff.

Thanks for your help.

Hello,
I work on !!!

$noop(################ FIND EXTENSION ################)
$set(_DirExt0,)
$set(_DirExt1,$if($in(%_extension%,wma),)$upper(%_extension%)/)
$set(_DirExt2,$if($in(%_extension%,wma),)$lower(%_extension%)/)

$noop(################ END OF FIND EXTENSION ################)

%_DirExt1%        $noop( Create folder with File extension
                          OPTION 0 = disabled
                          OPTION 1 = Folders in upper case
                          OPTION 2 = Folders in lower case                                    )

                       Ex: MyMusic/%_DirExt1%/%albumartist%/%album%/%title%
                       Ex: MyMusic/WMA/Toto/Titi/Tata.wma

Enjoy.