Script for JD an Filebot XXX Content
Posted: 22 May 2019, 12:04
Hello together,
i have a running script, but i miss one option in my script for adult content. The most titles for adult content includes "XXX" . How can i move Content with includes XXX i the title to my XXX Folder? Can anyone Help me Please
This is my Script
i have a running script, but i miss one option in my script for adult content. The most titles for adult content includes "XXX" . How can i move Content with includes XXX i the title to my XXX Folder? Can anyone Help me Please
This is my Script
Code: Select all
#!/bin/sh
##FileBot benötigt diese Variablen
LOG="/volume1/amc.log"
EXC="/volume1/amc.txt"
SERIEN="/volume1/Video/Serien/{n}/{s}/{n}.{s00e00} - {t} ({y}) {vf}"
FILME="/volume1/Video/Filme/{n} ({y}) {source}({vf}@{vc}) [{rating}]/{n} ({y}) {source}({vf}@{vc}) [{rating}]"
UNSORTIERT="/volume1/Video/Unsortiert/{file.structurePathTail}" ### Wenn Filebot mal etwas nicht zuordnen kann, dann kannst du es in einen seperaten Ordner verschieben lassen, dann bleibt es im Downloadordner Übersichtlich.
##FileBot ausführen
/var/packages/filebot/target/filebot.sh -script fn:amc --lang de --log-file $LOG --action move "$1" --def "seriesFormat=$SERIEN" "movieFormat=$FILME" "animeFormat=$ANIME" "unsortedFormat=$UNSORTIERT" -non-strict --def unsorted=y "artwork=y" --def "clean=y" "skipExtract=y" "excludeList=/volume1/Video/.excludes" "exec=/usr/syno/bin/synoindex -R video"
##OpenSubtitles downloaden
/var/packages/filebot/target/filebot.sh -script fn:suball /volume1/Video/ --lang de -non-strict --def maxAgeDays=7
## Aufräumen, --def root löscht den Unterordner mit
/var/packages/filebot/target/filebot.sh -script fn:cleaner "$1" --def root=y