Skip to content

Settings

EpicUnknown edited this page Mar 21, 2020 · 4 revisions

Settings

Available settings

defaultOutputLocation

Default Value: false
Usage: Setting this variable will tell the script to place the downloaded shows where ever you specify.
Example: "defaultOutputLocation": "/home/iepic/videos"
This will place ALL downloaded videos into the directory /home/iepic/videos unless you are using -o or if you have useKnownDownloadLocation enabled and it has a directory for that show.

episodePadding

Default Value: 2
Usage: Setting this variable will tell the script how many zeroes it must place in front of the episode number.
Example: "episodePadding": 2
This ensures there are at least two digits in the episode number. So, episode 1 will now be episode 01

includeShowDesc

Default Value: true
Usage: Setting this variable will tell the script if it needs to add a description of the episode at the end.
Example: "includeShowDesc": true
If this is set to true, saveFormat MUST contain {desc} in order to properly work.
When set to true the script will append the text after the episode in the url.
For Example: https://www.wcostream.com/family-guy-season-18-episode-15-baby-stewie will pull the description as Baby Stewie

saveDownloadLocation

Default Value: true
Usage: Setting this variable will tell the script to make a list of where you save your shows so it will auto place your shows in the correct directory without any human interaction.
Example: "saveDownloadLocation": true
When set to true, the script will create a file called savedLocations.json with the shows/animes names and the location on where you saved them if you used the -o argument.
You may manually input your own savedLocations if you desire, just follow the format of "showName": "location"
This variable is used in conjunction with useKnownDownloadLocation

saveFormat

Default Value: "{show}-S{season}E{episode}-{desc}"
Usage: Setting this variable will tell the script how to save the file names.
Example: "saveFormat": "{show}-Season{season}Episode{episode}-{desc}"
If includeShowDesc is set to true, this MUST contain {desc} in order to properly work.
The example above would save my show as Anime Name-Season01Episode01-Awesome Description
There is no set way to save a file, the only thing this variable needs is {show} {season} {episode}

seasonPadding

Default Value: 2
Usage: Setting this variable will tell the script how many zeroes it must place in front of the season number.
Example: "seasonPadding": 2
This ensures there are at least two digits in the season number. So, season 1 will now be season 01

useKnownDownloadLocation

Default Value: true
Usage: Setting this variable will tell the script to use the savedLocations.json file to properly place the files you are downloading in it's listed directory.
Example: "useKnownDownloadLocation": true
When set to true, the script will use the file savedLocations.json and grab the shows/animes folder location. If one does not exist, it will default to "Output/Show_name" where you ran the script or if defaultOutputLocation is not false it will place it in that directory