Scrape XBMC and Kodi movie metadeta and automatically rename files for Japanese Adult Videos (JAV), American Adult DVDs, and American Adult Webcontent
Scrape XBMC and Kodi movie metadeta and automatically rename files for Japanese Adult Videos (JAV), American Adult DVDs, and American Adult Webcontent
JAVMovieScraper is a Java Swing program to scrape English Kodi metadata for Japanese Adult Videos (JAV) are searched on:
Adult dvds informations are searched on:
As no one site has a complete set of English metadata, the program amalgamates metadeta info from a variety of sources, including dmm.co.jp, javlibrary.com, javbus.com, squareplus.co.jp, and actionjav.com. The data is then fed through a machine translation (if original data is in Japanese) and then quality checked to sanitize it and poster elements are cropped so only the cover is shown.
This program is in alpha. Please submit bugs and feature requests here on github on the issues page.
Main Window
Renamer Window
This program now supports command line options. Starting the program without any command line option will load the graphical user interface version of the program. I'm still actively working on the command line options to make sure all scrapers are accounted for and any settings.xml values are taken into account.
Usage:
-filenamecleanup <FilePath> Use given file argument(s) for file name cleanup process which will rename the file by expanding abbreviations and removing words which cause google scrapes to fail
-help display list of command line options
-rename <FilePath> renames the file argument(s) and any associated metadata files if the file argument has a valid movie nfo using the file name format from settings.xml
-scrape <ScraperName FilePath> Scrapes and writes metadata of the file located at <FilePath> with type of scraper specified by <ScraperName>. Valid ScraperNames are: data18webcontent, data18, excaliburfilms, themoviedatabase, iafd, dmm, 1000giri, 1pondo, aventertainment, caribbeancom, caribbeancompremium, heyzo, kin8tengoku, mytokyohot, tokyohot, javbus, r18, actionjav. Any settings.xml file preference values will be taken into account when scraping.
Example command to run filenamecleanup on two different files:
java -jar JAVMovieScraper.jar -filenamecleanup "C:\myfile1.mp4" "C:\myfile2.mp4"
Example command to scrape and write metadata info of a file located at "C:\myfile1.mp4" with the data18webcontent scraper:
java -jar JAVMovieScraper.jar -scrape data18webcontent "C:\myfile1.mp4"
Example command to rename a file "C:\myfile1.mp4" which also has a "C:\myfile1.nfo" in the same directory:
java -jar JAVMovieScraper.jar -rename "C:\myfile1.mp4"
Example command to rename a directory located at "C:\Movie (2014)" which has a nfo file contained within the directory called "C:\Movie (2014)\Movie (2014).nfo"
java -jar JAVMovieScraper.jar -rename "C:\Movie (2014)"
If you're having trouble getting matches with -scrape data18webcontent, try to first run -filenamecleanup on the file and then run -scrape on the file.
When using the site specific scraper feature, your file name must contain an ID number which conforms to the release ID conventions set by that site.
Aventertainments: This follows the usual JAV id naming structure like ABC-123. It does a search on the site using this ID.
Kin8tengoku: The ID is in the URL. It is the numeric part before /pht/ and is usually 4 numeric digits. Example: 1147.
Tokyohot: The ID follows the format of n123 or n1234 k123/k1234. In other words, a lowercase n or k followed by a 3 or 4 digit number.
1pondo: The ID is in the URL of the movie, right before /index.html. The first part of the ID is a 6 digit number corresponding to the release date, followed by an underscore, followed by a 3 digit number. Example: 061314_826
Caribbeancom Premium: The ID is in the URL of the movie, right before /index.html. The first part of the ID is a 6 digit number corresponding to the release date, followed by an underscore, followed by a 3 digit number. Example: 061314_826
Heyzo: The ID is a 4 digit number in the url right after /moviepages/. Example: 0123
JavBus: You can search using a censored standard jav ID or try using one of the formats of the uncensored sites above.
This attempts to rename a file to make it more likely a match will be found with the Data18 Web Content Scraper. This is done by replacing website abbreviations (current list here - more to be added soon) at the beginning of the file name with the full site name. It will also remove words from the file that interfere with scraping and replace underscores and periods in the filename with spaces. The list of site name abbreviations still needs more work. Please consider contributing to this list if you use this feature and would like to see it work better! Note that the list of abbreviations usually contains a short 2-4 letter abbreviation as the second entry in the list. This is the abbreviation used in the scene release of the file.
Kodi metadata is compatible with Plex using the XBMCnfoMovieImporter (github link here).
Try Media Companion. It's easier to use when sitting at a computer than Kodi because the interface is designed for keyboard & mouse use rather than a remote and large screen.
No open issues yet, or sync has not completed.