I was only just put onto FILEBOT and, oh man is this a nice program!
Background!
i need to get utorrent to run a command when teh file finishes and then file bot to do its thing.
I am running utorrent on a windows machine and then getting FB to do its thing and move it to a share on my NAS (UNRAID)
problems!
OK, when i was put onto FB i ran some tests and it worked very well.
Here is a simple test command that works, it creates the directory structure needed, copies the file and renames it like a dream.
Code: Select all
filebot -script fn:amc --output "//XXXXXX/videos/scratch area/new" --action copy -non-strict "\\XXXXXXX\torrent\Completed torrents\Almost.Human.S01E08.720p.HDTV.X264-DIMENSION" --def excludeList=amc.txt
Integrate with UT!
Some reading and bit of searching and i find the help section on UT integration.
I used the example script and had no end of problems.
More reading and a 64-bit version java later with several reboots and the code below does not work, but the one above does.
Code: Select all
filebot -script fn:amc --output "\\XXXXXX\video\scratch area\New" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_label=" "ut_state=5" "ut_title=Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264" "ut_kind=multi" "ut_file=Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.mkv" "ut_dir=T:\Completed torrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264"
(The code is copied from a dos window, so it is all one line for the command, but displays wrong)
Code: Select all
filebot -script fn:amc --output "\\XXXXXX\video\scratch are
a\New" --log-file amc.log --action copy --conflict override -non-strict --def m
usic=y subtitles=en artwork=y "ut_label=" "ut_state=5" "ut_title=Continuum.S02E0
7.Second.Degree.720p.WEB-DL.AAC2.0.H264" "ut_kind=multi" "ut_file=Continuum.S02E
07.Second.Degree.720p.WEB-DL.AAC2.0.H264.mkv" "ut_dir=T:\Completed torrents\Cont
inuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264"
Locking C:\Users\Chris\AppData\Roaming\FileBot\logs\amc.log
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label =
Parameter: ut_state = 5
Parameter: ut_title = Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264
Parameter: ut_kind = multi
Parameter: ut_file = Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.mkv
Parameter: ut_dir = T:\Completed torrents\Continuum.S02E07.Second.Degree.720p.WE
B-DL.AAC2.0.H264
Input: T:\Completed torrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H
264\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.eng.srt
Input: T:\Completed torrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H
264\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.mkv
Group: [tvs:Continuum] => [Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H26
4.eng.srt, Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.mkv]
No missing subtitles
Rename episodes using [TheTVDB]
Auto-detected query: [Continuum]
Fetching episode data for [Continuum]
Fetching episode data for [Continuum (SyFy)]
Resource not found: http://thetvdb.com/api/58B4AA94C59AD656/series/272518/all/en
.xml
Fetching episode data for [Continuum (Web Series)]
Auto-detected query: [Continuum]
Fetching episode data for [Continuum]
Fetching episode data for [Continuum (SyFy)]
Resource not found: http://thetvdb.com/api/58B4AA94C59AD656/series/272518/all/en
.xml
Fetching episode data for [Continuum (Web Series)]
Jan 24, 2014 11:23:58 AM net.sourceforge.filebot.media.MediaDetection storeMetaI
nfo
WARNING: Failed to set xattr: java.nio.file.NoSuchFileException: T:\Completed to
rrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264\Continuum.S02E07.S
econd.Degree.720p.WEB-DL.AAC2.0.H264.eng.srt:metadata
Jan 24, 2014 11:23:58 AM net.sourceforge.filebot.media.MediaDetection storeMetaI
nfo
WARNING: Failed to set xattr: java.nio.file.NoSuchFileException: T:\Completed to
rrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264\Continuum.S02E07.S
econd.Degree.720p.WEB-DL.AAC2.0.H264.mkv:metadata
[COPY] Rename [T:\Completed torrents\Continuum.S02E07.Second.Degree.720p.WEB-DL.
AAC2.0.H264\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.eng.srt] to [
\\XXXXXX\video\scratch area\New\TV Shows\Continuum\Season 02\Continuum - S0
2E07 - Second Degree.eng.srt]
[COPY] Failed to rename [T:\Completed torrents\Continuum.S02E07.Second.Degree.72
0p.WEB-DL.AAC2.0.H264\Continuum.S02E07.Second.Degree.720p.WEB-DL.AAC2.0.H264.eng
.srt]
IOException: Failed to create folder: \\XXXXXX\video\scratch area\New\TV Sh
ows\Continuum\Season 02
Done Òâ¥(´╝áÔîÆÒâ╝ÔîÆ´╝á)ÒâÄ
There are two problems:-
1> it is failing to create the folder.
2> "WARNING: Failed to set xattr: java.nio.file.NoSuchFileException:"
but that is in the one that works. I tried searching for both problems but came up with nothing that i could see that would help.
Any ideas please?
CHris