# The URL from which the client is downloaded
appbase = https://release.tinymediamanager.org/v3/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 claspath in build.xml)
code = tmm.jar
code = lib/FastInfoset.jar
code = lib/aXMLRPC.jar
code = lib/activation.jar
code = lib/animated-gif-lib.jar
code = lib/asm.jar
code = lib/betterbeansbinding-core.jar
code = lib/betterbeansbinding-el.jar
code = lib/betterbeansbinding-swingbinding.jar
code = lib/cling-core.jar
code = lib/cling-support.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-io.jar
code = lib/commons-lang3.jar
code = lib/commons-text.jar
code = lib/converter-gson.jar
code = lib/glazedlists.jar
code = lib/gson.jar
code = lib/h2-mvstore.jar
code = lib/imageio-core.jar
code = lib/imageio-jpeg.jar
code = lib/imageio-metadata.jar
code = lib/imgscalr-lib.jar
code = lib/isoparser.jar
code = lib/istack-commons-runtime.jar
code = lib/jISO8601.jar
code = lib/jackson-annotations.jar
code = lib/jackson-core-asl.jar
code = lib/jackson-core.jar
code = lib/jackson-databind.jar
code = lib/jackson-mapper-asl.jar
code = lib/janino.jar
code = lib/jaxb-api.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/joda-time.jar
code = lib/jsoup.jar
code = lib/jsr173_api.jar
code = lib/jsr305.jar
code = lib/jtidy.jar
code = lib/kodi-json-rpc.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-iso-impl.jar
code = lib/loop-fs-spi.jar
code = lib/loop-fs-udf-impl.jar
code = lib/lwjgl-nfd.jar
code = lib/lwjgl.jar
code = lib/miglayout-core.jar
code = lib/miglayout-swing.jar
code = lib/muxer.jar
code = lib/nanohttpd.jar
code = lib/okhttp-urlconnection.jar
code = lib/okhttp.jar
code = lib/okio.jar
code = lib/retrofit.jar
code = lib/seamless-http.jar
code = lib/seamless-swing.jar
code = lib/seamless-util.jar
code = lib/seamless-xml.jar
code = lib/slf4j-api.jar
code = lib/thetvdb-java.jar
code = lib/threetenbp.jar
code = lib/tmdb-java.jar
code = lib/trakt-java.jar
code = lib/yt.jar


resource = progress.jpg
resource = [windows] tinyMediaManager.new           #rename to new, for self-update
resource = [windows] tinyMediaManagerUpd.new        #rename to new, for self-update
resource = [windows] tinyMediaManagerCMD.new        #rename to new, for self-update
xresource = [!windows] tinyMediaManagerCMD.sh
xresource = [!windows] tinyMediaManager.sh
xresource = [!windows] tinyMediaManagerUpdater.sh
xresource = [mac os x] tinyMediaManagerOSX.sh
xresource = [mac os x] tinyMediaManagerCMD-OSX.sh
resource = [mac os x] JavaApplicationStub.new       #rename to new, for self-update
resource = [mac os x] Info.plist
resource = [mac os x] tmm.icns
resource = getdown-new.jar
resource = version
resource = splashscreen.png
resource = tmm.png
resource = changelog.txt

# translations
%LOCALES%

# mediainfo native libs
resource = [mac os x] native/mac/libmediainfo.dylib
resource = [windows-amd64] native/windows-x64/MediaInfo.dll
resource = [windows-x64] native/windows-x64/MediaInfo.dll
resource = [windows-x86] native/windows-x86/MediaInfo.dll
resource = [windows-x86] native/windows-x86/mingwm10.dll

# nativefiledialogs native libs
resource = [windows-x86] native/windows-x86/lwjgl.dll
resource = [windows-x86] native/windows-x86/lwjgl_nfd.dll
resource = [windows-amd64] native/windows-x64/lwjgl.dll
resource = [windows-amd64] native/windows-x64/lwjgl_nfd.dll
resource = [linux-x86] native/linux-x86/liblwjgl.so
resource = [linux-x86] native/linux-x86/liblwjgl_nfd.so
resource = [linux-amd64] native/linux-x64/liblwjgl.so
resource = [linux-amd64] native/linux-x64/liblwjgl_nfd.so

# templates
uresource = templates/templates.jar

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

# 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 = [windows] -Dsun.java2d.d3d=false
jvmarg = -splash:splashscreen.png
jvmarg = -Djava.net.preferIPv4Stack=true
jvmarg = -Dfile.encoding=UTF-8
jvmarg = -Dsun.jnu.encoding=UTF-8
jvmarg = -XX:CompileCommand=exclude,ca/odell/glazedlists/impl/filter/TextMatchers,matches
jvmarg = -XX:CompileCommand=exclude,ca/odell/glazedlists/impl/filter/BoyerMooreCaseInsensitiveTextSearchStrategy,indexOf
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
