WARNING: java.io.tmpdir directory does not exist
* Consider using --mode interactive to enable interactive mode
Rename movies using [TheMovieDB]
[TEST] from [/path/to/The.Example.Movie.2024.mkv] to [/path/to/The Example Movie (2024).mkv]
Processed 1 file
What is your use case? Presumably you want to use filebot as part of some other script that does something for some reason?
You could use --log INFO to reduce the number of lines in the console output. The format of each line however cannot be modified. That said, whatever it is you're trying to do, there's probably a different way to go about it. Perhaps with the -exec option. Perhaps with the -mediainfo in a second step. Perhaps something else, depending on the specifics if what you're trying to do.
You guessed it right: I'm trying to call filebot from another script. I have an unusual filesystem situation so filebot's own rename/symlink structures don't quite work for me. So I'm writing a program that uses filebot only to identify the "clean name" of a given media file.
--log INFO removes the "Consider using.." line, but nothing else.
rednoah wrote: ↑10 Mar 2025, 17:38
Here's what I get:
Mine is similar, just with an extra "WARNING: java.io.tmpdir directory does not exist" but that's fine.
rednoah wrote: ↑10 Mar 2025, 17:38 What is the rename/symlink structure you're trying to achieve? Can you express what you want to do as shell script?
A Custom Rename Action will likely do the trick. Please do share your code with us, for the next guy.
Thanks, I'll check out custom actions. I have a media directory that has multiple concurrent writers, so executing a rename / creating a symlink arbitrarily can break other users of the directory. That's why I'm writing a little app in Go that serializes all writes into this directory so there is only ever one write at a time. That's why I don't want filebot to execute any actions itself - I just want it to tell me the clean name of the file so I can do everything from within my app.
fbotguy wrote: ↑10 Mar 2025, 18:43
I have a media directory that has multiple concurrent writers, so executing a rename / creating a symlink arbitrarily can break other users of the directory.
You can do filebot -script fn:sysenv to see what file path java.io.tmpdir is in your environment. You can then create a folder at that file path and the warning message will go away.