Installing license key

Support for unRAID and docker container users
Post Reply
geopfarth
Posts: 1
Joined: 18 Sep 2024, 14:47

Installing license key

Post by geopfarth »

I am trying to install Filebot as a Docker container on my TrueNAS server. Here is the YAML file:

Code: Select all

version: "3.3"
services:
  filebot:
    container_name: filebot
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/Los Angeles
    image: rednoah/filebot
    restart: unless-stopped
    volumes:
      - /mnt/apps/docker/data/filebot:/data
      - /mnt/tank/media:/mnt/tank/media
    ports:
      - 192.168.0.155:5452:5452
networks: {}
When I launch it, the container briefly starts and then stops and the error appears to be related to not having the license:

Code: Select all

filebot  | 
filebot  | Hello! Do you need help Getting Started?
filebot  | 
filebot  | # FAQ
filebot  | https://www.filebot.net/linux/docker.html
filebot  | 
filebot  | # Read License Key from Console
filebot  | docker run --rm -it -v data:/data -e PUID=568 -e PGID=568 rednoah/filebot --license
filebot  | 
filebot  | --------------------------------------------------------------------------------
filebot  | 
filebot  | 
filebot  | 
filebot  | # env
filebot  | USER=filebot(568)
filebot  | HOME=/data/filebot
filebot  | 
filebot  | 
filebot  | FileBot 5.1.5 (r10380)
filebot  | 
filebot  |  -rename                                : Rename media files
filebot  |  --db [TheTVDB, AniDB, TheMovieDB::TV]  : Database
filebot  |  or [TheMovieDB] or [AcoustID, ID3] or     
filebot  |  [xattr, exif, file]                       
filebot  |  --order [Airdate, DVD, Absolute,       : Episode order
filebot  |  Digital, Production, Date]                
filebot  |  --format {expression}                  : Format expression
filebot  |  --action [move, copy, keeplink,        : Rename action
filebot  |  symlink, hardlink, clone, test]           
filebot  |  --conflict [skip, replace, auto,       : Conflict resolution
filebot  |  index, fail]                              
filebot  |  --filter {expression}                  : Filter expression
filebot  |  --mapper {expression}                  : Mapper expression
filebot  |  --q [name] or [id] or {expression}     : Query expression
filebot  |  --lang [English, German, ...]          : Language
filebot  |  -non-strict                            : Enable advanced matching and more
filebot  |                                           aggressive guess work
filebot  |  -r                                     : Select files from folders recursively
filebot  |  -d                                     : Select folders
filebot  |  --file-filter {expression}             : Input file filter expression
filebot  |  --file-order {expression}              : Input file order expression
filebot  |  --output /path/to/folder               : Output directory
filebot  |  --apply [artwork, cover, nfo,          : Apply post-processing actions
filebot  |  metadata, import, srt, date, tags,        
filebot  |  chmod, touch, prune, clean]               
filebot  |  -exec echo {f} [+*]                    : Execute command
filebot  |  -extract                               : Extract archives
filebot  |  -check                                 : Create / Check verification files
filebot  |  -get-subtitles                         : Fetch subtitles
filebot  |  --encoding [UTF-8, Windows-1252]       : Output character encoding
filebot  |  -list                                  : Print episode list
filebot  |  -find                                  : Print file paths
filebot  |  -mediainfo                             : Print media info
filebot  |  -script [fn:name] or [script.groovy]   : Run Groovy script
filebot  |  --def name=value                       : Define script variables
filebot  |  -revert                                : Revert files
filebot  |  --mode [interactive]                   : Enable CLI interactive mode
filebot  |  --log [all, fine, info, warning, off]  : Log level
filebot  |  --log-file *.txt                       : Log file
filebot  |  -clear-cache                           : Clear cached and temporary data
filebot  |  -clear-prefs                           : Clear application settings
filebot  |  -clear-history                         : Clear rename history
filebot  |  -unixfs                                : Allow special characters in file paths
filebot  |  -no-xattr                              : Disable extended attributes
filebot  |  -no-probe                              : Disable media parser
filebot  |  -no-history                            : Disable history
filebot  |  -no-index                              : Disable media index
filebot  |  -version                               : Print version identifier
filebot  |  -help                                  : Print this help message
filebot  |  --license *.psm                        : Import license file
filebot  |
Without the container running, I don't know how to pass the license information to the program. Any assistance would be appreciated.
User avatar
rednoah
The Source
Posts: 23388
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing license key

