Search found 23004 matches

by rednoah
15 Sep 2013, 15:54
Forum: Scripting and Automation
Topic: Episode Metadata From Within Script
Replies: 2
Views: 2407

Re: Episode Metadata From Within Script

The latest SVN revision makes this easier. Like so: def e = '''{"@type":"net.sourceforge.filebot.web.Episode","seriesName":"Firefly","seriesStartDate":{"year":2002,"month":9,"day":20},"season":1,"episode&q...
by rednoah
15 Sep 2013, 15:32
Forum: Episode / Movie Naming Scheme
Topic: Release Groups {group}
Replies: 684
Views: 1647895

Re: Release Groups {group}

You'll figure out that {group} and {fn.match(...)} will throw errors and break the {...} block. You can use c{...} to get around this default behavior: {def g = c{group}; def m = c{fn.match(/.../)}; [g,m].unique()} You can start playing with this. The exact logic u want you have to define yourself. ...
by rednoah
15 Sep 2013, 15:03
Forum: Feature Requests and Bug Reports
Topic: Order lists by filename alphabetically
Replies: 3
Views: 3052

Re: Order lists by filename alphabetically

It's adding files in order according to the Drag-n-Drop data. If u drop a folder, then the filesystem should list things in alphabetical order by default. If you drop files directly from Explorer just sort by name first.
by rednoah
15 Sep 2013, 14:58
Forum: Scripting and Automation
Topic: Episode Metadata From Within Script
Replies: 2
Views: 2407

Re: Episode Metadata From Within Script

rename() is way too complicated and that nice metadata is only available after lots of processing. If xattr is enabled then rename() will store primary metadata via xattr. So after rename() you can read the information via File.xattr.metadata (JSON String) or File.metadata (FileBot Episode/Movie Obj...
by rednoah
15 Sep 2013, 06:53
Forum: Help and Support
Topic: QNAP + Filebot + SABnzbd
Replies: 8
Views: 6884

Re: QNAP + Filebot + SABnzbd

I recommend getting in touch with the mediainfo dev. Solving this problem would probably be very easy, esp. If he had access to a QNAP to test with and/or fund the extra work. ;)
by rednoah
15 Sep 2013, 01:51
Forum: Help and Support
Topic: QNAP + Filebot + SABnzbd
Replies: 8
Views: 6884

Re: QNAP + Filebot + SABnzbd

libmediainfo and libzen are both made by MediaInfo so they come together usually and you're missing both. Normally you'd have to download them from their website for your architecture. i686 is basically x86 so you can try the generic 32-bit linux .so native libs. But it'll probably fail with some cl...
by rednoah
15 Sep 2013, 01:13
Forum: Feature Requests and Bug Reports
Topic: command line thing since latest jar updates
Replies: 1
Views: 2275

Re: command line thing since latest jar updates

That's just a warning. Is AMC actually crashing? Otherwise just ignore.
by rednoah
14 Sep 2013, 16:15
Forum: Help and Support
Topic: QNAP + Filebot + SABnzbd
Replies: 8
Views: 6884

Re: QNAP + Filebot + SABnzbd

filebot.sh is a shell script that will run the filebot code with java. It's not a python script, so calling an .sh file with python doesn't make sense at all. The first error already tells you what's up: java is not installed. Figure out how to install java on QNAP and then filebot should run as wel...
by rednoah
14 Sep 2013, 08:21
Forum: Scripting and Automation
Topic: Detect if filename had been renamed by filebot
Replies: 4
Views: 3858

Re: Detect if filename had been renamed by filebot

Ran the upload again. Looks good now.
by rednoah
13 Sep 2013, 16:52
Forum: Help and Support
Topic: AMC doesn't clean up - metadata files
Replies: 3
Views: 2597

Re: AMC doesn't clean up - metadata files

Somehow in your setup xattr paths are resolved incorrectly as actual file paths rather than interpreted and store metadata. The : would be an illegal character on Windows and the whole thing is done somewhere deep down in Java / Windows APIs. The easiest way would be to just turn of xattr via -no-xa...
by rednoah
13 Sep 2013, 15:27
Forum: Help and Support
Topic: AMC doesn't clean up - metadata files
Replies: 3
Views: 2597

Re: AMC doesn't clean up

That's filesystem extended metadata, not files. Shouldn't be possible for metadata to exist without the file. What operating system?
by rednoah
13 Sep 2013, 07:09
Forum: Scripting and Automation
Topic: Detect if filename had been renamed by filebot
Replies: 4
Views: 3858

Re: Detect if filename had been renamed by filebot

I'm giving you better exit codes with r1724. At least if nothing is renamed it'll error out.
by rednoah
13 Sep 2013, 07:06
Forum: Feature Requests and Bug Reports
Topic: [BUG] CLI Produces Same "ERRORLEVEL" Code
Replies: 1
Views: 2085

Re: [BUG] CLI Produces Same "ERRORLEVEL" Code

l4j executable wrapper doesn't pass back the error code correctly. So on Windows not much I can do about it for now. Mac/Linux is not affected. You could try using the portable package instead where I still have a cmd startup script which should preserve the exit code properly as with older versions...
by rednoah
12 Sep 2013, 07:41
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

It's either local script:

Code: Select all

-script "/Users/xxx/Downloads/xattr.groovy"
or remote script:

Code: Select all

-script fn:xattr
You're passing in fn:xattr as file argument.

EDIT: Last question is in the FAQ ;)
by rednoah
11 Sep 2013, 15:58
Forum: Feature Requests and Bug Reports
Topic: Wishlist for New Features and Scripts
Replies: 108
Views: 80029

Re: Wishlist for New Features and Scripts

This is what I've come up with in a minimum amount of code:
http://www.filebot.net/forums/viewtopic ... =869#p5518

It's basically 3 lines of groovy so don't expect the world. ;)
by rednoah
11 Sep 2013, 14:56
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

FileBot is doing lots of internal ranking and looking for the optimal result. If it's working with English filename but Spanish database result it's gonna be less reliable. Then after the first rename the file is tagged. So previous rename operations affect future rename operations. So if it works f...
by rednoah
11 Sep 2013, 11:44
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

Then we're back to this, except it's all gonna have to be GoT episodes: --q "game of thrones" For more complicated logic you'll have to start with some minimal scripting, e.g. like this: http://www.filebot.net/forums/viewtopic.php?f=4&t=280#p1135 EDIT: Just tested, it's working, even w...
by rednoah
11 Sep 2013, 07:33
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

--lang en sets all to English (which is default anyway). But if filebot speaks english it won't be able to make sense of the filename which is spanish. This is what you need: --q "game of thrones" Help filebot what to search for. Alternatively you can set --lang es which will make lookup ...
by rednoah
11 Sep 2013, 06:06
Forum: Help and Support
Topic: Renaming TV Episodes Without Season and Episode Reference
Replies: 3
Views: 2907

Re: Renaming TV Episodes Without Season and Episode Referenc

Looks still good to me:
http://snag.gy/1nhM9.jpg

Try using the latest revision from HEAD. And if you're sorting out random piles of media files it might be best to use the AMC script which adds lots of extra detection and partitioning logic on top of simple rename calls.
by rednoah
11 Sep 2013, 02:24
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

Just data files. It'll magically work by tomorrow, regardless of --filter
by rednoah
10 Sep 2013, 18:12
Forum: Help and Support
Topic: Renaming TV Episodes Without Season and Episode Reference
Replies: 3
Views: 2907

Re: Renaming TV Episodes Without Season and Episode Referenc

What's the issue? Works just fine, even without -non-strict: http://snag.gy/1gG74.jpg Each -rename call treats each batch of files as a whole. If you rename "Alias 1x01.avi" and "1x02.avi" it'll both be matched to episodes of Alias. Shouldn't be an issue if file names make some k...
by rednoah
10 Sep 2013, 11:57
Forum: Feature Requests and Bug Reports
Topic: ITASA support for subtitles
Replies: 3
Views: 2942

Re: ITASA support for subtitles

Yep, that looks like a proper API, though I'm quite reluctant to add support for language-specific sites, then I'd have to suddenly implement and support hundreds. Lots of work and only useful for a minority of users. In any case, I'll keep it in mind and look into that when I have some extra time o...
by rednoah
10 Sep 2013, 09:58
Forum: Feature Requests and Bug Reports
Topic: ITASA support for subtitles
Replies: 3
Views: 2942

Re: ITASA support for subtitles

I don't see an API on or any related docs on their site.

As for matching subs with videos. That's in the video tutorial. Drop subtitle files to the left. Drop movie files to the right. Click match. FileBot will align subs/movies and the movie filename will serve as template for the subtitle filename.
by rednoah
10 Sep 2013, 09:49
Forum: Scripting and Automation
Topic: Filter movie by year
Replies: 11
Views: 8311

Re: Filter movie by year

The --filter option is currently not supported for movie mode, only used in episode mode.

It's not working because it's not my index while at the same time the Movie keyword being blocked. I'll fix that.