Search found 22991 matches

by rednoah
05 Jul 2013, 23:05
Forum: Scripting and Automation
Topic: Can you tell if command line filebot fails?
Replies: 2
Views: 2627

Re: Can you tell if command line filebot fails?

It does return -1 on error, anything that aborts the whole program flow anyway. If the input set can only partially processed that's not a cause for aborting the whole thing. For exact error handling I'll need to write a filebot/groovy script: http://www.filebot.net/script.html#functions You'll have...
by rednoah
05 Jul 2013, 05:12
Forum: Help and Support
Topic: Something is broken
Replies: 22
Views: 11809

Re: Something is broken

Actually dropping in subs on one side and videos on the other should be the best way. Just do a search *.avi or *.srt and then drag-n-drop that selection (or use Analyze/Types panel instead of windows search and drag in from there). If it isn't aligned by default using clicking Match once should do ...
by rednoah
05 Jul 2013, 04:08
Forum: Scripting and Automation
Topic: sabnzbd
Replies: 13
Views: 10806

Re: sabnzbd

Exception: [***] Multiple options: Force auto-select requires non-strict matching: [The Hangover Part III (2013), The Hangover Part II (2011), The Hangover (2009), Hangover in L.A. (2011), Hangover Square (1945), Mancation (2012), Girl Walks Into a Bar (2011), Ready or Not (2009)] This one is easy....
by rednoah
04 Jul 2013, 12:32
Forum: Scripting and Automation
Topic: Subtitle naming from cli?
Replies: 3
Views: 4278

Re: Subtitle naming from cli?

If you write your own script the getSubtitles() call will give you a list of downloaded subtitles. So in this case you can the do your own error handling. You can check the suball script for examples and if you want filebot to return -1 you can just throw any exception in the script. Language mappin...
by rednoah
04 Jul 2013, 04:14
Forum: Scripting and Automation
Topic: sabnzbd
Replies: 13
Views: 10806

Re: sabnzbd

Send me the file paths and I'll have a look.

EDIT:
Might wanna add Kight of the Dead to TheMovieDB. The other one should work. Can't say until I have the paths to test it myself.
by rednoah
04 Jul 2013, 04:11
Forum: Scripting and Automation
Topic: Subtitle naming from cli?
Replies: 3
Views: 4278

Re: Subtitle naming from cli?

No, the -get-subtitles calls always output <filename>.<language>.<ext>

But you can easily post process with this:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100

e.g.

Code: Select all

filebot -script fn:replace --def "e=.eng.srt" "r=.srt" /path/to/files
by rednoah
03 Jul 2013, 05:48
Forum: Scripting and Automation
Topic: sabnzbd
Replies: 13
Views: 10806

Re: sabnzbd

You can either pass in the ut_* parameters as if it was called by utorrent. Or just pass in file arguments instead of all the ut_* stuff. Simplest filebot/amc usage would be like this: Pass in folder: filebot -script fn:amc "D:/process-this" ... Pass in a file: filebot -script fn:amc "...
by rednoah
03 Jul 2013, 05:36
Forum: Help and Support
Topic: season naming
Replies: 2
Views: 2536

Re: season naming

You mean this??? Season 03 regardless of what season it really is??? V:/TV Shows/{n}/Season 03/{sxe} - {t} Or do you mean the zero-padding 01, 02, 03 ... RTFM ... {s.pad(2)} Examples: http://www.filebot.net/naming.html More examples: http://www.filebot.net/forums/viewtopic.php?f=5&t=2&p=51#p51
by rednoah
03 Jul 2013, 05:29
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 544394

Re: Automated Media Center

This is how a good call looks like: filebot -script fn:amc --output "D:/Organized Media" --log-file amc.log --action hardlink --conflict override -non-strict --def "ut_dir=D:\Media\Avatar" "ut_file=" "ut_kind=multi" "ut_title=Avatar" "ut_label=&...
by rednoah
02 Jul 2013, 12:05
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18805

