# Application Info
application.name: FileBot
application.version: 4.8.6

# Script Base URL
github.stable: https://api.filebot.net/v5/script/fn.jar.xz
github.master: https://raw.githubusercontent.com/filebot/scripts/master/

# Update Descriptor
update.url: https://app.filebot.net/update.xml

# Store
link.mas: macappstore://itunes.apple.com/app/id905384638
link.mws: ms-windows-store://review/?ProductId=9NBLGGH52T9X
link.usc: snap://filebot

# Links
link.app.help: https://www.filebot.net/getting-started/embed.html
link.app.purchase: https://www.filebot.net/purchase.html

# Deployment
link.help.manpage: https://www.filebot.net/cli.html
link.help.synology: https://www.filebot.net/syno/support.html
link.image.logo: https://www.filebot.net/icon.png

# Help
link.intro: https://www.filebot.net/getting-started/index.html
link.forums: https://www.filebot.net/forums/
link.twitter: https://twitter.com/filebot_renamer
link.facebook: https://www.facebook.com/filebot/
link.faq: https://www.filebot.net/manual.html
link.bugs: https://www.filebot.net/report.html
link.channel: https://www.filebot.net/channel.html
link.help: https://www.filebot.net/support.html
link.help.mas: https://www.filebot.net/mac/support.html
link.help.mws: https://www.filebot.net/windows/support.html

# File Release System
link.release.index: https://get.filebot.net/filebot

# Build
main.class: net.filebot.Main

# Build (JDK 8)
jre.major: 8
jre.build: 201

# Minimum System Version
jvm.version: 11
mac.version: 10.10

# Package Information
package.name: filebot
package.identifier: net.filebot.FileBot
package.developer: Reinhard Pointner
package.maintainer: rednoah@filebot.net
package.company: Point Planck Limited
package.project: FileBot
package.synopsis: The ultimate TV and Movie Renamer
package.description: FileBot is the ultimate tool for organizing and renaming your Movies, TV Shows and Anime as well as fetching subtitles and artwork. It's smart and just works.
package.tags: Mass Renamer, Rename TV shows, Rename movies, Organize media files, Fetch Subtitles, Check SFV files, Plex Media Server, Kodi Media Center, TheTVDB, TheMovieDB, OpenSubtitles
package.homepage: https://www.filebot.net/

# File Types
license.description: FileBot License File
license.extension: psm
license.mimetype: application/x-filebot-license

# Distribution-specific Package Information
microsoft.application.name: PointPlanck.FileBot
microsoft.application.publisher: CN=761A0D2B-9B86-4FE4-B664-18E4E0AFC3F1

# Platform-specific Package Information
mac.application.category: public.app-category.utilities
deb.application.categories: AudioVideo;Video;Utility;FileTools;
deb.application.mimetype: inode/directory;video/*;audio/*;text/*;application/*;
deb.application.class: net-filebot-Main
deb.jna.depends: jna.jar, libjnidispatch.so

# Package Options
tar.compression: xz
msi.compression: high

# Commands
deb.application.action.import: filebot -script fn:amc --output "$HOME/Media" --action duplicate --conflict index -non-strict --log-file "$HOME/Media/.log/amc.log" --def excludeList="$HOME/Media//.log/amc.excludes" unsorted=y music=y artwork=y

# Default Java Options
java.application.options: -Dunixfs=false \
                          -DuseExtendedFileAttributes=true \
                          -DuseCreationDate=false \
                          -Djava.net.useSystemProxies=true \
                          -Djna.nosys=true \
                          -Djna.nounpack=true \
                          --illegal-access=permit \
                          --add-opens=java.base/java.lang=ALL-UNNAMED \
                          --add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
                          --add-opens=java.base/java.lang.invoke=ALL-UNNAMED \
                          --add-opens=java.base/java.util=ALL-UNNAMED \
                          --add-opens=java.base/java.util.function=ALL-UNNAMED \
                          --add-opens=java.base/java.util.regex=ALL-UNNAMED \
                          --add-opens=java.base/java.net=ALL-UNNAMED \
                          --add-opens=java.base/java.io=ALL-UNNAMED \
                          --add-opens=java.base/java.nio.file=ALL-UNNAMED \
                          --add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED \
                          --add-opens=java.base/java.nio.channels=ALL-UNNAMED \
                          --add-opens=java.base/java.nio.charset=ALL-UNNAMED \
                          --add-opens=java.base/java.time=ALL-UNNAMED \
                          --add-opens=java.base/java.time.chrono=ALL-UNNAMED \
                          --add-opens=java.base/java.util.concurrent=ALL-UNNAMED \
                          --add-opens=java.logging/java.util.logging=ALL-UNNAMED \
                          --add-opens=java.desktop/java.awt=ALL-UNNAMED \
                          --add-opens=java.desktop/sun.awt=ALL-UNNAMED \
                          --add-opens=java.desktop/sun.swing=ALL-UNNAMED \
                          --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED \
                          --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED


# Default Windows Java Options
windows.application.options: -Dapplication.dir="%APPDATA%\\FileBot" \
                             -Djava.io.tmpdir="%APPDATA%\\FileBot\\tmp" \
                             --module-path "%EXEDIR%\\jre\\ext\\modules\\lib" \
                             --add-modules ALL-MODULE-PATH \
                             -Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\\lib\\fpcalc.exe" \
                             -Djna.boot.library.path="%EXEDIR%\\lib" \
                             -Djna.library.path="%EXEDIR%\\lib" \
                             -Djava.library.path="%EXEDIR%\\lib"

windows.store.application.options: -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory \
                                   -Dnet.filebot.util.prefs.file="%APPDATA%\\FileBot\\settings.properties"

windows.portable.application.options: -Dapplication.dir="%EXEDIR%\\data" \
                                      -Duser.home="%EXEDIR%\\data" \
                                      -Djava.io.tmpdir="%EXEDIR%\\data\\tmp" \
                                      -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory \
                                      -Dnet.filebot.util.prefs.file="%EXEDIR%\\data\\settings.properties"


# Default Linux Java Options
linux.application.options: -Djna.boot.library.path="$LIBRARY_PATH" \
                           -Djna.library.path="$LIBRARY_PATH" \
                           -Djava.library.path="$LIBRARY_PATH" \
                           -Dapplication.dir="$APP_DATA" \
                           -Dapplication.cache="$APP_DATA/cache" \
                           -Djava.io.tmpdir="$APP_DATA/tmp" \
                           -Dfile.encoding="UTF-8" \
                           -Dsun.jnu.encoding="UTF-8"

linux.desktop.application.options: -Dnet.filebot.UserFiles.fileChooser=JavaFX \
                                   -DuseGVFS=true \
                                   -Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs"

linux.portable.application.options: -Duser.home="$APP_DATA" \
                                    -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory \
                                    -Dnet.filebot.util.prefs.file="$APP_DATA/prefs.properties" \
                                    -client
