Hi,
I installed new hard drives in my NAS and have copy all downloads back to the new drive in /share/Rdownload/downloads/{label}. I want all these files to be hard-linked to medialibrary. Some of these files i am no longer seeding anywhere and even ones i am dont always copy to complete or medialibrary.
I tried using:
/usr/bin/rtorrent/bin/filebot-postprocess.sh [path_to__download_dir] but i get a permission denied error. Here is the full error:
I do not have any TV shows in my movie folder so not sure why the last line is appearing.
I assume the filebot-postprocess.sh script only scans complete, not downloads? What is the best way to hard-link all these files to complete and then get the permissions error sorted?
Firmware version: 4.4.1.1117 Build 20191109
Model name: QNAP TS-253 Pro
I sorted this. I disabled my admin account and created a new one with a different name for security reasons. Enabling the default admin account and running this again works.
My question now is how do i modify how folders/files are detected, most of my downloads have done into "Unsorted". I've tried understanding the postprocess script and reading on the filebot forums but i dont really understand it, i dont know where to add any of the expressions
I installed new hard drives in my NAS and have copy all downloads back to the new drive in /share/Rdownload/downloads/{label}. I want all these files to be hard-linked to medialibrary. Some of these files i am no longer seeding anywhere and even ones i am dont always copy to complete or medialibrary.
I tried using:
/usr/bin/rtorrent/bin/filebot-postprocess.sh [path_to__download_dir] but i get a permission denied error. Here is the full error:
Kod:
------------------------------------------------------------------------------
(medialibrary-postprocess) PID: 16215; (parent:15039)
---------------------------------------------------------- || Hello World! ---
touch: /share/Rdownload/logs/medialib.log: Permission denied
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 237: /share/Rdownload/logs/medialib.log: Permission denied
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 238: /share/Rdownload/logs/medialib.log: Permission denied
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 239: /share/Rdownload/logs/medialib.log: Permission denied
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 240: /share/Rdownload/logs/medialib.log: Permission denied
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 263: /share/Rdownload/logs/medialib.log: Permission denied
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:17)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:19)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:21)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:23)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
Error during startup
java.lang.ExceptionInInitializerError
at net.filebot.Main.main(Main.java:115)
Caused by: net.sf.ehcache.CacheException: java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.CacheManager.<init>(CacheManager.java:36)
at net.filebot.CacheManager.<clinit>(CacheManager.java:22)
... 1 more
Caused by: java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.util.FileUtilities.createFolders(FileUtilities.java:191)
at net.filebot.CacheManager.acquireDiskStore(CacheManager.java:86)
at net.filebot.CacheManager.<init>(CacheManager.java:33)
... 2 more
LIC FOUND
try_fix_kodi_tv_shows enabled
Will extract archives content in movie, tv, 4k, kids, xxx and etc but will not delete content
/usr/bin/rtorrent/bin/filebot-postprocess.sh: line 392: /share/Rdownload/logs/medialib.log: Permission denied
tee: /share/Rdownload/logs/medialib.log: Permission denied
20191124_094920 - STEP [ 7/xx] - postrun - (exec)
# /usr/bin/rtorrent/bin/filebot -script fn:amc --action hardlink --def artwork=y --def extras=y --def backdrops=y --def music=y --def tmdbTV=y --def nfoOnly=n --lang en --output /share/CACHEDEV1_DATA/Rdownload/medialibrary -mediainfo --encoding UTF-8 -non-strict --conflict override --def clean=y --def unsorted=y --log-file /share/Rdownload/logs/medialib.log --def excludeList=/share/Rdownload/settings/filebot/amc.txt --def deleteAfterExtract=n --def subtitles=en --def plex=192.168.1.2:32400 --def emby=192.168.1.2:c2a9e7ff371c4c89b2e31411101d546a
ut_dir="/share/CACHEDEV1_DATA/Rdownload/downloads/movie" ut_kind=multi ut_title="" ut_label="movie"
------------------------------------------------------------------------------
(filebot) PID: 16334; (parent:16215)
---------------------------------------------------------- || Hello World! ---
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:17)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:19)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:21)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
java.nio.file.AccessDeniedException: /share/CACHEDEV1_DATA/.qpkg/rtorrent/filebot/data/username
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:23)
at net.filebot.Main.initializeSystemProperties(Main.java:405)
at net.filebot.Main.main(Main.java:111)
Error during startup
java.nio.file.AccessDeniedException: /share/Rdownload/logs/medialib.log
at net.filebot.Logging.createLogFileHandler(Logging.java:69)
at net.filebot.Main.initializeLogging(Main.java:455)
at net.filebot.Main.main(Main.java:112)
find: /share/CACHEDEV1_DATA/Rdownload/medialibrary/TV Shows/: No such file or directory
I assume the filebot-postprocess.sh script only scans complete, not downloads? What is the best way to hard-link all these files to complete and then get the permissions error sorted?
Firmware version: 4.4.1.1117 Build 20191109
Model name: QNAP TS-253 Pro
I sorted this. I disabled my admin account and created a new one with a different name for security reasons. Enabling the default admin account and running this again works.
My question now is how do i modify how folders/files are detected, most of my downloads have done into "Unsorted". I've tried understanding the postprocess script and reading on the filebot forums but i dont really understand it, i dont know where to add any of the expressions