# The URL from which the client is downloaded
appbase = http://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/activation.jar
code = lib/animated-gif-lib.jar
code = lib/api-scraper.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/commons-codec.jar
code = lib/commons-compiler.jar
code = lib/commons-io.jar
code = lib/commons-lang3.jar
code = lib/commons-logging.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/image-viewer.jar
code = lib/imgscalr-lib.jar
code = lib/isoparser.jar
code = lib/istack-commons-runtime.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/jmte.jar
code = lib/jna-platform.jar
code = lib/jna.jar
code = lib/joda-time.jar
code = lib/jsoup.jar
code = lib/jspf-core.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/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/threetenbp.jar
code = lib/tinyMediaManager-LaF.jar
code = lib/trakt-java.jar


# plugins
resource = plugins/scraper-anidb.jar
resource = plugins/scraper-animated.jar
resource = plugins/scraper-fanarttv.jar
resource = plugins/scraper-hdtrailers.jar
resource = plugins/scraper-imdb.jar
resource = plugins/scraper-kodi.jar
resource = plugins/scraper-moviemeter.jar
resource = plugins/scraper-mpdbtv.jar
resource = plugins/scraper-ofdb.jar
resource = plugins/scraper-omdbapi.jar
resource = plugins/scraper-opensubtitles.jar
resource = plugins/scraper-tmdb.jar
resource = plugins/scraper-trakt.jar
resource = plugins/scraper-tvdb.jar
resource = plugins/scraper-universal-movie.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

# 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 = -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
