Sorting in folders by file type?

picard
help
taggerscript
examples
Tags: #<Tag:0x00007fcb4b9c6670> #<Tag:0x00007fcb4b9c3f60> #<Tag:0x00007fcb4b9c3d80> #<Tag:0x00007fcb4b9c3bf0>

#1

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?


#2

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:


#3

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.


#4

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.