Skip to content

Commit

Permalink
Update settings file format to single line
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Aug 12, 2020
1 parent 7446fbf commit 964199b
Showing 1 changed file with 127 additions and 169 deletions.
296 changes: 127 additions & 169 deletions src/Javinizer/javinizerSettings.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
{
"scraper": {
"movie": {
"r18": "true",
"r18zh": "true",
"javlibrary": "true",
"javlibraryja": "true",
"javlibraryzh": "true",
"javbus": "true",
"javbusja": "true",
"jav321": "true"
},
"actress": {
"r18": "true",
"r18zh": "true"
}
},
"multiThrottle": "5",
"moveToFolder": "true",
"renameFile": "true",
"maxTitleLength": "100",
"maxPathLength": "255",
"minFileSize": "0",
"includedFileExtension": [
"scraper.movie.dmm": 1,
"scraper.movie.jav321": 0,
"scraper.movie.javbus": 0,
"scraper.movie.javbusja": 0,
"scraper.movie.javlibrary": 1,
"scraper.movie.javlibraryja": 1,
"scraper.movie.javlibraryzh": 1,
"scraper.movie.r18": 1,
"scraper.movie.r18zh": 0,
"scraper.multiThrottle": 5,
"match.minFileSize": 0,
"match.includedFileExtension": [
".asf",
".avi",
".flv",
Expand All @@ -32,153 +21,122 @@
".rmvb",
".wmv"
],
"excludedFileString": [
"match.excludedFileString": [
"*-trailer.*",
"*-5.*"
],
"regexMatch": {
"enabled": "false",
"string": "([a-zA-Z|tT28]+-\\d+z{0,1}Z{0,1}e{0,1}E{0,1})(?:-pt){0,1}(\\d{1,2})?",
"idMatch": "1",
"ptMatch": "2"
},
"file": {
"create": {
"nfo": "true",
"nfoPerFile": "true",
"actressImg": "true",
"thumbImg": "true",
"posterImg": "true",
"screenshotImg": "true",
"trailerVid": "true"
},
"renameString": {
"file": "<ID>",
"folder": "<ID> [<STUDIO>] - <TITLE> (<YEAR>)",
"poster": "folder",
"thumbnail": "fanart",
"trailer": "<ID>-trailer",
"nfo": "<ID>",
"screenshotFolder": "extrafanart",
"screenshotImg": "fanart",
"actorImgFolder": ".actors"
}
},
"metadata": {
"required": [
"actress",
"coverUrl",
"genre",
"id",
"maker",
"releaseDate",
"title"
],
"priority": {
"actress": [
"r18",
"javlibrary"
],
"actressThumbUrl": [
"r18"
],
"alternateTitle": [
"dmm"
],
"coverUrl": [
"r18",
"dmm",
"javlibrary"
],
"description": [
"dmm"
],
"director": [
"r18",
"javlibrary"
],
"genre": [
"r18",
"javlibrary"
],
"id": [
"r18",
"javlibrary"
],
"label": [
"r18",
"javlibrary"
],
"maker": [
"r18",
"javlibrary"
],
"rating": [
"dmm"
],
"ratingCount": [
"dmm"
],
"releaseDate": [
"r18",
"javlibrary",
"dmm"
],
"releaseYear": [
"r18",
"javlibrary",
"dmm"
],
"runtime": [
"r18",
"javlibrary",
"dmm"
],
"series": [
"r18"
],
"screenshotUrl": [
"r18",
"dmm"
],
"title": [
"r18",
"javlibrary"
],
"trailerUrl": [
"r18"
]
},
"displayName": "[<ID>] <TITLE>",
"seriesAsTag": "true",
"nameOrder": "first",
"convertAliasToOriginalName": "true",
"normalizeGenres": "true",
"ignoredGenres": [
"Featured Actress",
"Hi-Def"
]
},
"location": {
"input": "C:\\Downloads\\Unsorted",
"output": "C:\\Downloads\\Sorted"
},
"emby": {
"url": "192.168.0.1:8096",
"apiKey": ""
},
"javlibrary": {
"username": "",
"sessionCookie": "",
"requestIntervalSec": "15",
"requestTimeoutSec": "90"
},
"javlibrary.test": "true",
"admin": {
"log": {
"path": "x:\\git\\projects\\jav-organizer\\src\\javinizer\\javinizer.log",
"level": "DEBUG"
},
"checkUpdate": ""
}
"match.regex": 1,
"match.regex.string": "([a-zA-Z|tT28]+-\\d+z{0,1}Z{0,1}e{0,1}E{0,1})(?:-pt){0,1}(\\d{1,2})?",
"match.regex.idMatch": 1,
"match.regex.ptMatch": 2,
"sort.movetofolder": 1,
"sort.renamefile": 1,
"sort.maxtitlelength": 100,
"sort.maxpathlength": 255,
"sort.create.nfo": 1,
"sort.create.nfo.perfile": 1,
"sort.download.actressimg": 0,
"sort.download.thumbimg": 1,
"sort.download.posterimg": 1,
"sort.download.screenshotimg": 1,
"sort.download.trailervid": 1,
"sort.rename.file": "<ID>",
"sort.rename.folder": "<ID> [<STUDIO>] - <TITLE> (<YEAR>)",
"sort.rename.poster": "folder",
"sort.rename.thumbnail": "fanart",
"sort.rename.trailer": "<ID>-trailer",
"sort.rename.nfo": "<ID>",
"sort.rename.screenshot.imgprefix": "fanart",
"sort.rename.screenshot.folder": "extrafanart",
"sort.rename.actorimg.folder": ".actors",
"sort.metadata.displayname": "[<ID>] <TITLE>",
"sort.metadata.seriesastag": 1,
"sort.metadata.firstnameorder": 0,
"sort.metadata.thumbcsv": 1,
"sort.metadata.thumbcsv.convertalias": 1,
"sort.metadata.genre.normalize": 0,
"sort.metadata.genre.ignore": [
"Featured Actress",
"Hi-Def"
],
"sort.metadata.requiredFields": [
"actress",
"coverUrl",
"genre",
"id",
"maker",
"releaseDate",
"title"
],
"sort.metadata.priority.actress": [
"r18",
"javlibrary"
],
"sort.metadata.priority.alternatetitle": [
"dmm"
],
"sort.metadata.priority.coverurl": [
"r18",
"dmm",
"javlibrary"
],
"sort.metadata.priority.description": [
"dmm"
],
"sort.metadata.priority.director": [
"r18",
"javlibrary"
],
"sort.metadata.priority.genre": [
"r18",
"javlibrary"
],
"sort.metadata.priority.id": [
"r18",
"javlibrary"
],
"sort.metadata.priority.label": [
"r18",
"javlibrary"
],
"sort.metadata.priority.maker": [
"r18",
"javlibrary"
],
"sort.metadata.priority.releasedate": [
"r18",
"javlibrary",
"dmm"
],
"sort.metadata.priority.runtime": [
"r18",
"javlibrary",
"dmm"
],
"sort.metadata.priority.series": [
"r18"
],
"sort.metadata.priority.screenshotUrl": [
"r18",
"dmm"
],
"sort.metadata.priority.title": [
"r18",
"javlibrary"
],
"sort.metadata.priority.trailerUrl": [
"r18"
],
"location.input": "C:\\Downloads\\Unsorted",
"location.output": "C:\\Downloads\\Sorted",
"emby.url": "192.168.0.1:8096",
"emby.apiKey": "",
"javlibrary.username": "",
"javlibrary.sessioncookie": "",
"javlibrary.request.interval": 15,
"javlibrary.request.timeout": 90,
"admin.log": 1,
"admin.log.path": "x:\\git\\projects\\jav-organizer\\src\\javinizer\\javinizer.log",
"admin.log.level": "DEBUG",
"admin.update.check": 0
}

0 comments on commit 964199b

Please sign in to comment.