Search found 22976 matches

by rednoah
01 Jun 2013, 16:21
Forum: Help and Support
Topic: Show match without doing rename / create .nfo file
Replies: 1
Views: 2728

Re: Show match without doing rename / create .nfo file

1. Use --action test instead of --action rename

2. Enable extended attributes and filebot will remember all metadata about each file regardless of naming.
by rednoah
01 Jun 2013, 16:09
Forum: Scripting and Automation
Topic: Overwrite file when PROPER release is downloaded
Replies: 3
Views: 3927

Re: Overwrite file when PROPER release is downloaded

In the cmdline you can set --conflict override. The logic you describe would have to be written as external script though.
by rednoah
01 Jun 2013, 15:29
Forum: Help and Support
Topic: Help with Malformed input or input contains unmappable chac
Replies: 6
Views: 12601

Re: Help with Malformed input or input contains unmappable

export LANG=en_US.UTF-8 should do the trick. If it doesn't work I have no idea, make sure filesystem entries are UTF-8 encoded. In anycase, Somehow the Java IO can't properly interface with the filesystem due to some misconfiguration.
by rednoah
01 Jun 2013, 05:58
Forum: Scripting and Automation
Topic: Parsing filenames
Replies: 3
Views: 3233

Re: Parsing filenames

matchMovie only matches movies for a string. It's 100% accurate but may not works to messy strings. Detect movie does all kinda shit including online shit to figure things out. detectSeriesName tries to guess the series (search query) but does no search. parseEpisodeNumber will give you SxE objects ...
by rednoah
31 May 2013, 09:03
Forum: Help and Support
Topic: Search query based on show/movie id
Replies: 2
Views: 7052

Re: Search query based on show/movie id

--q is for specifying a query if auto-detection doesn't work.

--filter is used to tell filebot exactly what episode data should be taken into consideration.

e.g.

Code: Select all

--filter "n =~ /US/"
by rednoah
31 May 2013, 05:15
Forum: Help and Support
Topic: Help with Malformed input or input contains unmappable chac
Replies: 6
Views: 12601

Re: Help with Malformed input or input contains unmappable

Not sure but I guess maybe your filesystem doesn't allow these Unicode characters?

You can use the .ascii() function in the format to simplify unicode text to ASCII-only text. Or maybe there is a way to make Unicode work on the lower java or filesystem layers.
by rednoah
31 May 2013, 05:12
Forum: Feature Requests and Bug Reports
Topic: Bug? Filebot creates folders without permissions / security
Replies: 4
Views: 4606

Re: Bug? Filebot creates folders without permissions / secu

Not sure. Check where that trailing space in the foldername is coming from and the fix the format so it doesn't allow that.
by rednoah
30 May 2013, 20:26
Forum: Feature Requests and Bug Reports
Topic: renaming with external file list mapping
Replies: 2
Views: 2988

Re: renaming with external file list mapping

Neh, too messed up, you'd need to add lots of extra hints via --q and --filter for it to work: filebot -rename "ps714.mp4" --db thetvdb --q psych --filter "n == /Psych/ && s == 7" -non-strict It'd be much better to just pre-process the filenames, e.g. filebot -script fn:r...
by rednoah
30 May 2013, 20:09
Forum: Feature Requests and Bug Reports
Topic: Bug? Filebot creates folders without permissions / security
Replies: 4
Views: 4606

Re: Bug? Filebot creates folders without permissions / secu

Is there somehow a trailing space that isn't automatically trimmed away for some reason? You can fix those via the format.

Try something like

Code: Select all

replaceAll(/\s+$/)
by rednoah
26 May 2013, 14:31
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: [CODE] Examples and Snippets

That's just code snippets. You write your script.groovy and then run it with -script your/script.groovy
by rednoah
26 May 2013, 14:28
Forum: Feature Requests and Bug Reports
Topic: Utorrent Script for Filebot no longer loads Filebot
Replies: 1
Views: 2238

Re: Utorrent Script for Filebot no longer loads Filebot

They only reason I can think of why I'd block is that by default its running with --log-lock true so parallel filebots don't interfere with each other and get queued. Though should be able to deadlock like u said. Just sequentialize filebot instances. Try --log-lock false and see if that makes a dif...
by rednoah
26 May 2013, 07:20
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: How about sharing your CLI scripts?

searchMovie only gives you name/year/id movie descriptors, this will give you all the metadata:

Code: Select all