Re: issue with special caracters

No idea. You can check with zenitram from mediainfo if this can be improved. I doubt it though, nothing to be done if FS read-ops just take that long.
by rednoah
02 Jul 2013, 04:19
Forum: Episode / Movie Naming Scheme
Topic: Renaming folders on Mac network share
Replies: 1
Views: 3349

Re: Renaming folders on Mac network share

Any native path works. On Windows that includes V:/ and //server/ syntax. As OSX is unix I assume any unix /path works but your server:/path construct seems like something that has to be supported in each software and is not supported in the filesystem layer. You'll have to use the path where that n...
by rednoah
02 Jul 2013, 04:10
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 544394

Re: Automated Media Center

RTFM @see http://www.urbandictionary.com/define.php?term=RTFM µTorrent usage: µTorrent -> Run Program -> Run this program when torrent finishes: filebot -script fn:amc --output "X:/path/to/media" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en a...
by rednoah
01 Jul 2013, 14:41
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 544394

Re: Automated Media Center

RTFM
Standalone Usage
You can use the script directly from the cmdline like this, by just adding files as arguments instead of the utorrent parameters.
@see http://www.filebot.net/forums/viewtopic ... =793#p5114
by rednoah
01 Jul 2013, 08:04
Forum: Scripting and Automation
Topic: artwork.tmdb modding
Replies: 2
Views: 2614

Re: artwork.tmdb modding

Set language:

Code: Select all

--lang fr
by rednoah
01 Jul 2013, 07:58
Forum: Scripting and Automation
Topic: Stand alone AMC issues
Replies: 3
Views: 5025

Re: Stand alone AMC issues

Don't specify --def ut_dir and ut_file if you're just passing in an argument. YES filebot -script fn:amc "D:/" ... YES filebot -script fn:amc --def "ut_dir=%D" "ut_file=%F" ... NO filebot -script fn:amc "D:/" --def "ut_dir=%D" "ut_file=%F" ...
by rednoah
30 Jun 2013, 18:55
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18805

Re: issue with special caracters

Nope, libmediainfo is local filesystem / or network share that get treated like local files. There's no timeout for those basic IO operations. It's pretty fast on Windows anyway.
by rednoah
30 Jun 2013, 16:34
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18805

Re: issue with special caracters

So you mean it's working now???? Cause i didn't do anything except force NFD before I pass things to libmediainfo.

Also I have no idea what the rest is about. Timeouts for what? I guess all network requests have timeout automatically so it can't block the app indefinitely.
by rednoah
30 Jun 2013, 14:39
Forum: Help and Support
Topic: Copy to location
Replies: 2
Views: 2299

Re: Copy to location

Yes. Switch to COPY mode.
by rednoah
30 Jun 2013, 14:35
Forum: Scripting and Automation
Topic: script request
Replies: 2
Views: 2377

Re: script request

And that would be different from the existing utorrent script how exactly?

PS: The amc script supports all of that and much more. RTFM.
by rednoah
30 Jun 2013, 06:38
Forum: Scripting and Automation
Topic: Stand alone AMC issues
Replies: 3
Views: 5025

Re: Stand alone AMC issues

Do as it says in the error message.

What is this???

Code: Select all

"ut_dir=F" "ut_kind=N" "ut_label=S"
@same
http://www.filebot.net/forums/viewtopic.php?f=4&t=792
by rednoah
30 Jun 2013, 06:34
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18805

Re: issue with special caracters

Unicode NF has nothing to do with UTF-16LE/BE or UTF-8. Can be encoded however you want. The problem is that when you type ê you'd type ^+e (decomposed) and that'd result in the character ê (composed). It looks the same but it's two different bytesequences. The first thing I'd debug is add loging to...
by rednoah
30 Jun 2013, 06:12
Forum: Scripting and Automation
Topic: Really basic script
Replies: 3
Views: 3530

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: 18805

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: 3530

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: 2608

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.