Force lookup by search query:
Shell: Select all
--q "buffy the vampire slayer"2.
Force lookup by numeric ID:
Shell: Select all
--q 703273.
Force lookup via custom query expression:
e.g. Match ID12345 pattern from the filename and then use it as query:
Shell: Select all
--q "{ fn.match(/ID([0-9]{5,11})/) }"Shell: Select all
--q "{ folder.name }"Shell: Select all
--q "{ fn.before(/S[0-9]+E[0-9]+/).space(/ /) }"Shell: Select all
--q /path/to/query.groovyExamples
e.g. extract and sanitize movie name.year pattern from the folder name (e.g. Avatar.2009.1080p ➔ Avatar 2009)Format: Select all
{ folder.name.match(/^.+?\d{4}/).space(/ /) }