println TheMovieDB.getMovieInfo(detectMovie(f, false), Locale.ENGLISH)
by rednoah
26 May 2013, 07:11
Forum: Feature Requests and Bug Reports
Topic: graphics bug since today
Replies: 2
Views: 2428

Re: graphics bug since today

Must be a issue with the Java runtime for Mac. Try Oracles Java 7 instead of whatever apples pre-installes/updates.
by rednoah
25 May 2013, 19:39
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: How about sharing your CLI scripts?

It's sorting by the text similarity of movieName.toString() and it.name, since the ... is ignored both match equally by name, and since you do it.name you specifically make sure the year part is not part of the equasion. Just do sortBySimilarity(string) and let it use the default toString function f...
by rednoah
25 May 2013, 09:23
Forum: Help and Support
Topic: Failed to auto-select search result
Replies: 1
Views: 2443

Re: Failed to auto-select search result

Try the latest HEAD jar. Made -non-strict even more non-strict with the later revisions.
by rednoah
25 May 2013, 08:14
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: How about sharing your CLI scripts?

You first have filebot correctly detect it as Kiss Kiss Bang Bang (2005) via detectMovie(), then you go on and take only the movie name Kiss Kiss Bang Bang and do another search, that is completely useless btw, at best giving you the same result, at worst a different movie. You only need detectMovie...
by rednoah
25 May 2013, 06:54
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: How about sharing your CLI scripts?

Here's the stuff I pre-define:
https://sourceforge.net/p/filebot/code/ ... force=True

The { ... } is the toString function used for comparison. It's passing in a function, not a value. So you need the { ... }
by rednoah
25 May 2013, 05:46
Forum: Scripting and Automation
Topic: [CODE] Snippets & Examples
Replies: 11
Views: 33450

Re: [CODE] Movie Parsing / Lookup

You easily can make use of filebots parsing functions to make sense of files in your own scripts. e.g. def f = 'X:/Cloud Atlas.mp4' as File // fast file-name lookup println matchMovie(f.name, false) // full file-structure search/lookup println detectMovie(f, false) // fetch complete movie data print...
by rednoah
25 May 2013, 05:37
Forum: Scripting and Automation
Topic: Parsing filenames
Replies: 3
Views: 3233

Re: Parsing filenames

You're probably looking for matchMovie(string, strict)

Code: Select all

def f = 'X:/American.Beauty.1999.480p.BRRip.XviD.AC3-ViSiON.avi' as File

println matchMovie(f.name, false) // fast file-name lookup
println detectMovie(f, false) // full file-structure search/lookup
by rednoah
25 May 2013, 05:17
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 535168

Re: How about sharing your CLI scripts?

The artwork.* scripts define mostly how the folder structure is traversed and how movie/series detection works. The actual artwork downloading and naming is all in the lib/htpc include.

Best thing to do is to organize each movie into it's own folder.
by rednoah
23 May 2013, 18:05
Forum: Scripting and Automation
Topic: AMC - Ubuntu 12.04 - Transmission - Permissions problem
Replies: 4
Views: 4341

Re: AMC - Ubuntu 12.04 - Transmission - Permissions problem

Audio metadata is solely based on what acoustid/musicbrainz says. Original filenames are completely ignored. If you want to rely on tags you have to change the music format.
by rednoah
23 May 2013, 16:17
Forum: Scripting and Automation
Topic: AMC - Ubuntu 12.04 - Transmission - Permissions problem
Replies: 4
Views: 4341

Re: AMC - Ubuntu 12.04 - Transmission - Permissions problem

I'd guess it can't create /Storage. I see you already have /storage but /Storage would be a different folder that needs to be created it might not be allowed to create folders in /

Code: Select all

IOException: Failed to create folder: /Storage/TV Shows/MythBusters/Season 12
by rednoah
22 May 2013, 03:11
Forum: Scripting and Automation
Topic: Movie Not found - setup automation issue?
Replies: 2
Views: 2351

Re: Movie Not found - setup automation issue?

Odd thing is your "complete" was considered a movie-folder and was treated as if it was a movie file.

I assume you had movie.nfo file in the folder identifying the folder as imdb tt0000000. So deleting that .nfo file makes filebot use it's normal logic checking all files in all folders.
by rednoah
21 May 2013, 07:42
Forum: Scripting and Automation
Topic: Automated Media Center sans subtitles and sorting.
Replies: 5
Views: 3467

Re: Automated Media Center sans subtitles and sorting.

You're probably gonna want to add a {pi} somehow unless you don't have multi-file movies.