Yep. Check groovy syntax for details:
I'd be kinda like A ? x : B ? y : x and you could continue this for all your conditions.
Search found 23002 matches
- 29 Sep 2013, 09:39
- Forum: Feature Requests and Bug Reports
- Topic: Rename Movies And Sort To Genre Folder
- Replies: 7
- Views: 19527
- 29 Sep 2013, 05:21
- Forum: Help and Support
- Topic: File Info/Metadata into CSV
- Replies: 9
- Views: 5390
Re: File Info/Metadata into CSV
xattr metadata gets set when you rename files with filebot. So this will only work for collections that have already been renamed with filebot.
- 28 Sep 2013, 18:14
- Forum: Help and Support
- Topic: Need help on Movie Naming
- Replies: 9
- Views: 5311
Re: Need help on Movie Naming
If there's a tt imdb id in the filename or nfo file it'll always work though. Or if it's name+year in the filename it can't go much wrong.
- 28 Sep 2013, 16:43
- Forum: Help and Support
- Topic: Need help on Movie Naming
- Replies: 9
- Views: 5311
Re: Need help on Movie Naming
Before you worry about details you first wanna try with -non-strict set and see how it goes.
- 28 Sep 2013, 15:50
- Forum: Help and Support
- Topic: Need help on Movie Naming
- Replies: 9
- Views: 5311
Re: Need help on Movie Naming
If you already know there's only gonna be movie files you'll be better of with this script:
http://www.filebot.net/forums/viewtopic ... &t=5#p2211
Just force movie mode via --db TheMovieDB and things should go more smooth than with AMC which has to figure out what each video file is.
http://www.filebot.net/forums/viewtopic ... &t=5#p2211
Just force movie mode via --db TheMovieDB and things should go more smooth than with AMC which has to figure out what each video file is.
- 28 Sep 2013, 13:51
- Forum: Help and Support
- Topic: Where do FileBot Store The Naming Format
- Replies: 1
- Views: 1799
Re: Where do FileBot Store The Naming Format
1.
Normally it'd be stored in the Windows registry. Which is gone in your case I guess. Next time you have a good format share it here in the forums for save keeping.
2.
No. Keep posting the missing RGs you find.
Normally it'd be stored in the Windows registry. Which is gone in your case I guess. Next time you have a good format share it here in the forums for save keeping.
2.
No. Keep posting the missing RGs you find.
- 28 Sep 2013, 13:40
- Forum: Feature Requests and Bug Reports
- Topic: Fetch Artwork & Content NFOs for Anime (AniDB.net)
- Replies: 1
- Views: 2029
Re: Fetch Artwork & Content NFOs for Anime (AniDB.net)
I'm not aware they provide that through any of their APIs. If it's part of the HTTP API maybe I can think about it. If you're talking about page scraping or UDP API then simply no, though u can always DIY
- 28 Sep 2013, 13:37
- Forum: Help and Support
- Topic: File Info/Metadata into CSV
- Replies: 9
- Views: 5390
Re: File Info/Metadata into CSV
You can take this as a reference:
http://www.filebot.net/forums/viewtopic ... &t=5#p5394
You can learn from this one and other scripts, and then code things yourself and create .csv files the way you like.
PS: If coding is not your thing, then this is not possible for you at this point.
http://www.filebot.net/forums/viewtopic ... &t=5#p5394
You can learn from this one and other scripts, and then code things yourself and create .csv files the way you like.
PS: If coding is not your thing, then this is not possible for you at this point.
- 28 Sep 2013, 09:23
- Forum: Feature Requests and Bug Reports
- Topic: Checking against a seperate file for IMDB id.
- Replies: 2
- Views: 3364
Re: Checking against a seperate file for IMDB id.
You can modify media.types and add txt as nfo extension. Then it'll check txt files for imdb patterns as well. You could just add an extra field to the existing nfo, filebot will pick up anything that looks like imdb id regardless of xml structure. Like add xml comments anywhere: <!-- http://www.imd...
- 28 Sep 2013, 09:18
- Forum: Help and Support
- Topic: File Info/Metadata into CSV
- Replies: 9
- Views: 5390
Re: File Info/Metadata into CSV
Not impossible anyway. You can play with the view xattr script if that'll give u some useful information.
So doable, but quite a bit of work.
So doable, but quite a bit of work.
- 28 Sep 2013, 09:16
- Forum: Help and Support
- Topic: IRC Chat
- Replies: 3
- Views: 3282
Re: IRC Chat
Nope. I'd probably the only one on there and I don't have time.
- 28 Sep 2013, 09:14
- Forum: Help and Support
- Topic: Need help on Movie Naming
- Replies: 9
- Views: 5311
Re: Need help on Movie Naming
{vc} should give you x264 if it's encoded with x264, not some other AVC codec. It'll read the file with mediainfo to get that info:
Test:
Otherwise this works:
Code: Select all
{vc.replace('AVC', 'x264')}
Code: Select all
{"AVC".replace('AVC', 'x264')}
- 28 Sep 2013, 09:04
- Forum: Help and Support
- Topic: File Info/Metadata into CSV
- Replies: 9
- Views: 5390
Re: File Info/Metadata into CSV
The current script doesn't do any detection so you'll only have filename/mediainfo (not genre, imdb id, etc) data to work with. Doing all that detection logic to the script won't be easy. Best thing would be to first rename files with filebot, and as long as xattr is enabled the files will be tagged...
- 27 Sep 2013, 12:31
- Forum: Scripting and Automation
- Topic: Setting up filebot with utorrent
- Replies: 6
- Views: 8283
Re: Setting up filebot with utorrent
This the filebot call we came up with: * The only notable change from above is that it sorts movies like "The Movie" into folder M rather than folder T. filebot -script fn:amc --output "." --log-file amc.log --action copy --conflict override -non-strict --def artwork=n "subt...
- 27 Sep 2013, 07:00
- Forum: Feature Requests and Bug Reports
- Topic: Incorrect Matches
- Replies: 1
- Views: 1898
Re: Incorrect Matches
It'll work better once somebody fills out the data properly:
http://thetvdb.com/?tab=season&seriesid ... 7373&lid=7
EDIT: Did some tuning and this issue should be fixed with r1751
http://thetvdb.com/?tab=season&seriesid ... 7373&lid=7
EDIT: Did some tuning and this issue should be fixed with r1751
- 27 Sep 2013, 06:47
- Forum: Help and Support
- Topic: n00b ? about subtitles
- Replies: 1
- Views: 1722
Re: n00b ? about subtitles
That'll work. If subtitles are available on OpenSubtitles is another question.
PS: Subtitle naming doesn't require any specific naming, should work for anything. Usually the original release name should give u the best matching subtitles.
PS: Subtitle naming doesn't require any specific naming, should work for anything. Usually the original release name should give u the best matching subtitles.
- 27 Sep 2013, 06:36
- Forum: Help and Support
- Topic: Lonney Tunes on Raspberry Pi
- Replies: 4
- Views: 3674
Re: Lonney Tunes on Raspberry Pi
If you need it 100% you shouldn't use -non-strict. It'll always work, but it'll also ignore files when it can't be sure it's a correct match.mrchrister wrote:Do you know of other optimisations I could try to not pick up false positives?
- 26 Sep 2013, 03:36
- Forum: Help and Support
- Topic: Lonney Tunes on Raspberry Pi
- Replies: 4
- Views: 3674
Re: Lonney Tunes on Raspberry Pi
Check this data dump:
The episode data is entered incorrectly. All episodes are listed with airdate year 1930.
Instead you can try using s < 2000 instead, or correcting the data in TheTVDB.
Code: Select all
filebot -list --q "looney tunes" --format "{json}"
Instead you can try using s < 2000 instead, or correcting the data in TheTVDB.
- 25 Sep 2013, 20:35
- Forum: Feature Requests and Bug Reports
- Topic: [Incorrect Match] BBC Life (2009)
- Replies: 1
- Views: 2712
Re: [Incorrect Match] BBC Life (2009)
BBC being on the query-blacklist messed things up a bit. Fixed now. Argument: D:\workspace\testdata\AMC-TEST Input: D:\workspace\testdata\AMC-TEST\BBC.Life.S01E02.Reptiles and Amphibians.2009.720p.BluRay.mkv Group: [tvs:Life] => [BBC.Life.S01E02.Reptiles and Amphibians.2009.720p.BluRay.mkv] Rename e...
- 25 Sep 2013, 06:12
- Forum: Scripting and Automation
- Topic: Streaming Channel's Need Help
- Replies: 26
- Views: 13882
Re: Streaming Channel's Need Help
I'd be best of the download application call filebot on download complete, like the amc script.
Otherwise you can check into the watcher script.
Otherwise you can check into the watcher script.
- 24 Sep 2013, 20:50
- Forum: Scripting and Automation
- Topic: Automated Media Center: Custom sized artwork
- Replies: 6
- Views: 3991
Re: Automated Media Center: Custom sized artwork
If you manage to make convert work on a single image, u can combine it with find -exec to do it for all:
http://www.grymoire.com/Unix/Find.html#uh-13
http://www.grymoire.com/Unix/Find.html#uh-13
- 24 Sep 2013, 20:20
- Forum: Scripting and Automation
- Topic: Automated Media Center: Custom sized artwork
- Replies: 6
- Views: 3991
Re: Automated Media Center: Custom sized artwork
You could modify htpc.groovy and to pick the artwork u want, though it'll require lots of experimenting to get it working.
If I were you I'd run a batch resize script. I'm sure there's tools out there. Or use bash and some sort of find -exec imagemagick resize ...
If I were you I'd run a batch resize script. I'm sure there's tools out there. Or use bash and some sort of find -exec imagemagick resize ...
- 24 Sep 2013, 20:14
- Forum: Help and Support
- Topic: [SOLVED] Automation script doesn't delete source folder
- Replies: 2
- Views: 2245
Re: Automation script doesn't delete source folder
Can u guess what is wrong?
Code: Select all
sclean=y
- 24 Sep 2013, 11:02
- Forum: Scripting and Automation
- Topic: Same file enclose in different folder = different result
- Replies: 10
- Views: 6427
Re: Same file enclose in different folder = different result
Rename movies using [TheMovieDB] Auto-detect movie from context: [D:\workspace\testdata\AMC-TEST\A PROCESAR\PELICULAS\Objetivo.La.Casa.Blanca.1080p.by.israntxa.mkv] Apply Filter: {y > 2000} Include [Olympus Has Fallen (2013)] [TEST] Rename [D:\workspace\testdata\AMC-TEST\A PROCESAR\PELICULAS\Objeti...
- 24 Sep 2013, 10:51
- Forum: Help and Support
- Topic: Add a 10 second delay before running script?
- Replies: 1
- Views: 1772
Re: Add a 10 second delay before running script?
You can modify the script. Or just add some sleep call before the filebot call.