Sometimes filebot found a coincidence in databases and rename the file, but others time no. How i can detect automatically if filebot had found a coincidence or not.
Im thinking on shellscript that "exit" if no coincidence found or something similar...
Any idea?
Edit: In OSX.. could filebot change file tag color if found coincidence and rename the file?
With some like this...¿?¿?
Code: Select all
/Applications/FileBot.app/Contents/MacOS/filebot -rename "$1" --db TheMovieDB -non-strict --lang en --filter "y > 2005" --action test
if [$? -eq "Processed 1 files"]; then
exit 1
else
exit 0
fi
Code: Select all
j=$(filebot -rename "movie 43.mkv" --db TheMovieDB -non-strict --lang en --filter "y > 2005" --action test)
if [$j -eq "Processed 1 files"]; then
exit 1
else
exit 0

Thanks!