Skip to content

Instantly share code, notes, and snippets.

@axe312ger axe312ger/filebot.md
Last active Nov 3, 2016

Embed
What would you like to do?
mp3tag and filebot renaming

filebot

\PATH\TO\YOUR\MOVIE\LIBRARY\{if (ext == 'jpg' || ext == 'jpeg') "_trash-us/$fn/"}{n} ({y}){' - '+source}{if (Integer.parseInt(vf.substring(0, vf.length()-1)) > 720) bene_quali = " - 1080p" else {if(Integer.parseInt(vf.substring(0, vf.length()-1)) > 480) bene_quali = " - 720p" else bene_quali = " - "+sdhd}}/{n} ({y}){' - '+audio.language.replaceAll(/\//, "+")}{' - '+source}{" - CD$pi"} [{"${fn.match(/3D/)}, "}{vc}{', '+vf}{', '+ac}{', '+af}{', '+file.toString().match(/\.ld\.|\.md\.|dubbed/).toUpperCase().replaceAll(/\./,'')}]

mp3tag

Z:\Users\PATH\TO\YOUR\MUSIC\LIBRARY\$if2(%genre%,_no-genre)\$validate($if2(%albumartist%,%artist%),)\$validate($if(%album%,%album%[ ($left(%year%,4))]\,),)$validate($if(%discnumber%,$left(%discnumber%,1).,)$if(%track%,$num($if($grtr($strchr(%track%,/),0),$left(%track%,$strchr(%track%,/)),%track%),2). ,)%artist% -- %title%,)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.