if not possible its possible to call script on every file proceeded by filebox amc. how to rename only those to files for 2 letter lang.
Code: Select all
#!/bin/bash
export JAVA_OPTS=`free | awk -vm=1024 -vp=0.7 '/Mem:/ {printf "-Xmx%dm", ($2*p)/m; exit}'` # set -Xmx to 0.7 of physical memory
/share/CACHEDEV1_DATA/.qpkg/filebot/bin/filebot.sh -script fn:amc "/share/CACHEDEV1_DATA/Download/transmission/completed" --output "/share/CACHEDEV1_DATA/Download" --log-file amc.log --action copy --conflict override -non-strict --lang en --def minFileSize=50000000 artwork=y "subtitles=pl,en" plex=192.168.1.197:xxxxxxx [email protected]:xxxx [email protected] "excludeList=filebot_processed_files.txt" "musicFormat=Music/{n}/{t}" "seriesFormat=Series/{n}/Season {s.pad(2)}/{n} {s00e00} - {t}{subt}" "movieFormat=Movies/{n} ({y}) [{vf}, {ac}, {af}]/{n} ({y}){subt}"
chmod -R 777 /share/CACHEDEV1_DATA/Download/Movies/
chmod -R 777 /share/CACHEDEV1_DATA/Download/Series/
plese help