I'm running filebot using the AMC script to sort movies, series and move the file to the proper folder. Since I added a new NAS to my network I modified my script to move the file on the drive with the most space available.
However the script is failing to move the newly downloaded files to the new drive even if the user running the script is able to complete a cp and a mv command
My command line is:
Code: Select all
/usr/local/share/filebot/filebot.sh -script fn:amc "/mnt/wh13.public/WWW/Seeded/" \
--output "/mnt/wh13.public/Shared Videos/" -non-strict --def\
"seriesFormat={[\"/mnt/wh13.public\", \"/mnt/cornucopia.public\"].collect{\"\$it/Shared Videos/Serie TV/\$n\" as File}.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{\"Season \"+s}/{n} - {s00e00} - {t}"\
"movieFormat={[\"/mnt/wh13.public\", \"/mnt/cornucopia.public\"].collect{\"\$it/Shared Videos/Film/Lingua Originale/${collection}\" as File}.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{n} ({y})/{fn}"\
"animeFormat=Anime/{n}{\"/Season \"+s.pad(3)}/{fn}"\
"clean=y"\
"excludeList=/usr/local/share/filebot/userdata/amc-input.txt"\
--log-file /usr/local/share/filebot/userdata/run.log
Code: Select all
Run script [fn:amc] at [Sat May 23 18:18:11 CEST 2015]
Parameter: seriesFormat = {["/mnt/wh13.public", "/mnt/cornucopia.public"].collect{"$it/Shared Videos/Serie TV/$n" as File}.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{"Season "+s}/{n} - {s00e00} - {t}
Parameter: movieFormat = {["/mnt/wh13.public", "/mnt/cornucopia.public"].collect{"$it/Shared Videos/Film/Lingua Originale/" as File}.sort{ a, b -> a.exists() <=> b.exists() ?: a.diskSpace <=> b.diskSpace }.last()}/{n} ({y})/{fn}
Parameter: animeFormat = Anime/{n}{"/Season "+s.pad(3)}/{fn}
Parameter: gmail = *****
Parameter: mailto = *****
Parameter: xbmc = 192.168.1.250
Parameter: clean = y
Parameter: excludeList = /usr/local/share/filebot/userdata/amc-input.txt
Argument: /mnt/wh13.public/WWW/Seeded
Using excludes: /usr/local/share/filebot/userdata/amc-input.txt (5543)
SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
Input: /mnt/wh13.public/WWW/Seeded/Marvels Daredevil S01 WEBRip x264-MiXED[ettv]/marvels.daredevil.s01e01.webrip.x264-2hd.mp4
Group: [tvs:marvels daredevil] => [marvels.daredevil.s01e01.webrip.x264-2hd.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [marvels daredevil]
Fetching episode data for [Marvel's Daredevil]
[MOVE] Rename [/mnt/wh13.public/WWW/Seeded/Marvels Daredevil S01 WEBRip x264-MiXED[ettv]/marvels.daredevil.s01e01.webrip.x264-2hd.mp4] to [/mnt/cornucopia.public/Shared Videos/Serie TV/Marvel's Daredevil/Season 1/Marvel's Daredevil - S01E01 - Into the Ring.mp4]
[MOVE] Failed to rename [/mnt/wh13.public/WWW/Seeded/Marvels Daredevil S01 WEBRip x264-MiXED[ettv]/marvels.daredevil.s01e01.webrip.x264-2hd.mp4]
FileSystemException: /mnt/cornucopia.public/Shared Videos/Serie TV/Marvel's Daredevil/Season 1/Marvel's Daredevil - S01E01 - Into the Ring.mp4: Operation not permitted
Clean clutter files and empty folders
Finished without processing any files
Failure (°_°)
Filebot sysinfo:mv /mnt/wh13.public/WWW/Seeded/Marvels\ Daredevil\ S01\ WEBRip\ x264-MiXED\[ettv\]/marvels.daredevil.s01e01.webrip.x264-2hd.mp4 /mnt/cornucopia.public/Shared\ Videos/Serie\ TV/Marvel\'s\ Daredevil/Season\ 1/Marvel\'s\ Daredevil\ -\ S01E01\ Into\ the\ Ring.mp4
mv: preserving times for ‘/mnt/cornucopia.public/Shared Videos/Serie TV/Marvel's Daredevil/Season 1/Marvel's Daredevil - S01E01 Into the Ring.mp4’: Operation not permitted
mv: preserving permissions for ‘/mnt/cornucopia.public/Shared Videos/Serie TV/Marvel's Daredevil/Season 1/Marvel's Daredevil - S01E01 Into the Ring.mp4’: Operation not permitted
Code: Select all
FileBot 4.5.7 (r3000)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.67
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: fpcalc version 1.1.0 (fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
uname: Linux odroid 3.8.13.26 #1 SMP PREEMPT Thu Jul 24 22:27:56 UTC 2014 armv7l armv7l armv7l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Thanks and regards