Post by rednoah »

Command-line Interface (CLI)

:idea: rednoah/filebot is the filebot command-line tool. It will start, run, and then exit, like any other command-line tool.

The console output above shows filebot being executed without any command-line arguments, which defaults to printing the man page, same as calling filebot -help explicitly, entirely unrelated to having or not having installed a license key:

Console Output: Select all

$ filebot -help
FileBot 5.1.5 (r10380)

 -rename                                : Rename media files
 --db [TheTVDB, AniDB, TheMovieDB::TV]  : Database
 or [TheMovieDB] or [AcoustID, ID3] or
 [xattr, exif, file]
 --order [Airdate, DVD, Absolute,       : Episode order
 Digital, Production, Date]
 --format {expression}                  : Format expression
 --action [move, copy, keeplink,        : Rename action
 symlink, hardlink, clone, test]
 --conflict [skip, replace, auto,       : Conflict resolution
 index, fail]
 --filter {expression}                  : Filter expression
 --mapper {expression}                  : Mapper expression
 --q [name] or [id] or {expression}     : Query expression
 --lang [English, German, ...]          : Language
 -non-strict                            : Enable advanced matching and more
                                          aggressive guess work
 -r                                     : Select files from folders recursively
 -d                                     : Select folders
 --file-filter {expression}             : Input file filter expression
 --file-order {expression}              : Input file order expression
 --output /path/to/folder               : Output directory
 --apply [artwork, cover, nfo,          : Apply post-processing actions
 metadata, import, srt, date, tags,
 chmod, touch, prune, clean]
 -exec echo {f} [+*]                    : Execute command
 -extract                               : Extract archives
 -check                                 : Create / Check verification files
 -get-subtitles                         : Fetch subtitles
 --encoding [UTF-8, Windows-1252]       : Output character encoding
 -list                                  : Print episode list
 -find                                  : Print file paths
 -mediainfo                             : Print media info
 -script [fn:name] or [script.groovy]   : Run Groovy script
 --def name=value                       : Define script variables
 -revert                                : Revert files
 --mode [interactive]                   : Enable CLI interactive mode
 --log [all, fine, info, warning, off]  : Log level
 --log-file *.txt                       : Log file
 -clear-cache                           : Clear cached and temporary data
 -clear-prefs                           : Clear application settings
 -clear-history                         : Clear rename history
 -unixfs                                : Allow special characters in file paths
 -no-xattr                              : Disable extended attributes
 -no-probe                              : Disable media parser
 -no-history                            : Disable history
 -no-index                              : Disable media index
 -version                               : Print version identifier
 -help                                  : Print this help message
 --license *.psm                        : Import license file


Please read the manual for details and usage examples:
https://www.filebot.net/manpage.html

:arrow: You could install your license key by calling filebot --license within the container as explained in the console output above, but this of course only works if you are using the docker command-line tool from console, since filebot --license will read the license key from console input:

Shell: Select all

docker run --rm -it -v /mnt/apps/docker/data/filebot:/data -e PUID=568 -e PGID=568 rednoah/filebot --license




Graphical User Interface (GUI)

:arrow: You'll want to use rednoah/filebot:node or rednoah/filebot:xpra if you're looking for a Web UI or Remote Desktop interface respectively:

Screenshot
Screenshot


:arrow: Installing your License Key will become self-explanatory once you have a UI running in front of you:

ScreenshotScreenshot
:idea: Please read the FAQ and How to Request Help.
Post Reply