Search found 22995 matches

by rednoah
30 Jun 2013, 06:12
Forum: Scripting and Automation
Topic: Really basic script
Replies: 3
Views: 3533

Re: Really basic script

It's working how you want: hasVideoFile AND ( not hasFile A OR not hasFile B OR not hasFile C )
by rednoah
29 Jun 2013, 17:21
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18806

Re: issue with special caracters

Can't think of anything here. Looks good to me. I'm not sure if much can be done with Java system properties.

Internal things seem to be all set to UTF-8...

Code: Select all

sun.jnu.encoding: UTF-8
by rednoah
29 Jun 2013, 13:27
Forum: Scripting and Automation
Topic: Really basic script
Replies: 3
Views: 3533

Re: Really basic script

Something like:

Code: Select all

args.getFolders().findAll{ it.hasFile{ it.isVideo() } && (!it.hasFile{ it =~ /folder.jpg/ } || !it.hasFile{ it =~ /poster.jpg/ } || !it.hasFile{ it =~ /movie.tbn/ }) }
by rednoah
29 Jun 2013, 13:16
Forum: Scripting and Automation
Topic: Conflicting arguments
Replies: 1
Views: 2610

Re: Conflicting arguments

I changed the script so people that use it wrong can't waste TheTVDB/TMDB resources.

=> Check the docs for the amc script. And read the error message, it tells you what you're doing wrong.
by rednoah
28 Jun 2013, 15:31
Forum: Help and Support
Topic: MultiCD movies not recognized
Replies: 8
Views: 6540

Re: MultiCD movies not recognized

match(regex) is made case-insensitive by default so here's how I'd write it:

Code: Select all

fn.match(/CD\d+/).upper()
by rednoah
28 Jun 2013, 15:19
Forum: Scripting and Automation
Topic: Wanna get it done? Hire me!
Replies: 1
Views: 6235

Wanna get it done? Hire me!

Hi, If you're having trouble with getting your scripts for automation working, why not hire me instead to do it for you? Time is money, and I can save you lots of time. :ugeek: Just make a new thread of what exactly it is you're trying to achieve and I'll have a look. I'm also happy to make custom m...
by rednoah
28 Jun 2013, 08:03
Forum: Episode / Movie Naming Scheme
Topic: Video Format
Replies: 1
Views: 2878

Re: Video Format

What exactly does it say? Is any of the mediainfo bindings working? What's the output if you run my sysinfo script?
by rednoah
28 Jun 2013, 04:21
Forum: Episode / Movie Naming Scheme
Topic: renaming format assistance
Replies: 1
Views: 2931

Re: renaming format assistance

Plenty of examples here: http://www.filebot.net/naming.html Like this: {n.replaceTrailingBrackets()} - {s+'x'}{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'") .lowerTrail().replacePart(', Part $1')} Remove trailing !?. t.replaceAll(/[!?.]+$/) Remove any ,.'- t.replaceAll(/[...
by rednoah
28 Jun 2013, 02:17
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18806

Re: issue with special caracters

Nope, it's a native interface issue. FileBot is not calling the mediainfo cli tool. It's directly hooking into the libmediainfo C interface. I guess somewhere the conversion between Java String and C char_w** gets messed up, or just unicode normalization form. Suffice to say it'd be very hard for me...
by rednoah
28 Jun 2013, 01:52
Forum: Help and Support
Topic: Download Artwork for Movie Collection
Replies: 5
Views: 5317

Re: Download Artwork for Movie Collection

Nope, collections not support now.

What would be naming scheme for that? XY Collection/XY 1/XY 1.avi? Does every collection folder end with "Collection"?
by rednoah
28 Jun 2013, 01:48
Forum: Scripting and Automation
Topic: No signature of method java.lang.String.getMediaFolders()
Replies: 2
Views: 3270

Re: No signature of method java.lang.String.getMediaFolders(

Try:

Code: Select all

def f = 'C:/Users/Username/Downloads/TV Shows' as File
f.eachMediaFolder { println it }
by rednoah
27 Jun 2013, 11:14
Forum: Scripting and Automation
Topic: King & Maxwell; AMC script incorrect/Manual Filebot correct
Replies: 6
Views: 4911

Re: King & Maxwell; AMC script incorrect/Manual Filebot corr

I guess that fix was overdue, didn't know it was broken.

PS: 2-digit donations are VERY much appreciated. Consider yourself as one of very few. ;)
by rednoah
27 Jun 2013, 09:58
Forum: Help and Support
Topic: MultiCD movies not recognized
Replies: 8
Views: 6540

Re: MultiCD movies not recognized

1. Re: {pi} binding FileBot recognizes multi-part movies by matching multiple files to the same movie. Hence if you want to rename multi-part movies you need to pass all files into the same input set. The assumption here is only that parts are in alphabetical order. 2. Re: DIY via fn.match() If your...
by rednoah
27 Jun 2013, 04:27
Forum: Scripting and Automation
Topic: King & Maxwell; AMC script incorrect/Manual Filebot correct
Replies: 6
Views: 4911

