Search found 22923 matches

by rednoah
02 Jan 2014, 15:00
Forum: Tips, Tricks and Tutorials
Topic: [Windows] Context Menu w/ Folder Watcher+Scripts Pack [1.8]
Replies: 168
Views: 413098

Re: [Windows] Advanced Explorer Context Menu (GitHub Integra

HOW DID YOU DO THE SUB MENUS !?!?!? I could never figure that out, I thought for that I'll need implement some C# interfaces. EDIT: btw if you maintain these scripts on GitHub you can directly execute from there so people don't need to download anything: filebot -script https://raw.github.com/Capri...
by rednoah
02 Jan 2014, 10:53
Forum: Feature Requests and Bug Reports
Topic: Subtitles
Replies: 16
Views: 12188

Re: Subtitles

1. {fn.match(/forced/)} If the fn contains 'forced' it will work. I tried, and it works just fine. It can't not. It's literally what the code does. You probably get a warning since you haven't set your sample file for testing to a path that actually contains that 'forced' tag. You're testing 'What i...
by rednoah
02 Jan 2014, 04:46
Forum: Feature Requests and Bug Reports
Topic: Exponential delays when subtitle-searching multiple folders
Replies: 18
Views: 14997

Re: Exponential delays when subtitle-searching multiple fold

It's probably easier if you make a single .bat file that calls make both of these filebot calls. This should be as easy as just calling two commands but cmd is always troublesome.
by rednoah
02 Jan 2014, 04:42
Forum: Feature Requests and Bug Reports
Topic: UNCUT, EXTENDED, DIRECTORS CUT
Replies: 23
Views: 17732

Re: UNCUT, EXTENDED, DIRECTORS CUT

You can use . which is wildcard for any character:

Code: Select all

directors.cut
by rednoah
02 Jan 2014, 01:55
Forum: Scripting and Automation
Topic: The adventure of CLI, context menus, and stupid characters
Replies: 11
Views: 7467

Re: The adventure of CLI, context menus, and stupid characte

haha, there was some /$ and $/ in the code that mess it up even with dollar slashy! :D

OK, last resort, make a text file with your format:

Code: Select all

def format = new File('path/to/format.txt').getText()
by rednoah
02 Jan 2014, 01:26
Forum: Scripting and Automation
Topic: The adventure of CLI, context menus, and stupid characters
Replies: 11
Views: 7467

Re: The adventure of CLI, context menus, and stupid characte

haha, backslashes need to bestring escaped, but at least at this point you only need to replace \ with \\


Try the Dollar Slashy $/.../$:

Code: Select all

def format = $/dollar\slashy/is\the/shizzle/$
http://mrhaki.blogspot.tw/2011/04/groov ... lashy.html
by rednoah
02 Jan 2014, 00:28
Forum: Feature Requests and Bug Reports
Topic: Exponential delays when subtitle-searching multiple folders
Replies: 18
Views: 14997

Re: Exponential delays when subtitle-searching multiple fold

Nope, for that would completely break the -get-missing-subtitles feature.

But for scripting it's not really important, if you can call one script to grab subs, you might as well call another to remove the language tags, if you really need to.
by rednoah
02 Jan 2014, 00:23
Forum: Scripting and Automation
Topic: The adventure of CLI, context menus, and stupid characters
Replies: 11
Views: 7467

Re: The adventure of CLI, context menus, and stupid characte

That's why my context menu samples don't pass in a format, it's crazy!! Here's what I'd do: Ignore cmd as much as possible, and do everything in Groovy: rename1.groovy def input = args[0].isDirectory() ? args[0].listFiles() : args[0] def format = '''/tripple/quotes/are/the/shizzle''' rename(file:inp...
by rednoah
01 Jan 2014, 19:17
Forum: Feature Requests and Bug Reports
Topic: UNCUT, EXTENDED, DIRECTORS CUT
Replies: 23
Views: 17732

Re: UNCUT, EXTENDED, DIRECTORS CUT

Code: Select all

{file.path.match(/uncut/)}
by rednoah
01 Jan 2014, 12:55
Forum: Scripting and Automation
Topic: AMC doesn't work at all
Replies: 7
Views: 4622

Re: AMC doesn't work at all

It's always the same. :P
by rednoah
01 Jan 2014, 12:26
Forum: Feature Requests and Bug Reports
Topic: Exponential delays when subtitle-searching multiple folders
Replies: 18
Views: 14997

Re: Exponential delays when subtitle-searching multiple fold

Send me a list of file paths and I'll try myself.
by rednoah
01 Jan 2014, 11:36
Forum: Help and Support
Topic: Artwork from file path when using content menus
Replies: 2
Views: 1942

Re: Artwork from file path when using content menus

Sorry, the script doesn't support that. It starts by finding folders/subfolders and that doesn't work if the root is a file already.
by rednoah
01 Jan 2014, 09:56
Forum: Feature Requests and Bug Reports
Topic: Exponential delays when subtitle-searching multiple folders
Replies: 18
Views: 14997

Re: Exponential delays when subtitle-searching multiple fold

Mmhhh... that may potentially be the case since i started using my matching logic for file/subtitle matches as well. I guess I should do some per-folder clustering before throwing everything into the Matcher.

Try r1961.
by rednoah
01 Jan 2014, 09:43
Forum: Feature Requests and Bug Reports
Topic: Wishlist for New Features and Scripts
Replies: 108
Views: 79148

Re: Wishlist for New Features and Scripts

Yep, plus technically scraping their page is equal to stealing their data, and I don't quite feel like an enabler for this (not that I couldn't do it in a few hours :twisted:) I'm pretty sure no one of addic7ed.com will ever official allow and encourage anyone to scrape their data. Until they do so ...
by rednoah
01 Jan 2014, 09:32
Forum: Anything and Everything else
Topic: What is a Power² User?
Replies: 7
Views: 8643

Re: What is a Power² User?

A Power User that has distinguished himself from the other Power Users. :lol:

There is only one, but I'm not saying there can only be one :P

PS: that reminds me, wanna be Moderator?
by rednoah
01 Jan 2014, 08:53
Forum: Scripting and Automation
Topic: AMC doesn't work at all
Replies: 7
Views: 4622

Re: AMC doesn't work at all

By "doesn't work" what DO you mean? (I'm inclined not to reply at this point) What command are you executing? Did you change my sample cmdline? If so, why not post it here? Did you read the trouble shooting notes? Did you check the utorrent logger tab? If so, why not post it here? Did you...
by rednoah
31 Dec 2013, 21:25
Forum: Scripting and Automation
Topic: automation with uTorrent
Replies: 7
Views: 4528

Re: automation with uTorrent

--def excludeList=amc-input.txt Keep a list of previously processed files to be ignored in future runs (if you run this script on the same files repeatedly you must enable this option)

You MUST set this if you just call filebot on a fixed folder all the time.
by rednoah
31 Dec 2013, 07:57
Forum: Help and Support
Topic: Newbie, need help with rename/moving scheme
Replies: 2
Views: 1802

Re: Newbie, need help with rename/moving scheme

Use the GUI, it'll be easier for you. There's the Format Editor where you can set the Movie Format Expression as you like. The subtitles part is probably to difficult for you, and probably not a good idea anyway, so just don't do that.
by rednoah
31 Dec 2013, 07:46
Forum: Scripting and Automation
Topic: Good way to learn RegExp for FileBot?
Replies: 1
Views: 2055

Re: Good way to learn RegExp for FileBot?

You're talking Apples and Bananas here :D

Groovy Scripting Language (as in code):
http://en.wikipedia.org/wiki/Groovy_%28 ... anguage%29

Regular Expression (not code):
http://en.wikipedia.org/wiki/Regular_expression
by rednoah
31 Dec 2013, 01:55
Forum: Help and Support
Topic: No Results for files music files with german "umlaute"
Replies: 3
Views: 2617

Re: No Results for files music files with german "umlaute"

I guess you're on Windows. Try r1955.
by rednoah
31 Dec 2013, 01:36
Forum: Anything and Everything else
Topic: So disappointed with the adware
Replies: 12
Views: 20708

Re: So disappointed with the adware

What happens to the blood money I make with OpenCandy? I forward-donate it to the massively under-appreciated API projects! :mrgreen:
2013-12-31 09_32_54-Receipt for your donation to Boris Brodski.png
by rednoah
30 Dec 2013, 17:23
Forum: Scripting and Automation
Topic: automation with uTorrent
Replies: 7
Views: 4528

Re: automation with uTorrent

Something always happens...

Is FileBot called? Yes? No?
Is FileBot called but then fails? What is the error message?

Does it only work if you call it with cmd? Well, try cmd /c filebot ... if it's really doing "nothing" then that's a severe bug in utorrent and I doubt that. :P
by rednoah
30 Dec 2013, 16:28
Forum: Scripting and Automation
Topic: AMC not unzipping RAR files.
Replies: 2
Views: 2498

Re: AMC not unzipping RAR files.

Nice! That's why I tell people to post things in the forums and not send me private messages! :)
by rednoah
30 Dec 2013, 16:12
Forum: Help and Support
Topic: query on a show with different country versions
Replies: 5
Views: 3673

Re: query on a show with different country versions

--filter works with Groovy expressions and is therefore infinitely powerful . Include ONLY the Australian version: --filter "n ==~ /So You Think You Can Dance Australia/" (this is bad for automation since you can only rename that one show) Include ALL BUT the US version: --filter "!(n...