Can I combine utorrent w/"Store files on multiple drive"
Posted: 27 Jan 2013, 19:35
Hello everyone,
I have been successful with using the utorrent script manually like below
This did a great job extracting the season of Parks and Recreation and putting them in the correct season folders. I have multiple drives and it is a pain to make sure that there is enough room across them as well as put new downloads in the correct place so I found the "Store files on multiple drives" script.
I tried to combine them replacing the letter drives with absolute paths
But this didn't work. I ran it on the same folder as before but added in other shows that were on the same drive, on another drive and 1 show that I have never had before. I wanted to see if it would put the shows on the same drives together and then also if it would see which drive had the most space and put the new show not in my collection on to the drive with the most space. I tried to output it to a file, but didn't get this to work so I am posting the text from the CLI window (sorry I know this is bad form )
Is there a way to put these to things together. This would be a VERY powerful script.
Thank you very much
-S
I have been successful with using the utorrent script manually like below
Code: Select all
filebot -script fn:utorrent-postprocess "\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR" --def "seriesFormat=\\TITANSERVER\3media.2tb\TV Shows 1\{n}\{n} Season {s.pad(2)}\{n}.{s00e00}.{t}.{fn.match(/WEB/)}.{source}.{vf}.{vc}.{ac}" --action copy --conflict skip -non-strict
Code: Select all
{["C:", "D:", "E:"].collect{"$it/TV/$n" as File}.sort{a,b -> a.exists() <=> b.exists() ?: a.root.freeSpace <=> b.root.freeSpace}.last()}/{episode}
Code: Select all
filebot -script fn:utorrent-postprocess "\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR" --def "seriesFormat={["\\TITANSERVER\3media.2tb\TV Shows 1\", "\\TITANSERVER\1media.3tb\TV Shows 3\", "\\TITANSERVER\4media.2tb\TV Shows 2"].collect{"$it/TV/$n" as File}.sort{a,b -> a.exists() <=> b.exists() ?: a.root.freeSpace <=> b.root.freeSpace}.last()}/{episode}\{n}\{n} Season {s.pad(2)}\{n}.{s00e00}.{t}{.fn.match(/WEB/)}{.source}{.vf}{.vc}{.ac}" --action copy --conflict skip -non-strict
Code: Select all
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>filebot -script fn:utorrent-postprocess "\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR" --def "seriesFormat={["\\TITANSERVER\
3media.2tb\TV Shows 1\", "\\TITANSERVER\1media.3tb\TV Shows 3\", "\\TITANSERVER\4media.2tb\TV Shows 2"].collect{"$it/TV/$n" as File}.sort{a,b -> a.exists() <=>
b.exists() ?: a.root.freeSpace <=> b.root.freeSpace}.last()}/{episode}\{n}\{n} Season {s.pad(2)}\{n}.{s00e00}.{t}{.fn.match(/WEB/)}{.source}{.vf}{.vc}{.ac}" --a
ction copy --conflict skip -non-strict >> "\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR" 2>&1
Access is denied.
C:\Windows\system32>filebot -script fn:utorrent-postprocess "\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR" --def "seriesFormat={["\\TITANSERVER\
3media.2tb\TV Shows 1\", "\\TITANSERVER\1media.3tb\TV Shows 3\", "\\TITANSERVER\4media.2tb\TV Shows 2"].collect{"$it/TV/$n" as File}.sort{a,b -> a.exists() <=>
b.exists() ?: a.root.freeSpace <=> b.root.freeSpace}.last()}/{episode}\{n}\{n} Season {s.pad(2)}\{n}.{s00e00}.{t}{.fn.match(/WEB/)}{.source}{.vf}{.vc}{.ac}" --a
ction copy --conflict skip -non-strict
Jan 27, 2013 11:09:54 AM net.sourceforge.filebot.cli.ArgumentBean getFiles
WARNING: Invalid argument
Parameter: seriesFormat = {[\\TITANSERVER\3media.2tb\TV
Argument: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR
Argument: C:\Windows\System32\Shows
Argument: C:\Windows\System32\1",
Argument: \\TITANSERVER\1media.3tb\TV Shows 3", \TITANSERVER\4media.2tb\TV
Argument: C:\Windows\System32\Shows
Argument: C:\Windows\system32\2].collect{$it\TV\$n as File}.sort{a,b -> a.exists() <=> b.exists() ?: a.root.freeSpace <=> b.root.freeSpace}.last()}\{episode}\{n
}\{n} Season {s.pad(2)}\{n}.{s00e00}.{t}{.fn.match(\WEB\)}{.source}{.vf}{.vc}{.ac}
Read archive [tommys.place.504.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E04.720p.HDTV.X264-D
IMENSION\tommys.place.504.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E04.720p.HDTV.X264-DIMENSION\tommys.place.504.720p-dimens
ion\Parks.and.Recreation.S05E04.720p.HDTV.X264-DIMENSION.mkv]
Read archive [tommys.place.505.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E05.720p.HDTV.X264-D
IMENSION\tommys.place.505.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E05.720p.HDTV.X264-DIMENSION\tommys.place.505.720p-dimens
ion\Parks.and.Recreation.S05E05.720p.HDTV.X264-DIMENSION.mkv]
Read archive [tommys.place.506.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E06.720p.HDTV.X264-D
IMENSION\tommys.place.506.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E06.720p.HDTV.X264-DIMENSION\tommys.place.506.720p-dimens
ion\Parks.and.Recreation.S05E06.720p.HDTV.X264-DIMENSION.mkv]
Read archive [tommys.place.507.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E07.720p.HDTV.X264-D
IMENSION\tommys.place.507.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E07.720p.HDTV.X264-DIMENSION\tommys.place.507.720p-dimens
ion\Parks.and.Recreation.S05E07.720p.HDTV.X264-DIMENSION.mkv]
Read archive [parks.and.recreation.509.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E09.720p.HDT
V.X264-DIMENSION\parks.and.recreation.509.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E09.720p.HDTV.X264-DIMENSION\parks.and.recreation.509.720
p-dimension\Parks.and.Recreation.S05E09.720p.HDTV.X264-DIMENSION.mkv]
Read archive [tommys.place.510.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E10.720p.HDTV.X264-D
IMENSION\tommys.place.510.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E10.720p.HDTV.X264-DIMENSION\tommys.place.510.720p-dimens
ion\Parks.and.Recreation.S05E10.720p.HDTV.X264-DIMENSION.mkv]
Read archive [wheres.john.ralphio.511.720p-dimension.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E11.720p.HDTV
.X264-DIMENSION\wheres.john.ralphio.511.720p-dimension]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E11.720p.HDTV.X264-DIMENSION\wheres.john.ralphio.511.720p
-dimension\Parks.and.Recreation.S05E11.720p.HDTV.X264-DIMENSION.mkv]
Read archive [star.wars.the.clone.wars.514.720p.hdtv.x264-sys.rar] to [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\[SpeedCD] - Star.Wars.The.Cl
one.Wars.S05E14.720p.HDTV.x264-SYS\star.wars.the.clone.wars.514.720p.hdtv.x264-sys]
Extracting files [\\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\[SpeedCD] - Star.Wars.The.Clone.Wars.S05E14.720p.HDTV.x264-SYS\star.wars.the.clon
e.wars.514.720p.hdtv.x264-sys\star.wars.the.clone.wars.514.720p.hdtv.x264-sys.mkv]
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Archer S04E01 720p Web-Dl mRS.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Archer S04E02 720p Web-Dl mRS.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Archer.2009.S04E01.720p.HDTV.x264-IMMERSE [PublicHD]\Archer.2009.S04E01.720p.HDTV.x264-IMMER
SE.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Archer.2009.S04E01.720p.HDTV.x264-IMMERSE.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Archer.2009.S04E02.720p.HDTV.x264-EVOLVE [PublicHD]\Archer.2009.S04E02.720p.HDTV.x264-EVOLVE
.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks and Recreation S05E08 720p HDTV X264-DIMENSION [PublicHD]\Parks.and.Recreation.S05E08.
720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks and Recreation.S05E01.Ms. Knope Goes To Washington (x264).WEB.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks and Recreation.S05E02.Soda Tax (x264).mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks and Recreation.S05E03.How a Bill Becomes a Law (x264).mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E04.720p.HDTV.X264-DIMENSION\tommys.place.504.720p-dimension\Parks.a
nd.Recreation.S05E04.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E05.720p.HDTV.X264-DIMENSION\tommys.place.505.720p-dimension\Parks.a
nd.Recreation.S05E05.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E06.720p.HDTV.X264-DIMENSION\tommys.place.506.720p-dimension\Parks.a
nd.Recreation.S05E06.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E07.720p.HDTV.X264-DIMENSION\tommys.place.507.720p-dimension\Parks.a
nd.Recreation.S05E07.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E09.720p.HDTV.X264-DIMENSION\parks.and.recreation.509.720p-dimension
\Parks.and.Recreation.S05E09.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E10.720p.HDTV.X264-DIMENSION\tommys.place.510.720p-dimension\Parks.a
nd.Recreation.S05E10.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\Parks.and.Recreation.S05E11.720p.HDTV.X264-DIMENSION\wheres.john.ralphio.511.720p-dimension\
Parks.and.Recreation.S05E11.720p.HDTV.X264-DIMENSION.mkv
Input: \\TITANSERVER\3media.2tb\TV Shows 1\Parks and Recreation\PAR\[SpeedCD] - Star.Wars.The.Clone.Wars.S05E14.720p.HDTV.x264-SYS\star.wars.the.clone.wars.514.
720p.hdtv.x264-sys\star.wars.the.clone.wars.514.720p.hdtv.x264-sys.mkv
star.wars.the.clone.wars.514.720p.hdtv.x264-sys.mkv [series: Star Wars The Clone Wars, movie: Star Wars: The Clone Wars (2008)]
Exclude Movie: Star Wars: The Clone Wars (2008)
Group: [tvs:Parks and Recreation] => [Archer S04E01 720p Web-Dl mRS.mkv, Archer S04E02 720p Web-Dl mRS.mkv, Archer.2009.S04E01.720p.HDTV.x264-IMMERSE.mkv, Parks
.and.Recreation.S05E08.720p.HDTV.X264-DIMENSION.mkv, Parks and Recreation.S05E01.Ms. Knope Goes To Washington (x264).WEB.mkv, Parks and Recreation.S05E02.Soda T
ax (x264).mkv, Parks and Recreation.S05E03.How a Bill Becomes a Law (x264).mkv, Parks.and.Recreation.S05E04.720p.HDTV.X264-DIMENSION.mkv, Parks.and.Recreation.S
05E05.720p.HDTV.X264-DIMENSION.mkv, Parks.and.Recreation.S05E06.720p.HDTV.X264-DIMENSION.mkv, Parks.and.Recreation.S05E07.720p.HDTV.X264-DIMENSION.mkv, Parks.an
d.Recreation.S05E09.720p.HDTV.X264-DIMENSION.mkv, Parks.and.Recreation.S05E10.720p.HDTV.X264-DIMENSION.mkv, Parks.and.Recreation.S05E11.720p.HDTV.X264-DIMENSION
.mkv]
Group: [tvs:Archer 2009] => [Archer.2009.S04E01.720p.HDTV.x264-IMMERSE.mkv, Archer.2009.S04E02.720p.HDTV.x264-EVOLVE.mkv]
Group: [tvs:Star Wars The Clone Wars, mov:null, anime:null] => [star.wars.the.clone.wars.514.720p.hdtv.x264-sys.mkv]
ScriptException: SyntaxError: missing token: }
ScriptException: SyntaxError: missing token: }
ScriptException: SyntaxError: missing token: }
Done ?(?????)?
C:\Windows\system32>
Thank you very much
-S