filebot -non-strict --db TheMovieDB -rename "test.avi" --conflict "auto" --format "{fn}_[{minutes}min]_[{resolution}]"
[color=#FF0000]Rename movies using [TheMovieDB]
Auto-detect movie from context: [/test.avi]
Failed to identify or process any files
Failure (°_°)[/color]
If you rename only files previously processed by filebot, or if you really just want to add some MediaInfo to the current filename, then you shouldn't use any database at all, which is much faster of course.
You'll find help on "Batch Rename any type of file" with the GUI in the Tutorials forum.
--db xattr is a useful command-line option for offline processing using existing xattr metadata.
thanks again four Your answer. I tried with "Avatar.avi" and it works. Than I tried with "Test.avi" AND "--db xattr" and it works also.
Now I tried another file and get the following error.
filebot -non-strict --db xattr -rename "Avatar.wmv" --conflict "auto" --format "{fn}_[{minutes}min]_[{resolution}]"
Rename files using [xattr]
Failed to identify or process any files
Failure (°_°)
In the file exists these Information (this Info I got by Mediainfo: 15min, 640x480)
PS: The "slowly" workflow with Hazel its OK for me, because I can't write code an need a simply solution (by "Click").
--db xattr only works for files that have previously been xattr tagged by FileBot.
Just adding some MediaInfo is possible with the GUI as "Generic File Mode" but there is no equivalent in the CLI. You can easily make your own script though with bash or Groovy.
a solution with GUI (scripting though with bash or Groovy isn't for me ) is my solution.... but:
I have read "Batch Rename any type of file" with example to rename "JPG Pictures". If I try this I have the same problem like my videos: the files in the left site (original) are not clickable (grey). If I put the button "rename" the program get an error: Nothing to rename. New names is empty. Please <fetch data> first.