Install Javinizer (CLI)
Installation Types
There are currently two ways to install the CLI:
Local machine (Windows/MacOS/Linux)
This method requires that you install all dependencies by yourself
Docker
Local Machine
Download the versions appropriate for the operating system you are installing on
PowerShell Core (Required)
PowerShell Core (Version 6+) is required for use of the Javinizer module. I recommend using the latest stable release of PowerShell 7.
You can find the download/installation binaries for PowerShell 7 here.
Python 3 (Required)
Python 3 is required for the use of some features of the Javinizer module:
Image cropping (Poster Image)
Text translation
CloudFlare scraping (deprecated)
Windows
You can find the download/installation binaries for Python 3.8.6 here.
Python needs to be added to your system PATH. Select the "Add Python 3.8 to PATH" checkbox during installation. After installing Python, you will need to install three Python modules via pip.
Open an administrator PowerShell or CMD console and run the following command.
Linux/MacOS
Follow install instructions for your specific Linux distribution. Javinizer calls all Python commands on Linux using python3
and modules will need to be installed using pip3
.
MediaInfo (Optional)
MediaInfo (CLI) is required for the use of some features of the Javinizer module:
Parse media file metadata (resolution, etc.)
Windows/Linux
You can find the download/installation binaries for MediaInfo here.
The MediaInfo executable will need to be added to your system PATH. Generic instructions here.
Install the Javinizer module
The recommended method to use Javinizer is installing the module via PSGallery. For power users, downloading releases manually or importing the module may be your choice instead.
Install via PSGallery
Run PowerShell 7 as administrator.
Install the module via the Install-Module
command and then restart your shell.
Import the module into your shell manually
Download the latest release or clone the repository and extract the files to a directory of your choice.
Run PowerShell 7 and run the following command:
To check if Javinizer is successfully installed or imported
Run PowerShell 7 and run the following command:
Docker
Run the latest cli docker build (CLI tags are labeled as [version]-cli
).
Persisting Data
You will most likely want to persist settings data when running Javinizer within Docker.
Your sort input and output paths should be using the same bind mount, otherwise moving files between them will take an extended amount of time.
Docker Run Example
To persist your settings file, create a copy of the settings file and bind mount the file:
/home/jvSettings.json
To persist other settings files, set paths in your location settings:
"location.thumbcsv": ""
"location.genrecsv": ""
"location.uncensorcsv": ""
"location.historycsv": ""
"location.tagcsv": ""
"location.log": "",
Last updated