Developer Options / Java System Properties

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 21718
Joined: 16 Nov 2011, 08:59

Developer Options / Java System Properties

Post by rednoah »

General Options:

Disable Windows file path validation on Unix platforms: unixfs = true | false

Code: Select all

filebot -script fn:properties --def unixfs=true
Configure parallelism level: parallelism = <min>..<max>

Code: Select all

filebot -script fn:properties --def parallelism=8..64
Configure main thread priority: priority = 1..10

Code: Select all

filebot -script fn:properties --def priority=1


User Interface Options:

Configure Look and Feel: net.filebot.theme = Darcula | Nimbus | System

Code: Select all

filebot -script fn:properties --def net.filebot.theme=Darcula
Configure File Dialog implementation: net.filebot.UserFiles.fileChooser = Zenity | Swing | AWT | JavaFX

Code: Select all

filebot -script fn:properties --def net.filebot.UserFiles.fileChooser=Swing
Configure Trash implementation: net.filebot.UserFiles.trash = System | JNA | XDG | Move | Hide | Delete

Code: Select all

filebot -script fn:properties --def net.filebot.UserFiles.trash=Delete
System ... use Desktop.moveToTrash implementation
JNA ... use DefaultFileUtils.moveToTrash implementation
XDG ... use /usr/bin/trash or /usr/bin/gio trash system commands (requires FileBot r9626)
Move ... atomically move files to a Trash folder located at {drive}/Trash for each mount point, drive or network share (requires FileBot r9626)
Hide ... rename files by adding a . prefix to the file name (requires FileBot r9626)
Delete ... just delete files



Logging Options:

Enable debug logging: net.filebot.logging.debug = ALL | FINE | INFO

Code: Select all

filebot -script fn:properties --def net.filebot.logging.debug=ALL
Enable color logging: net.filebot.logging.color = true | false

Code: Select all

filebot -script fn:properties --def net.filebot.logging.color=true
Print timestamp for each log record: net.filebot.logging.time = true | false

Code: Select all

filebot -script fn:properties --def net.filebot.logging.time=true


Network Options:

Configure HTTP request retry limit and retry delay: try initial request, wait 2 minutes on failure, retry 2nd request, wait 8 minutes on failure, retry 3rd request

Code: Select all

filebot -script fn:properties --def net.filebot.CachedResource.retryLimit=2 net.filebot.CachedResource.retryDelay=PT2M net.filebot.CachedResource.retryMultiplier=4


Java Options:

Force IPv4 network connections: java.net.preferIPv4Stack = false | true

Code: Select all

filebot -script fn:properties --def java.net.preferIPv4Stack=true
Force UI scale factor: sun.java2d.uiScale = 1 | 2 | 4

Code: Select all

filebot -script fn:properties --def sun.java2d.uiScale=2
Enable Direct3D render pipeline: sun.java2d.d3d = true | false

Code: Select all

filebot -script fn:properties --def sun.java2d.d3d=true
Enable OpenGL render pipeline: sun.java2d.opengl = true | false

Code: Select all

filebot -script fn:properties --def sun.java2d.opengl=true
Manually configure CPU and RAM resource limits for the java process:

Code: Select all

export JAVA_OPTS="-XX:ActiveProcessorCount=1 -Xmx256"
filebot ...
:idea: Please read the FAQ and How to Request Help.
Post Reply