1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-DecodeAll synced 2024-05-16 23:14:06 +02:00
OTR-DecodeAll/config

48 lines
1.9 KiB
Plaintext
Raw Normal View History

2014-08-06 18:31:44 +02:00
##########
# Config #
##########
function funcConfigPre { # These values are set at the beginning of the script
user="" # OTR email address
pass="" # OTR password
2014-08-06 18:31:44 +02:00
delugeDir="/etc/deluged" # Config dir of DelugeD
inDir="/Multimedia/Video/.Downloaded" # Dir with .otrkeys
uncutDir="/Multimedia/Video/.Uncut" # Dir with uncut videos (output of decoder)
cutDir="/Multimedia/Video/.Uncut" # Dir with cut videos (output of cutter)
outDir="/Multimedia/Video/" # Final dir with videos
2014-08-06 18:31:44 +02:00
torrentDb="/home/deluged/torrents.db" # File with file names and labels (see at github: OTR-TorrentDb)
2015-02-24 15:14:08 +01:00
xbmcUrl="user:password@localhost:8080" # Specify user, password and port for Kodi JSON API (HTTP interface)
2014-08-06 18:31:44 +02:00
logFile="/home/deluged/otrDecodeAll.log" # path to the log file
# log levels: 0=off; 1=error; 2=warn; 3=info; 4 debug; 5 verbose debug
logLevel=2 #level, which messages shall be written into the log.
echoLevel=5 #level, which messages shall be written to stdout.
}
2014-08-06 18:31:44 +02:00
# These values are set after the command line arguments were parsed.
# This way they can't be overridden, but can use the final config variables
function funcConfigPost {
cmdDecode="/usr/bin/otrtool" # path to otrkey decoder
2015-02-24 17:24:12 +01:00
cmdDecodeArgs="-x -e $user -p $pass -D $uncutDir" # for pyropeters otrdecoder
#cmdDecode="/home/pi/bin/qemu-x86_64 -L /home/pi/ /home/pi/bin64/otrdecoder-64"
#cmdDecodeArgs="-e $user -p $pass -o "$uncutDir" -i" # for original otrdecoder
2015-02-24 17:24:12 +01:00
#cmdDecode="/usr/bin/otrpidecoder" # path to NYrks otrdecoder
#cmdDecodeArgs="-d -e $user -p $pass"
#uncutDir="$inDir" # no output dir supported!
cmdCut="/home/deluged/multicutmkv.sh" # path to multicut
cmdCutArgs=
2015-02-24 17:24:12 +01:00
cmdSaneRenamix="/home/deluged/saneRenamix.sh" # path to saneRenamix
cmdSaneRenamixArgs="-s -f"
}