• Stars
    star
    369
  • Rank 115,686 (Top 3 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created about 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

(NSFW) Organize your local Japanese Adult Video (JAV) library

Javinizer (JAV Organizer)

A commandline and GUI based PowerShell module used to scrape metadata and sort your local Japanese Adult Video (JAV) files into a media library compatible format.


GitHub PSGallery Docker Discord Commits

Features โ€ข Getting Started โ€ข Examples โ€ข Documentation

View GUI demo video (NSFW)

Features

  • Highly customizable. An assortment of scrapers are available for you to mix-and-match metadata with. Scrapers sources include sites such as Javlibrary, R18, Dmm (Fanza), JavBus, Jav321, AVEntertainment, MGStage, and DLGetchu. Various .csv settings files are also provided to customize your metadata even further.

  • Flexible file detection. Multiple methods are provided to detect your local JAV files such as the built-in file matcher as well as a customizable regex string.

  • Multi-language support. Scraper sources provide English, Japanese, and occasionally Chinese language support. Machine translation modules are also available to translate individual metadata fields of your choice.

  • You own the data. Metadata .nfo files are created for each JAV file to be read by a media library application. Contrary to a media library metadata plugin, if an online scraper suddenly disappears, you still keep your metadata.

Getting Started

View the full Javinizer installation and usage documentation on GitBook.

Prerequisites

To run Javinizer, you will need to install following:

NOTE: You will need to add Python and MediaInfo to your system PATH. Windows calls python, while Unix/MacOS calls python3.

# Install the python modules using pip. If running Unix/MacOS, use pip3/python3
> pip install pillow
> pip install googletrans==4.0.0rc1
> pip install google_trans_new

Installation

After installing the required prerequisites, run the following command in an administrator PowerShell 7 (pwsh.exe) console to install the Javinizer module. If this is your first time using PowerShell, you may run into some prompts about security policies. Follow the instructions given in the prompts to unrestrict the code.

# Install the module from PowerShell gallery
> Install-Module Javinizer

# Check that the module has been installed; if error, restart your console
> Javinizer -v

Quick start (CLI)

Here are some common commands that you can run with Javinizer:

# Run a command to sort your JAV files using default settings
> Javinizer -Path "C:\JAV\Unsorted" -DestinationPath "C:\JAV\Sorted"

# Run a command to sort your JAV files while searching folders recursively (within the folders)
> Javinizer -Path "C:\JAV\Unsorted" -DestinationPath "C:\JAV\Sorted" -Recurse

# Run a command to sort a JAV file using direct URLs
> Javinizer -Path "C:\JAV\Unsorted\IPX-535.mp4" -Url 'https://www.javlibrary.com/en/?v=javmeza7s4', 'https://www.r18.com/videos/vod/movies/detail/-/id=ipx00535/'

# Run a command to find metadata
> Javinizer -Find "ABP-420" -Javlibrary

# Run a command to find metadata and aggregate it according to your settings file
> Javinizer -Find "ABP-420" -Javlibrary -R18Dev -DmmJa -Aggregated

# Run a command to find metadata, aggregate it according to your settings file, and output the nfo
> Javinizer -Find "ABP-420" -Javlibrary -R18Dev -DmmJa -Aggregated -Nfo

# Open the Javinizer settings configuration
> Javinizer -OpenSettings

# Update your Javinizer module
> Javinizer -UpdateModule

# View the Javinizer commandline help (may not be up to date)
> Javinizer -Help

Quick start (GUI)

Windows

# Install PowerShell Universal to Javinizer module folder (Run as administrator)
> Javinizer -InstallGUI

# Runs the PowerShell Universal application and opens the Javinizer GUI dashboard page
# Optionally specify a custom port using the -Port parameter
> Javinizer -OpenGUI

After running Javinizer -OpenGUI, the PowerShell Universal process should run in a separate window and open your browser to 'http://localhost:[PORT]/' which contains the Javinizer dashboard.

Docker

# To run GUI
docker run --name javinizer -p 8600:8600 -d javinizer/javinizer:latest

# To run CLI
docker run --name javinizer -p 8600:8600 -d javinizer/javinizer:latest-cli

# Optional
# You will need to copy the jvSettings.json configuration from [here](./src/Javinizer/jvSettings.json) and write it to your path/to/jvSettings.json location
-v path/to/jvSettings.json:/home/jvSettings.json

Example Output

A few examples of Javinizer's sort output are listed below.

Basic Folder Structures

"sort.format.folder": "<ID> [<STUDIO>] - <TITLE> (<YEAR>)",
"sort.format.outputfolder": []
โ”œโ”€IDBD-979 [Idea Pocket] - Yume Nishinomiya Ultimate Blowjob... (2020)
โ”‚      fanart.jpg
โ”‚      folder.jpg
โ”‚      IDBD-979.mp4
โ”‚      IDBD-979.nfo
โ”‚
โ”œโ”€IPX-399 [Idea Pocket] - Shes Luring You To Temptation... (2019)
โ”‚      fanart.jpg
โ”‚      folder.jpg
โ”‚      IPX-399.mp4
โ”‚      IPX-399.nfo
โ”‚
โ”œโ”€IPX-485 [Idea Pocket] - A Big Tits Wife Who Got Fucked... (2020)
โ”‚      fanart.jpg
โ”‚      folder.jpg
โ”‚      IPX-485.mp4
โ”‚      IPX-485.nfo

Advanced Folder Structures

"sort.format.folder": "<ID> [<STUDIO>] - <TITLE>",
"sort.format.outputfolder": ["<ACTORS>", "<YEAR>"]
โ”œโ”€Nishimiya Yume
โ”‚  โ””โ”€2020
โ”‚      โ””โ”€IDBD-979 [Idea Pocket] - Yume Nishinomiya Ultimate Blowjob...
โ”‚          โ”‚  fanart.jpg
โ”‚          โ”‚  folder.jpg
โ”‚          โ”‚  IDBD-979-trailer.mp4
โ”‚          โ”‚  IDBD-979.mp4
โ”‚          โ”‚  IDBD-979.nfo
โ”‚          โ”‚
โ”‚          โ”œโ”€.actors
โ”‚          โ”‚      Nishimiya_Yume.jpg
โ”‚          โ”‚
โ”‚          โ””โ”€extrafanart
โ”‚                  fanart1.jpg
โ”‚                  fanart2.jpg
โ”‚                  fanart3.jpg
โ”‚
โ””โ”€Sakura Momo
    โ”œโ”€2019
    โ”‚  โ””โ”€IPX-399 [Idea Pocket] - Shes Luring You To Temptation...
    โ”‚      โ”‚  fanart.jpg
    โ”‚      โ”‚  folder.jpg
    โ”‚      โ”‚  IPX-399-trailer.mp4
    โ”‚      โ”‚  IPX-399.mp4
    โ”‚      โ”‚  IPX-399.nfo
    โ”‚      โ”‚
    โ”‚      โ”œโ”€.actors
    โ”‚      โ”‚      Sakura_Momo.jpg
    โ”‚      โ”‚
    โ”‚      โ””โ”€extrafanart
    โ”‚              fanart1.jpg
    โ”‚              fanart2.jpg
    โ”‚              fanart3.jpg
    โ”‚
    โ””โ”€2020
        โ””โ”€IPX-485 [Idea Pocket] - A Big Tits Wife Who Got Fucked...
            โ”‚  fanart.jpg
            โ”‚  folder.jpg
            โ”‚  IPX-485-trailer.mp4
            โ”‚  IPX-485.mp4
            โ”‚  IPX-485.nfo
            โ”‚
            โ”œโ”€.actors
            โ”‚      Sakura_Momo.jpg
            โ”‚
            โ””โ”€extrafanart
                    fanart1.jpg
                    fanart2.jpg
                    fanart3.jpg

Metadata Output .nfo

A .nfo metadata file is created for each movie.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
    <title>[IDBD-979] Yume Nishinomiya Ultimate Blowjoc Complete BEST - Lots of Cum, 40 Shots!</title>
    <originaltitle>่ฅฟๅฎฎใ‚†ใ‚ ่‡ณ้ซ˜ใฎใƒ•ใ‚งใƒฉใƒใ‚ชใ‚ณใƒณใƒ—ใƒชใƒผใƒˆBEST ๅคง้‡ๅฐ„็ฒพ40็™บ๏ผ</originaltitle>
    <id>IDBD-979</id>
    <premiered>2020-09-12</premiered>
    <year>2020</year>
    <director></director>
    <studio>Idea Pocket</studio>
    <rating></rating>
    <votes></votes>
    <plot>ใƒ‡ใƒ“ใƒฅใƒผ4ๅ‘จๅนดใ‚’่ฟŽใˆใŸใ‚ขใ‚คใƒใ‚ฑใฎๅฐๆ‚ช้ญ”็พŽๅฐ‘ๅฅณโ€™โ€™่ฅฟๅฎฎใ‚†ใ‚โ€™โ€™ใฎใƒ•ใ‚งใƒฉใƒใ‚ชใ‚ทใƒผใƒณใฎใฟใ‚’้›†ใ‚ใŸใƒ™ใ‚นใƒˆใŒ็™ปๅ ด๏ผ</plot>
    <runtime>237</runtime>
    <trailer>https://awscc3001.r18.com/litevideo/freepv/i/idb/idbd00979/idbd00979_dmb_w.mp4</trailer>
    <mpaa>XXX</mpaa>
    <tagline></tagline>
    <set></set>
    <genre>Beautiful Girl</genre>
    <genre>Blowjob</genre>
    <genre>Facial</genre>
    <genre>Deep Throat</genre>
    <genre>Digital Mosaic</genre>
    <genre>Actress Best Compilation</genre>
    <actor>
        <name>Nishimiya Yume</name>
        <altname>่ฅฟๅฎฎใ‚†ใ‚</altname>
        <thumb>https://pics.r18.com/mono/actjpgs/nisimiya_yume.jpg</thumb>
        <role>Actress</role>
    </actor>
</movie>