# Settings

Javinizer has a number of configurations which you may find useful to customize it to fit your needs. For example values of "Format String", see [Format Strings](https://javinizer.gitbook.io/docs/configuration/format-strings).

By default, the Javinizer settings file lives in your module root folder as file `jvSettings.json`. You can open the settings file via the command:

```
Javinizer -OpenSettings
```

| Setting                                   | Description                                                                                                                                                                                                          | Accepted or Example Value                                                                                          |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| throttlelimit                             | Specifies the limit Javinizer will run video sorting threads.                                                                                                                                                        | 1 - 10                                                                                                             |
| location.input                            | Specifies the default -Path that Javinizer will use to sort videos.                                                                                                                                                  | C:\\\JAV\\\Unsorted                                                                                                |
| location.output                           | Specifies the default -DestinationPath that Javinizer will use to sort videos.                                                                                                                                       | C:\\\JAV\\\Unsorted                                                                                                |
| location.tagcsv                           | Specifies the location of the tag csv that is used to do a string replacement of tags of your choice. This will point to the file within your Javinizer module folder by default.                                    | C:\\\JAV\\\jvTags.csv                                                                                              |
| location.thumbcsv                         | Specifies the location of the actress thumbnail csv that is used to better match actresses. This will point to the file within the Javinizer module folder by default.                                               | C:\\\JAV\\\jvThumbs.csv                                                                                            |
| location.genrecsv                         | Specifies the location of the genre replacement csv that is used to do a string replacement of genres of your choice. This will point to the file within your Javinizer module folder by default.                    | C:\\\JAV\\\jvGenres.csv                                                                                            |
| location.uncensorcsv                      | Specifies the location of the uncensor csv that is used to do string replacements of censored words in R18 metadata. This will point to the file within your Javinizer module folder by default.                     | C:\\\JAV\\\jvUncensor.csv                                                                                          |
| location.log                              | Specifies the location of the log file. This will point to the file within the Javinizer module folder by default.                                                                                                   | C:\\\JAV\\\jvLogs.log                                                                                              |
| scraper.movie.dmm                         | Specifies whether the dmm.co.jp scraper is on/off.                                                                                                                                                                   | true or false                                                                                                      |
| scraper.movie.dmmja                       | Specifies whether the dmm.co.jp japanese scraper is on/off.                                                                                                                                                          | true or false                                                                                                      |
| scraper.movie.jav321ja                    | Specifies whether the jav321.com scraper is on/off.                                                                                                                                                                  | true or false                                                                                                      |
| scraper.movie.javbus                      | Specifies whether the javbus.com scraper is on/off.                                                                                                                                                                  | true or false                                                                                                      |
| scraper.movie.javbusja                    | Specifies whether the javbus.com japanese scraper is on/off.                                                                                                                                                         | true or false                                                                                                      |
| scraper.movie.javbuszh                    | Specifies whether the javbus.com chinese scraper is on/off.                                                                                                                                                          | true or false                                                                                                      |
| scraper.movie.javlibrary                  | Specfies whether the javlibrary.com scraper is on/off.                                                                                                                                                               | true or false                                                                                                      |
| scraper.movie.javlibraryja                | Specifies whether the javlibrary.com japanese scraper is on/off.                                                                                                                                                     | true or false                                                                                                      |
| scraper.movie.javlibraryzh                | Specifies whether the javlibrary.com chinese scraper is on/off.                                                                                                                                                      | true or false                                                                                                      |
| scraper.movie.r18                         | Specifies whether the r18.com scraper is on/off.                                                                                                                                                                     | true or false                                                                                                      |
| scraper.movie.r18zh                       | Specifies whether the r18.com chinese scraper is on/off.                                                                                                                                                             | true or false                                                                                                      |
| scraper.movie.aventertainment             | Specifies whether the aventertainments.com is on/off.                                                                                                                                                                | true or false                                                                                                      |
| scraper.movie.aventertainmentja           | Specifies whether the aventertainments.com japanese scraper is on/off.                                                                                                                                               | true or false                                                                                                      |
| scraper.movie.mgstageja                   | Specifies whether the mgstage.com japanese scraper is on/off.                                                                                                                                                        | true or false                                                                                                      |
| scraper.movie.javdb                       | Specifies whether the javdb.com english scraper is on/off.                                                                                                                                                           | true or false                                                                                                      |
| scraper.movie.javdbzh                     | Specifies whether the javdb.com chinese scraper is on/off.                                                                                                                                                           | true or false                                                                                                      |
| scraper.option.dmm.scrapeactress          | Specifies whether to turn on/off scraping both English/Japanese actress names on dmm and dmmja scrapers                                                                                                              | true or false                                                                                                      |
| match.minimumfilesize                     | Specifies the minimum filesize that Javinizer will find when performing a directory search in MB.                                                                                                                    | Any number                                                                                                         |
| match.includedfileextension               | Specifies an array of extensions that Javinizer will find when performing a directory search.                                                                                                                        | ".ext"                                                                                                             |
| match.excludedfilestring                  | Specifies the file strings that Javinizer will ignore when performing a directory search using regex                                                                                                                 | "^.*-trailer*"                                                                                                     |
| match.regex                               | Specifies that Javinizer will perform the directory search using regex rather than the default matcher.                                                                                                              | true or false                                                                                                      |
| match.regex.string                        | Specifies the regex string that Javinizer will use to perform the directory search.                                                                                                                                  | Regex string                                                                                                       |
| match.regex.idmatch                       | Specifies the regex match of the movie's ID of the regex string.                                                                                                                                                     | Any number                                                                                                         |
| match.regex.ptmatch                       | Specifies the regex match of the movie's part number of the regex string.                                                                                                                                            | Any number                                                                                                         |
| sort.movetofolder                         | Specifies to move the movie to its own folder after being sorted.                                                                                                                                                    | true or false                                                                                                      |
| sort.renamefile                           | Specifies to rename the movie file after being sorted.                                                                                                                                                               | true or false                                                                                                      |
| sort.maxtitlelength                       | Specifies the max metadata title length when using it in a format string.                                                                                                                                            | Any number                                                                                                         |
| sort.create.nfo                           | Specifies to create the nfo file when sorting a movie.                                                                                                                                                               | true or false                                                                                                      |
| sort.create.nfoperfile                    | Specifies to create a nfo file per part when sorting a movie. This will override any renaming done on the nfo file and instead use the filename.                                                                     | true or false                                                                                                      |
| sort.download.actressimg                  | Specifies to download actress images when sorting a movie.                                                                                                                                                           | true or false                                                                                                      |
| sort.download.thumbimg                    | Specifies to download the thumbnail image when sorting a movie.                                                                                                                                                      | true or false                                                                                                      |
| sort.download.posterimg                   | Specifies to create the poster image when sorting a movie. Sort.download.thumbimg is required for this to function.                                                                                                  | true or false                                                                                                      |
| sort.download.screenshotimg               | Specifies to download screenshot images when sorting a movie.                                                                                                                                                        | true or false                                                                                                      |
| sort.download.trailervid                  | Specifies to download the trailer video when sorting a movie.                                                                                                                                                        | true or false                                                                                                      |
| sort.format.groupactress                  | Specifies to convert the format string for \ when there is more than one actress to "@Group" and if unknown, to "@Unknown".                                                                                          | true or false                                                                                                      |
| sort.format.delimiter                     | Specifies the delimiter between actresses when using \ in the format string.                                                                                                                                         | Any string value                                                                                                   |
| sort.format.file                          | Specifies the format string when renaming a file.                                                                                                                                                                    | <p>Format Strings</p><p>Default: "\<ID>"</p>                                                                       |
| sort.format.folder                        | Specifies the format string when creating the folder.                                                                                                                                                                | <p>Format Strings</p><p>Default: "\<ID> \[\<STUDIO>] - \<TITLE> (\<YEAR>)"</p>                                     |
| sort.format.outputfolder                  | Specifies an array of format strings when creating an output folder in the destination path. Leaving this blank will omit creating the output folder. Multiple format strings will create a nested output structure. | <p>Format Strings</p><p>Default: \[]</p>                                                                           |
| sort.format.thumbimg                      | Specifies the format string when creating the thumbnail image.                                                                                                                                                       | <p>Format Strings</p><p>Default: "fanart"</p>                                                                      |
| sort.format.posterimg                     | Specifies an array of format strings when creating the poster image. Multiple strings will allow you to create multiple poster image files.                                                                          | <p>Format Strings</p><p>Default: \["folder"]</p>                                                                   |
| sort.format.trailervid                    | Specifies the format string when creating the trailer video.                                                                                                                                                         | <p>Format Strings</p><p>Default: "\<ID>-trailer"</p>                                                               |
| sort.format.nfo                           | Specifies the format string when creating the nfo.                                                                                                                                                                   | <p>Format Strings</p><p>Default: "\<ID>"</p>                                                                       |
| sort.format.screenshotimg                 | Specifies the format string when creating the screenshot images.                                                                                                                                                     | <p>Format Strings</p><p>Default: "fanart"</p>                                                                      |
| sort.format.screenshotfolder              | Specifies the format string when creating the screenshot images folder.                                                                                                                                              | <p>Format Strings</p><p>Default: "extrafanart"</p>                                                                 |
| sort.format.actressimgfolder              | Specifies the format string when creating the actress image folder.                                                                                                                                                  | <p>Format Strings</p><p>Default: ".actors"</p>                                                                     |
| sort.metadata.nfo.mediainfo               | Specifies to add media metadata information to the nfo file. This requires the MediaInfo command line application.                                                                                                   | true or false                                                                                                      |
| sort.metadata.nfo.keeporiginaldescription | Specifies to append the original Japanese description to the nfo file when translating the description.                                                                                                              | true or false                                                                                                      |
| sort.metadata.nfo.altnamerole             | Specifies to set the actress role in the nfo as the altname.                                                                                                                                                         | true or false                                                                                                      |
| sort.metadata.nfo.firstnameorder          | Specifies to set the actress name order to FirstName LastName.                                                                                                                                                       | true or false                                                                                                      |
| sort.metadata.nfo.actressastag            | Specifies to add actresses as tags in the nfo file.                                                                                                                                                                  | true or false                                                                                                      |
| sort.metadata.nfo.translate               | Specifies to enable the machine translation service.                                                                                                                                                                 | true or false                                                                                                      |
| sort.metadata.nfo.translate.language      | Specifies which language to translate to.                                                                                                                                                                            | Check [here](https://developers.google.com/admin-sdk/directory/v1/languages) for language codes                    |
| sort.metadata.nfo.translate.module        | Specifies the module used to translate.                                                                                                                                                                              | googletrans or google\_trans\_new                                                                                  |
| sort.metadata.nfo.translate.field         | Specifies an array of metadata fields to translate                                                                                                                                                                   | Title, AlternateTitle, Description, Director, Series, Genre, Maker, Label.                                         |
| sort.metadata.nfo.displayname             | Specifies the format string of the displayname in the metadata nfo file.                                                                                                                                             | <p>Format Strings</p><p>Default: "\[\<ID>] \<TITLE>"</p>                                                           |
| sort.metadata.nfo.format.tag              | Specifies an array of format strings to add tags to the aggregated data object                                                                                                                                       | <p>Format Strings</p><p>Default: \["\<SET>"]</p>                                                                   |
| sort.metadata.nfo.format.tagline          | Specifies the format string to add a tagline to the aggregated data object                                                                                                                                           | <p>Format Strings</p><p>Default: ""</p>                                                                            |
| sort.metadata.nfo.format.credits          | Specifies the format string to add credits to the aggregated data object                                                                                                                                             | <p>Format Strings</p><p>Default: \[]</p>                                                                           |
| sort.metadata.nfo.actresslanguageja       | Specifies to prefer Japanese names when creating the metadata nfo.                                                                                                                                                   | true or false                                                                                                      |
| sort.metadata.nfo.unknownactress          | Specifies to add an 'Unknown' actress to scraped movies without any actresses                                                                                                                                        | true or false                                                                                                      |
| sort.metadata.nfo.originalpath            | Specifies to add an 'originalpath' field to the nfo specifying the location the movie was last sorted from.                                                                                                          | true or false                                                                                                      |
| sort.metadata.thumbcsv                    | Specifies to use the thumbnail csv when aggregating metadata.                                                                                                                                                        | true or false                                                                                                      |
| sort.metadata.thumbcsv.autoadd            | Specifies to automatically add missing actresses to the thumbnail csv when scraping using the R18 or R18Zh scrapers.                                                                                                 | true or false                                                                                                      |
| sort.metadata.thumbcsv.convertalias       | Specifies to use the thumbnail csv alias field to replace actresses in the metadata.                                                                                                                                 | true or false                                                                                                      |
| sort.metadata.genrecsv                    | Specifies to use the genre csv to replace genres in the metadata.                                                                                                                                                    | true or false                                                                                                      |
| sort.metadata.genrecsv.autoadd            | Specifies to automatically add missing genres to the genre csv.                                                                                                                                                      | true or false                                                                                                      |
| sort.metadata.genre.ignore                | Specifies an array of genres to ignore in the metadata.                                                                                                                                                              | Array of string values                                                                                             |
| sort.metadata.tagcsv                      | Specifies to use the tag csv to replace tags in the metadata.                                                                                                                                                        | true or false                                                                                                      |
| sort.metadata.tagcsv.autoadd              | Specifies to automatically add missing tags to the tag csv.                                                                                                                                                          | true or false                                                                                                      |
| sort.metadata.priority.actress            | Specifies the array of scrapers to prioritize the actress metadata.                                                                                                                                                  | Array of string metadata field names                                                                               |
| sort.metadata.priority.alternatetitle     | Specifies the array of scrapers to prioritize the alternatetitle metadata.                                                                                                                                           | Array of string metadata field names                                                                               |
| sort.metadata.priority.coverurl           | Specifies the array of scrapers to prioritize the coverurl metadata.                                                                                                                                                 | Array of string metadata field names                                                                               |
| sort.metadata.priority.description        | Specifies the array of scrapers to prioritize the description metadata.                                                                                                                                              | Array of string metadata field names                                                                               |
| sort.metadata.priority.director           | Specifies the array of scrapers to prioritize the director metadata.                                                                                                                                                 | Array of string metadata field names                                                                               |
| sort.metadata.priority.genre              | Specifies the array of scrapers to prioritize the genre metadata.                                                                                                                                                    | Array of string metadata field names                                                                               |
| sort.metadata.priority.id                 | Specifies the array of scrapers to prioritize the ID metadata.                                                                                                                                                       | Array of string metadata field names                                                                               |
| sort.metadata.priority.label              | Specifies the array of scrapers to prioritize the label metadata.                                                                                                                                                    | Array of string metadata field names                                                                               |
| sort.metadata.priority.maker              | Specifies the array of scrapers to prioritize the maker metadata.                                                                                                                                                    | Array of string metadata field names                                                                               |
| sort.metadata.priority.rating             | Specifies the array of scrapers to prioritize the rating metadata.                                                                                                                                                   | Array of string metadata field names                                                                               |
| sort.metadata.priority.releasedate        | Specifies the array of scrapers to prioritize the releasedate metadata.                                                                                                                                              | Array of string metadata field names                                                                               |
| sort.metadata.priority.runtime            | Specifies the array of scrapers to prioritize the runtime metadata.                                                                                                                                                  | Array of string metadata field names                                                                               |
| sort.metadata.priority.series             | Specifies the array of scrapers to prioritize the series metadata.                                                                                                                                                   | Array of string metadata field names                                                                               |
| sort.metadata.priority.screenshoturl      | Specifies the array of scrapers to prioritize the screenshoturl metadata.                                                                                                                                            | Array of string metadata field names                                                                               |
| sort.metadata.priority.title              | Specifies the array of scrapers to prioritize the title metadata.                                                                                                                                                    | Array of string metadata field names                                                                               |
| sort.metadata.priority.trailerurl         | Specifies the array of scrapers to prioritize the trailerurl metadata.                                                                                                                                               | Array of string metadata field names                                                                               |
| emby.url                                  | Specifies the base URL of your Emby/Jellyfin instance to add actress images.                                                                                                                                         | http:\\/\\/192.168.0.1:8096                                                                                        |
| emby.apikey                               | Specifies the API key of your Emby/Jellyfin instance.                                                                                                                                                                | API Key string                                                                                                     |
| javdb.cookie.session                      | Specifies the \_jdb\_session login cookie for javdb to access and scrape fc2 titles.                                                                                                                                 | Dm7hbyCh4XxrJhYMJ4zRMmLZj4\[..]                                                                                    |
| javlibrary.baseurl                        | Specifies the base URL of the Javlibrary instance you want to scrape. This is useful if you are running into CloudFlare errors on the main site and want to use a mirror such as b49t.com.                           | http:\\/\\/javlibrary.com                                                                                          |
| javlibrary.browser.useragent              | Specifies your browser's user agent when accessing Javlibrary. This can be found by googling your user agent                                                                                                         | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 |
| javlibrary.cookie.cfduid                  | Specifies the cookie value of the \_\_cfduid cookie when accessing Javlibrary                                                                                                                                        | dec857987e88528669d3bda527c8119731602366718                                                                        |
| javlibrary.cookie.cfclearance             | Specifies the cookie value of the cf\_clearance cookie when accessing Javlibrary                                                                                                                                     | 812db5df4cfffb1ec11b2b5cff38d6323b842a9d-1602222718-0-1zc9220a8fz16c94e72z7b83181-150                              |
| javlibrary.cookie.session                 | Specifies the cookie value of the session cookie when logged into Javlibrary, used to set owned movies                                                                                                               | 0HDNScw5zuKGOFMoRZJxQI9GGGIGhffZ49W9tz                                                                             |
| javlibrary.cookie.userid                  | Specifies the cookie value of the userid cookie when logged into Javlibrary, used to set owned movies                                                                                                                | javinizer                                                                                                          |
| admin.log                                 | Specifies to write debug, warning, error, and verbose messages to the log file.                                                                                                                                      | true or false                                                                                                      |
| admin.log.level                           | Specifies the level of logs that will be written to the log file.                                                                                                                                                    | Debug, Info, Warning, Error                                                                                        |
| javdb.cookie.session                      | Specifies the cookie value of the session cookie when logged into JavDB, used to scrape fc2 content.                                                                                                                 | w5zuKGOFMoRZJxQ                                                                                                    |
| proxy.enabled                             | Specifies whether to use a proxy on network requests.                                                                                                                                                                | true or false                                                                                                      |
| proxy.host                                | Specifies the hostname or IP of your proxy.                                                                                                                                                                          |                                                                                                                    |
| proxy.username                            | Specifies the username of your proxy.                                                                                                                                                                                |                                                                                                                    |
| proxy.password                            | Specifies the password of your proxy                                                                                                                                                                                 |                                                                                                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://javinizer.gitbook.io/docs/configuration/settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
