Search found 23066 matches

by rednoah
24 Jun 2013, 17:06
Forum: Help and Support
Topic: Having troubles with format scripting.
Replies: 15
Views: 6656

Re: Having troubles with format scripting.

I just showed you my test cases. You can work with specific values and see what happens. Just test things step by step like this. This works with the default sample data: {n} {certification} => {def pg = info.certification; (n =~ 'Firefly' ? pg.match('TV-14':'TV-G', 'TV-PG':'TV-G', null:'No Rating')...
by rednoah
24 Jun 2013, 16:39
Forum: Help and Support
Topic: Having troubles with format scripting.
Replies: 15
Views: 6656

Re: Having troubles with format scripting.

This is the test for empty string like in your code: {''.match('TV-14':'TV-G', 'TV-PG':'TV-G', '':'No Rating')} This is the test for null value: {null.match('TV-14':'TV-G', 'TV-PG':'TV-G', null:'No Rating')} I think certification will be null and not empty string if undefined, so use null-check inst...
by rednoah
24 Jun 2013, 16:25
Forum: Help and Support
Topic: Having troubles with format scripting.
Replies: 15
Views: 6656

Re: Having troubles with format scripting.

With that much custom logic it's gonna get messy either way. I'd use =~ regex so you can easily add more shows via a|b|c|d regex syntax. And then with my custom match function you can have multiple mappings. It's kinda like switch/case but you pass in the mappings like below: {def pg = info.certific...
by rednoah
24 Jun 2013, 13:13
Forum: Announcements and Releases
Topic: FileBot 3.6
Replies: 2
Views: 66381

FileBot 3.61 is out!

FileBot 3.61 is out! Get it here! This update brings lots of little tweaks for movie and episode detection and fixes various issues that have come up since the last release. Changes: * Many little tweaks for movie/series/episode matching and detection * Improved filename validation as trailing spac...
by rednoah
24 Jun 2013, 12:52
Forum: Episode / Movie Naming Scheme
Topic: Renaming and removing (:)
Replies: 4
Views: 7192

Re: Renaming and removing (:)

There you go:

Code: Select all

{t.tr(':','.')}
by rednoah
24 Jun 2013, 12:35
Forum: Episode / Movie Naming Scheme
Topic: Renaming and removing (:)
Replies: 4
Views: 7192

Re: Renaming and removing (:)

Works just fine: D:\testdata\AMC-TEST>filebot -rename "CSI Miami 1x01.mp4" --format "{n}.{s00e00}.{t}" Rename episodes using [TheTVDB] Auto-detected query: [CSI Miami] Fetching episode data for [CSI: Miami] Stripping invalid characters from new path: CSI: Miami.S01E01.Golden Para...
by rednoah
24 Jun 2013, 01:21
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18862

Re: issue with special caracters

btw are you using Apples JDK 6 or Oracles JDK 7? If you only tried Apple JDK 6 please try again with Oracle JDK 7.

This is a hard one...
by rednoah
24 Jun 2013, 01:12
Forum: Feature Requests and Bug Reports
Topic: How to retrieve Foriegn/Alien subtitles
Replies: 1
Views: 2192

Re: How to retrieve Foriegn/Alien subtitles

You'd have to download subtitles twice. With cmdline it's easy since you can just call filebot twice with different --lang options, once with --lang en and other with --lang de or something. In the GUI you'll have to switch the language combo box and basically download subs twice for the 2 languages.
by rednoah
23 Jun 2013, 08:32
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18862

Re: issue with special caracters

Updates? Is any of the test jars working?
by rednoah
22 Jun 2013, 23:15
Forum: Feature Requests and Bug Reports
Topic: FileBot 3.6 MAC
Replies: 2
Views: 2760

Re: FileBot 3.6 MAC

You mean you DnD episode data from Episode panel to Rename panel? If you want to filter by seasion, set the season filter before and then grab the episode list. That's since DnD always takes the contents of the list regardless of selection. Selection works for copy/paste though. So you can copy/past...
by rednoah
21 Jun 2013, 22:33
Forum: Help and Support
Topic: uTorrent and Filebot error?
Replies: 1
Views: 2008

Re: uTorrent and Filebot error?

Havent seen this error but this looks wrong:
Argument: F:\

You're forcing standalone usage by passing in file arguments. Remove the file argument after -script fn:amc. As it is configured now it'll always process ALL media files in F: and NOT just the new ones, that's a waste of free resources.
by rednoah
21 Jun 2013, 10:15
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18862

Re: issue with special caracters

Nevermind console charsets. Try the other test jars with different Unicode NFs. Hopefully one of the four will just work.
by rednoah
20 Jun 2013, 07:12
Forum: Help and Support
Topic: Integrating FileBot in a LFTP auto-download setup
Replies: 8
Views: 5563

Re: Integrating FileBot in a LFTP auto-download setup

Yes, that's the whole point of keeplink. It'll work.
by rednoah
20 Jun 2013, 06:24
Forum: Help and Support
Topic: Integrating FileBot in a LFTP auto-download setup
Replies: 8
Views: 5563

Re: Integrating FileBot in a LFTP auto-download setup

keeplink and symlink should both work since it'll keep the original file. Maybe symlink works best as it only creates symlinks and never touches the original file. Keeplinks moves the original file and then creates a symlink back at the original location. Really depends on what LFTP mirror will work...
by rednoah
20 Jun 2013, 03:49
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18862

Re: issue with special caracters

The ? means the console can't display that unicode character. It's not actually the ? character.

Added two more test jars for NFKC and NFD. Maybe one of those works.
by rednoah
20 Jun 2013, 03:21
Forum: Help and Support
Topic: Naming sheme + Moving
Replies: 3
Views: 3318

Re: Naming sheme + Moving

1. {collection} is defined by the database. FileBot doesn't count how many movies of a collection you have. 2. {genres} is a list of all genres as specified by the database. Guess what this will do? {genres.take(2).join(', ')} 3. {group} => @see http://www.filebot.net/forums/viewtopic.php?f=5&t=...
by rednoah
19 Jun 2013, 17:34
Forum: Feature Requests and Bug Reports
Topic: Installation Freezes
Replies: 5
Views: 4151

Re: Installation Freezes

If you run it where does it freeze? This is what it should look like:
http://snag.gy/eN5a4.jpg
by rednoah
19 Jun 2013, 15:42
Forum: Feature Requests and Bug Reports
Topic: --conflict override not working?
Replies: 10
Views: 7631

Re: --conflict override not working?

Ignore what I said before the edits. :P The problem is that I check if files already exist with File.exists() and then delete it if it does, except Java 7 says "does not exist" if called on a symlink as the target file doesn't exist. So my code doesn't try to delete the symlink cause it th...
by rednoah
19 Jun 2013, 12:54
Forum: Feature Requests and Bug Reports
Topic: --conflict override not working?
Replies: 10
Views: 7631

Re: --conflict override not working?

This use-case has an issue. Cause you end up handling to identical movies that resolve to idential paths. The --action override just deletes the original symlink. But then the previous symlink gets symlinked. That works. But then the renamed file gets also symlinked to that path and it already exist...
by rednoah
19 Jun 2013, 11:42
Forum: Feature Requests and Bug Reports
Topic: --conflict override not working?
Replies: 10
Views: 7631

Re: --conflict override not working?

Works as expected any way I tried: reinhard@serenity:~/test$ filebot -rename . --format "./output/{movie}" --db themoviedb --action symlink Rename movies using [TheMovieDB] Auto-detect movie from context: [/home/reinhard/test/The Karate Kid (1984).mkv] [SYMLINK] Rename [/home/reinhard/test...
by rednoah
19 Jun 2013, 05:56
Forum: Feature Requests and Bug Reports
Topic: Installation Freezes
Replies: 5
Views: 4151

Re: Installation Freezes

Does your Internet work? At what stage is it freezing?

You can try downloading the .msi for your architecture from the sourceforge downloads directly. That should work instead of having the installer auto-download/install things.
by rednoah
19 Jun 2013, 05:16
Forum: Episode / Movie Naming Scheme
Topic: TV episode format
Replies: 3
Views: 4502

Re: TV episode format

It's not crappy freeware. It's open-source. Support if any kind highly appreciated. :)
by rednoah
19 Jun 2013, 00:59
Forum: Help and Support
Topic: issue with special caracters
Replies: 33
Views: 18862

Re: issue with special caracters

Yep, I'd guess it's an NFC issue cause the UTF-8 strings is different bytewise depending how accents are encoded. I'm trying this: public synchronized boolean open(File file) { String path = file.getAbsolutePath(); if (Platform.isMac()) { path = Normalizer.normalize(path, Form.NFC); System.out.print...
by rednoah
18 Jun 2013, 12:30
Forum: Episode / Movie Naming Scheme
Topic: TV episode format
Replies: 3
Views: 4502

Re: TV episode format

Have you had a look at the manual? http://www.filebot.net/naming.html Like the second example? V:/TV Shows/{n}/Season {s}/{sxe} - {t} I recommend having S00E00 or 1x01 so HTPC software has an easier time to work with it. But if you really need your Episode X format just look at the third example and...
by rednoah
18 Jun 2013, 12:24
Forum: Feature Requests and Bug Reports
Topic: --conflict override not working?
Replies: 10
Views: 7631

Re: --conflict override not working?

But if you do COPY or KEEPLINK it works?