e.g. Move 3D movies and normal movies into different folders:
Format: Select all
{ fn =~ /3D/ ? '3D Movies' : 'Movies' }
e.g. Move Anime movies and normal movies into different folders:
Format: Select all
{ anime ? 'Anime Movies' : 'Movies' }
e.g. Move Anime episodes and normal TV series episodes into different folders:
Format: Select all
{ anime ? 'Anime' : 'TV Shows' }
e.g. Select files with Japanese audio and SubStation Alpha subtitles (i.e. custom Anime detection) and sort them into a dedicated Anime folder:
Format: Select all
{ audio.Language =~ /ja/ && text.Format =~ /ASS|SSA/ ? 'Anime' : 'TV Shows' }
e.g. Move Documentary episodes and normal TV series episodes into different folders:
Format: Select all
{ genre ==~ /Documentary|News/ ? 'Documentaries' : 'TV Shows' }
e.g. Move 4K movies and normal movies into different folders:
Format: Select all
{ height > 2000 ? '4K Movies' : 'Movies' }
e.g. Add [10bit] to 10-bit videos but not to 8-bit videos:
Format: Select all
{ if (bitdepth == 10) ' [10bit]' }
Format: Select all
{ bitdepth == 10 ? ' [10bit]' : null }
e.g. Sort movies into folders by collection if the movie belongs to a collection or genre folders if not:
Format: Select all
{ any{ collection }{ genre }{ 'No Genre' } }

e.g. Sort movies from different years into different destination folders:
Format: Select all
{
if (y < 1960) {
return "X:/Old Movie"
} else if (y < 2020) {
return "Y:/Classic Movie"
} else {
return "Z:/New Movie"
}
}


Format: Select all
{ 'Avatar'.match(/3D/) ? 'X' : 'Y' } ⇨ Exception: Pattern not found