# The URL from which the client is downloaded
appbase = https://release.tinymediamanager.org/v5/build/

# UI Configuration
ui.name = tinyMediaManager
ui.background_image = splashscreen.png
ui.background = 00000000
ui.icon = tmm.png
ui.progress = 47, 400, 227, 10
#ui.progress_text = 868686
ui.progress_bar = 868686
ui.hide_progress_text = true
ui.progress_image = progress.jpg
ui.status = 50, 380, 200, 18
ui.status_text = 868686
ui.mac_dock_icon = ../tmm.icns
ui.hide_decorations = true

# Application jar files, on classpath (generated from classpath in build.xml)
code = tmm.jar
code = restart.jar
code = dbmigrator.jar
code = lib/aXMLRPC.jar
code = lib/angus-activation.jar
code = lib/animated-gif-lib.jar
code = lib/annotations.jar
code = lib/aspectjrt.jar
code = lib/auto-service-annotations.jar
code = lib/betterbeansbinding-core.jar
code = lib/betterbeansbinding-el.jar
code = lib/betterbeansbinding-swingbinding.jar
code = lib/common-image.jar
code = lib/common-io.jar
code = lib/common-lang.jar
code = lib/commons-codec.jar
code = lib/commons-compiler.jar
code = lib/commons-compress.jar
code = lib/commons-csv.jar
code = lib/commons-io.jar
code = lib/commons-lang3.jar
code = lib/commons-text.jar
code = lib/converter-gson.jar
code = lib/dec.jar
code = lib/error_prone_annotations.jar
code = lib/failureaccess.jar
code = lib/flatlaf.jar
code = lib/getdown-core.jar
code = lib/glazedlists.jar
code = lib/gson.jar
code = lib/guava.jar
code = lib/h2-mvstore.jar
code = lib/imageio-core.jar
code = lib/imageio-jpeg.jar
code = lib/imageio-metadata.jar
code = lib/imageio-webp.jar
code = lib/imgscalr-lib.jar
code = lib/isoparser.jar
code = lib/j2objc-annotations.jar
code = lib/jISO8601.jar
code = lib/jackson-annotations.jar
code = lib/jackson-core.jar
code = lib/jackson-databind.jar
code = lib/jackson-dataformat-yaml.jar
code = lib/jackson-module-blackbird.jar
code = lib/jakarta.activation-api.jar
code = lib/jakarta.xml.bind-api.jar
code = lib/janino.jar
code = lib/jaxb-core.jar
code = lib/jaxb-impl.jar
code = lib/jcl-over-slf4j.jar
code = lib/jmte.jar
code = lib/jna-platform.jar
code = lib/jna.jar
code = lib/jsoup.jar
code = lib/jspecify.jar
code = lib/jsr305.jar
code = lib/jul-to-slf4j.jar
code = lib/kotlin-stdlib-common.jar
code = lib/kotlin-stdlib-jdk7.jar
code = lib/kotlin-stdlib-jdk8.jar
code = lib/kotlin-stdlib.jar
code = lib/license.jar
code = lib/listenablefuture.jar
code = lib/logback-classic.jar
code = lib/logback-core.jar
code = lib/logging-interceptor.jar
code = lib/loop-fs-api.jar
code = lib/loop-fs-spi.jar
code = lib/miglayout-core.jar
code = lib/miglayout-swing.jar
code = lib/muxer.jar
code = lib/okhttp-brotli.jar
code = lib/okhttp-urlconnection.jar
code = lib/okhttp.jar
code = lib/okio-jvm.jar
code = lib/okio.jar
code = lib/opentelemetry-api.jar
code = lib/opentelemetry-common.jar
code = lib/opentelemetry-context.jar
code = lib/opentelemetry-exporter-logging.jar
code = lib/opentelemetry-sdk-common.jar
code = lib/opentelemetry-sdk-extension-autoconfigure-spi.jar
code = lib/opentelemetry-sdk-extension-autoconfigure.jar
code = lib/opentelemetry-sdk-logs.jar
code = lib/opentelemetry-sdk-metrics.jar
code = lib/opentelemetry-sdk-trace.jar
code = lib/opentelemetry-sdk.jar
code = lib/org.jupnp.jar
code = lib/org.jupnp.support.jar
code = lib/picocli.jar
code = lib/retrofit.jar
code = lib/selenium-api.jar
code = lib/selenium-chrome-driver.jar
code = lib/selenium-chromium-driver.jar
code = lib/selenium-http.jar
code = lib/selenium-json.jar
code = lib/selenium-manager.jar
code = lib/selenium-os.jar
code = lib/selenium-remote-driver.jar
code = lib/slf4j-api.jar
code = lib/snakeyaml.jar
code = lib/svgSalamander.jar
code = lib/threetenbp.jar
code = lib/trakt-java.jar
code = lib/zip4j.jar


resource = [windows-amd64] tinyMediaManager.exe
resource = [windows-amd64] tinyMediaManagerCMD.exe
xresource = [linux-amd64] tinyMediaManager
xresource = [linux-arm] tinyMediaManager-arm
xresource = [linux-aarch64] tinyMediaManager-arm
# legacy v3 launcher which is linked in existing .desktop files
xresource = [linux] tinyMediaManager.sh
resource = version
resource = tmm.png
resource = changelog.txt
resource = launcher.yml
resource = restart.jar
resource = dbmigrator.jar

# JRE - will be mixed into the path by the ant build
# DO NOT MAKE uresource HERE, BECAUSE UNTAR OF SYMLINKS DOES NOT WORK IN JAVA
resource = [windows-amd64] jre/windows_x64.tar.xz
resource = [linux-amd64] jre/linux_x64.tar.xz
resource = [linux-arm] jre/linux_aarch64.tar.xz

# translations
%LOCALES%

# mediainfo native libs
resource = [windows-amd64] native/windows/MediaInfo.dll

# tiny file dialogs native libs
resource = [linux-amd64] native/linux/libtinyfiledialogs.so
resource = [linux-aarch64] native/arm/libtinyfiledialogs.so

# templates
resource = templates/templates.tar.bz2

# The main entry point for the application (prefix needed for GD params)
class = Restart
tmm.class = Restart

# allow offline use
allow_offline = true

# jvm args
#####################################################################################
# NOTE: please consider to write fundamental changes to the commandline start scripts
# and all other launchers too
#####################################################################################
jvmarg = -XX:+IgnoreUnrecognizedVMOptions
jvmarg = -XX:+UseG1GC
jvmarg = -XX:+UseStringDeduplication
jvmarg = -Xms64m
jvmarg = -Xmx512m
jvmarg = -Xss512k
jvmarg = -splash:splashscreen.png
jvmarg = -Djava.net.preferIPv4Stack=true
jvmarg = -Dfile.encoding=UTF-8
jvmarg = -Dsun.jnu.encoding=UTF-8
jvmarg = [mac os x] -Dapple.awt.graphics.UseQuartz=true
jvmarg = [mac os x] -Xdock:name=tinyMediaManager
jvmarg = [mac os x] -Dapple.eawt.quitStrategy=CLOSE_ALL_WINDOWS
jvmarg = -Djna.nosys=true
jvmarg = [linux] -Dawt.useSystemAAFontSettings=on 
jvmarg = [linux] -Dswing.aatext=true
