Search found 18 matches

by jkaberg
11 Feb 2013, 21:42
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Actually I added some extras with FileBot for that: execute("C:\Program Files (x86)\Unlocker\Unlocker.exe", outputThis, "-s") Though I guess this point outputThis as not been created. Do you mean f instead? Also I think you mean this: outputThis = new File(_args.output, "${ut_label}/${ut_title}/${f...
by jkaberg
11 Feb 2013, 17:21
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Thanks red, I hope you would like to awnser one more :) So the file permission issue is still there but I've found a program which unlockes "locked" files So I made this but it dosnt work very well, maybe you could point me in the right direction? :) // process only media files files.findAll{ it.isV...
by jkaberg
06 Feb 2013, 15:29
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Ok so one more hehe, seems I cant bother you enough eh? :) After I downloaded a few movies to test it, I found myself in need of filtering out the "sample/trailer" media files as I dont want them and the script was hardlinking thoes when it had extracted a movie This is my attempt to fix it (by borr...
by jkaberg
06 Feb 2013, 14:12
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Thanks! Updated Couchpotato post accordingly

This will be very good for Couchpotato and torrents :)
by jkaberg
06 Feb 2013, 06:24
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Yeah there was one thing I would wish to add, did I get this right? I would like the script to quit if the label isnt movie or tv :) if (ut_label != 'movie' || ut_label != 'tv' ) { return null } eg full code // Author of this script is Rednoah at Filebot Forums, http://filebot.sourceforge.net // Usa...
by jkaberg
05 Feb 2013, 21:53
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Im sorry if I miss used your script rednoah, wasnt my intention to "void" anything. But my lack of knowledge in scripting got me to where I am with the "Fully automated media center script" (I've actully tried to do what you did with the script you posted one up) Anyhow I'll edit my post at couchpot...
by jkaberg
05 Feb 2013, 13:58
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Appreciate your help and knowledge rednoah! The hardlinking problem was related to uTorrent, resolved with setting diskio.flush_files to false in uTorrent (advanced settings) diskio.flush_files : Enabling this option causes µTorrent to close file handles every minute. It helps to reduce the effect o...
by jkaberg
05 Feb 2013, 10:33
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Thanks for pointing that out! Have now edited the clean function as following if (clean) { if ('COPY'.equalsIgnoreCase(_args.action) && extractedFiles?.size() > 0) { println 'Clean temporary extracted files' // delete extracted files extractedFiles.each{ if(it.isFile()) { println "Delete $it" it.del...
by jkaberg
05 Feb 2013, 08:23
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

But shouldnt the clean variable remove the extracted content from the "seeded" dir automaticly, atleast thats how I interpreted it --def clean=y Automatically empty folders and clutter files that may be left behind after moving the video files or temporary extracted files after copying If thats not ...
by jkaberg
04 Feb 2013, 20:41
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Re: Hardlinking with "Fully automated media center" script

Ok so I tried this Downloaded a torrent wich only contained a file (a series) with file ending .mkv (which got hardlinked), then I downloaded another series with a .rar set inside which ended up in extracting the series to <rarset dir><torrentname>/<torrentname>.mkv and then hardlinked that file Sho...
by jkaberg
04 Feb 2013, 20:29
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 8098

Hardlinking with "Fully automated media center" script

Noticed the script supports hardlinks, which would be very nice for me :) Using --action symlink|keeplink|hardlink requires at least Java 7 and (on Windows) also admin priviledges so you'll need to run µTorrent as admin But how does it work? Will it extract files that need extracting, and hardlink m...
by jkaberg
24 Jan 2013, 17:16
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 7965

Re: Fully Automated Media Center FAQ

It all came down to this little line,
-DuseNativeShell=true
Setting that to false fixed everything :-)
by jkaberg
24 Jan 2013, 10:53
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 7965

Re: Fully Automated Media Center FAQ

FALSE, didnt work. I have this in my uTorrent log, but none get executed (eg. no filebot.log, and no new files in "the new dirs", and no CMD window opens) [2013-01-24 11:21:13] Accepted launch|Type: auto Location: F:\Downloaded\Pramface.S02E03.720p.HDTV.x264-TLA.torrent [2013-01-24 11:23:37] Utfører...
by jkaberg
24 Jan 2013, 08:23
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 7965

Re: Fully Automated Media Center FAQ

It was actully the %K which was the problem, console said nothing and outputed nothing either which was wierd actully. But I've updated to uTorrent 3.3.2 and that solved it (the files get processed now). Anyhow another small problem of mine is, how can I make sure that "processed" movies/series end ...
by jkaberg
24 Jan 2013, 07:12
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 7965

Re: Fully Automated Media Center FAQ

I should be able to get console output like this, right? filebot -script fn:utorrent-postprocess --output "F:/Downloaded/_automated/_postprocess" --action copy --conflict override -non-strict --def "seriesFormat=tv/{fn}" "animeFormat=anime/{fn}" "movieFormat=movie/{fn}" subtitles=n artwork=n "ut_dir...
by jkaberg
23 Jan 2013, 19:07
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 7965

Re: Fully Automated Media Center FAQ

filebot -script fn:utorrent-postprocess --output "F:/Downloaded/_automated/_postprocess" --action copy --conflict override -non-strict --def "seriesFormat=tv/{fn}" "animeFormat=anime/{fn}" "movieFormat=movie/{fn}" subtitles=n artwork=n "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%...
by jkaberg
31 Dec 2012, 09:21
Forum: Scripting and Automation
Topic: Script to extract TV and Movies into diffrent dir?
Replies: 4
Views: 2944

Re: Script to extract TV and Movies into diffrent dir?

If u need movie/series separation you'll need the utorrent script but can use {fn} in the format to keep the original name. How would this look like then? Where to I apply {fn}? [code]filebot -script fn:utorrent-postprocess --output "F:/Downloaded/Torrents/Complete" --action copy --conflict overrid...
by jkaberg
30 Dec 2012, 20:24
Forum: Scripting and Automation
Topic: Script to extract TV and Movies into diffrent dir?
Replies: 4
Views: 2944

Script to extract TV and Movies into diffrent dir?

Yes I know about the "Fully automated home theater script" here, http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=215 But as im only looking for a script that unrars (the renaming will break my compability, and I dont need subs or fanarts) into diffrent dir depending on if its a movie or TV...