Re: King & Maxwell; AMC script incorrect/Manual Filebot corr

Update my internal tvdb index with those aliases to make it work for Franklin and Bash and King and Maxwell . Just clear the cache and try again. On files that have been mismatched before you might wanna run the xattr-delete script beforehand. Here's what I get now: Input: D:\testdata\AMC-TEST\Frank...
by rednoah
27 Jun 2013, 04:18
Forum: Scripting and Automation
Topic: Any script for handling documentaries & sports?
Replies: 3
Views: 3474

Re: Any script for handling documentaries & sports?

Well in that case I can add these labels to the ignore list so amc at least doesn't mess things up with those. Other than that you'll need custom scripting (or pay me to do it for you :P).
by rednoah
27 Jun 2013, 03:48
Forum: Scripting and Automation
Topic: scripting help needed
Replies: 5
Views: 3850

Re: scripting help needed

Back to the original post. I said read up on how to pass in your own series/movie formats . You can find the all the docs you need here: http://www.filebot.net/forums/viewtopic.php?f=4&t=215 <-- READ THIS !!! You just need to read it. The section you're looking for is called Change how files wil...
by rednoah
27 Jun 2013, 03:41
Forum: Scripting and Automation
Topic: King & Maxwell; AMC script incorrect/Manual Filebot correct
Replies: 6
Views: 4911

Re: King & Maxwell; AMC script incorrect/Manual Filebot corr

King & Maxwell should work. But since you've already renamed the file once with filebot (I assume) it has set some xattr metadata and it's using that for matching. Use this to clear metadata: filebot -script fn:xattr --action clear /path/to/files And when testing you can use --action test , tha...
by rednoah
27 Jun 2013, 03:11
Forum: Scripting and Automation
Topic: scripting help needed
Replies: 5
Views: 3850

Re: scripting help needed

Erm... Yes. What windows? This is a cmdline script.

Did you watch the video tutorial? It's right next to where it says Standalone Usage that I asked you to check.
http://www.youtube.com/watch?v=brGyo2uQzSs
by rednoah
27 Jun 2013, 03:07
Forum: Scripting and Automation
Topic: King & Maxwell; AMC script incorrect/Manual Filebot correct
Replies: 6
Views: 4911

Re: King & Maxwell; AMC script incorrect/Manual Filebot corr

Works for me. Try using the latest FileBot version. The whole and/& stuff should have been solved months ago when I build in my own search engine. Here's what I get from the AMC script: Input: D:\testdata\AMC-TEST\Franklin & Bash S01E01.mp4 Input: D:\testdata\AMC-TEST\King & Maxwell S01E...
by rednoah
27 Jun 2013, 02:55
Forum: Scripting and Automation
Topic: scripting help needed
Replies: 5
Views: 3850

Re: scripting help needed

So what is your question? What is it that you can't do with the AMC script already? http://www.filebot.net/forums/viewtopic.php?f=4&t=215 There's plenty of docs on how to do the commandline call. I'm guessing you wanna look at the standalone usage and how to pass in your own series/movie formats.
by rednoah
26 Jun 2013, 16:17
Forum: Scripting and Automation
Topic: Any script for handling documentaries & sports?
Replies: 3
Views: 3474

Re: Any script for handling documentaries & sports?

You can send me some example filenames. If it's something like a TV show or daily show maybe you can add the missing data to TheTVDB. Or find a different docu/sports tv database with public API.
by rednoah
26 Jun 2013, 16:11
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 550166

Re: Automated Media Center

You've set --action copy so it's gonna copy... [COPY] => COPY (copy as in copy, no delete) [MOVE] => MOVE (as in rename) How exactly that operation is performed is platform dependent. You probably wanna look into using --action hardlink and/or running filebot on that smb server. Understanding hardli...
by rednoah
26 Jun 2013, 02:16
Forum: Feature Requests and Bug Reports
Topic: Is TheTVdb down? TVrage works
Replies: 2
Views: 2675

Re: Is TheTVdb down? TVrage works

I've tried some tests and works perfectly fine from here. Try running from console and see if there's any exceptions, if it doesn't work there must be a reason why the network requests fail.
by rednoah
25 Jun 2013, 15:58
Forum: Feature Requests and Bug Reports
Topic: 3.61 Hangs during install win 8-64bit
Replies: 4
Views: 3749

Re: 3.61 Hangs during install win 8-64bit

Added some timeouts, now it should never hang more than 3min no matter what's going wierd.

Other than that you can always grab the .msi bundle for you platform manually from the sourceforge downloads, or even better, use chocolatey:
http://chocolatey.org/packages/filebot/
by rednoah
25 Jun 2013, 02:43
Forum: Help and Support
Topic: Having troubles with format scripting.
Replies: 15
Views: 6621

Re: Having troubles with format scripting.

With r1649 I added some convenience functions for these kinda use-cases:

Code: Select all

{csv('D:/pg.csv').get(n) ?: info.certification ?: 'No Rating'}
Didn't make it into the v3.61 release though.