Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Configuration

pastapojken edited this page Apr 23, 2019 · 2 revisions

THE CONFIG FILE

I hate to repeat myself and I WANT people to read the config file since it's all fairly self explanatory, so if you want to know the options, read the config file and you will have your answers.
However i want to clarify some things:

  • Any path to any folder/file ( so like TVpath, MoviesPath, TVhtml, Mhtml etc. ) should be relative to the location of the config file/the scripts location. So if your scripts are at /home/me/myflix/scripts, you should probably place everything in /srv/http/mydomain/myflix/ so that, TVpath, becomes for example "../TV/" (so, full path would be /srv/http/mydomain/myflix/TV/) in order for things to be more secure.
  • If your files have different names you can obviously edit the regex values. If you need more regex options you can edit parseMfilename.sh and parseTVfilename.sh, find if [[ "${filename}" =~ ${regexM} ]]; then #if filename matches regex then it's a movie we want to work on! or if [[ "${filename}" =~ ${regexTV1} ]] || [[ "${filename}" =~ ${regexTV2} ]] || [[ "${filename}" =~ ${regexTV3} ]] || [[ "${filename}" =~ ${regexTV4} ]]; then, respectively and edit them to fit your needs.
  • compression of images is done by running convert with these settings -strip -interlace Plane -gaussian-blur 0.05 -quality 85% , tinypng and compression are separate, so you can run both, either or neither, depending on the settings you choose.
Clone this wiki locally