Search found 24033 matches

by rednoah
05 Sep 2012, 17:08
Forum: Scripting and Automation
Topic: Script to replace (Event Ghost, SCRU, theRenamer)
Replies: 29
Views: 24757

Re: Script to replace (Event Ghost, SCRU, theRenamer)

1. Yep with the watcher/housekeeping scripts you'd run two filebot instances running the same script but with different arguments for TV Shows / Movie mode respectively. 2. These two scripts run indefinitely, just start them and let it run. 3. watch/housekeeping should both work, just try it. Check ...
by rednoah
05 Sep 2012, 10:17
Forum: Scripting and Automation
Topic: Script to replace (Event Ghost, SCRU, theRenamer)
Replies: 29
Views: 24757

Re: Script to replace (Event Ghost, SCRU, theRenamer)

These scripts you might be able to use right out of the box:
http://filebot.sourceforge.net/forums/v ... 4&t=5#p132

Try this:

Code: Select all

filebot -script fn:housekeeping -extract -rename 'E:/Complete/TV' --output '\\ds212/TV' --format "{n}/Season {s}/{n} - {sxe} - {t}" --db TheTVDB
by rednoah
05 Sep 2012, 09:49
Forum: Scripting and Automation
Topic: Script to replace (Event Ghost, SCRU, theRenamer)
Replies: 29
Views: 24757

Re: Script to replace (Event Ghost, SCRU, theRenamer)

Not sure how experience you have with scripting, but it shouldn't be that hard, probably mostly copy and paste. These two scripts can serve as reference and contain all the functions you might need: http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=5#p52 http://filebot.sourceforge.net/forums ...
by rednoah
04 Sep 2012, 16:45
Forum: Scripting and Automation
Topic: Release Group information out of Foldername
Replies: 1
Views: 2856

Re: Release Group information out of Foldername

{group} evaluates to the last match found in both foldername and filename. Tested with Tuerkisch.fuer.Anfaenger.2012.German.1080p.BluRay.x264-DETAiLS/d-tfanfaenger-1080p.mkv and it works.

fyi if you were gonna batch rename files, you'd use filebot/groovy for that :P
by rednoah
03 Sep 2012, 08:32
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 1133780

Re: Fully Automated Media Center

Sorry, it's disabled by default in the script. I forgot to add the options to enable it in the CLI usage:

Code: Select all

--def subtitles=y artwork=y
by rednoah
02 Sep 2012, 06:19
Forum: Feature Requests and Bug Reports
Topic: utorrent post process match failure: Bronson (2008)
Replies: 2
Views: 4531

Re: utorrent post process match failure: Bronson (2008)

Seems to work fine here. Input: E:\testdata\Deluge\completed-test\Bronson.LIMITED.720p.BluRay.x264-iNFAMOUS\inf-bronson\inf-bronson.mkv inf-bronson.mkv [series: null, movie: Bronson (2008)] Group: [tvs:null, mov:Bronson (2008), anime:null] => [inf-bronson.mkv] Rename movies using [TheMovieDB ...
by rednoah
02 Sep 2012, 06:07
Forum: Scripting and Automation
Topic: Help me create a script for certain show?
Replies: 5
Views: 5070

Re: Help me create a script for certain show?

If it's single files that get moved around then watching works fine, but whenever I copy a folder structure it sometimes doesn't pick things up. Seems to be and underlying Java/Windows problem. A. One option is to use a windows optimized tool for folder watching and then call filebot with scripts ...
by rednoah
02 Sep 2012, 05:07
Forum: Scripting and Automation
Topic: Help me create a script for certain show?
Replies: 5
Views: 5070

Re: Help me create a script for certain show?

Here a sample for watching specific files: filebot -script seebelow.groovy "X:/Downloads/" args.watch{ changes -> changes.findAll{ it =~ /(?i)the.daily.show/ }.each{ f -> rename(file: f, query: 'The Daily Show with Jon Stewart', db: 'TheTVDB', action: 'move', output: 'E:/output', format: 'The Daily ...
by rednoah
02 Sep 2012, 02:54
Forum: Scripting and Automation
Topic: Help me create a script for certain show?
Replies: 5
Views: 5070

Re: Help me create a script for certain show?

If anyone has time, here's thing to get started on this: Watch folders/files: http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=188 Rename and force series: http://filebot.sourceforge.net/forums/viewtopic.php?f=4&t=158 Should be pretty easy to DIY if you know your way around Groovy but since ...
by rednoah
02 Sep 2012, 02:40
Forum: Help and Support
Topic: Help with a new script
Replies: 7
Views: 7192

Re: Help with a new script

Check the script, look for where it does "extract" and delete that line.
by rednoah
01 Sep 2012, 12:00
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 1133780

Re: Fully Automated Media Center

1. Then it should both be the latest. Send me the console output and I'll have a look what's happening.

2. Just add the XBMC host like like it says in the options docs, i.e. --def xbmc=localhost
by rednoah
01 Sep 2012, 05:23
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 1133780

Re: Fully Automated Media Center

Run it manually in the console and see what happens. Make sure you're running the latest version of filebot with the latest version of this script.
by rednoah
01 Sep 2012, 00:43
Forum: Help and Support
Topic: Help needed renaming lang.upperInitial()
Replies: 2
Views: 3362

Re: Help needed renaming lang.upperInitial()

That's because lang is of type Locale, not String.

e.g.

Code: Select all

{lang.toString().upper()}

Code: Select all

{lang.ISO3Language.upper()}

Code: Select all

{lang.displayName.upper()}
by rednoah
29 Aug 2012, 11:43
Forum: Help and Support
Topic: Help with a new script
Replies: 7
Views: 7192

Re: Help with a new script

Well you wouldn't need to add a filter for each show, just the ones where two shows with the same name mess things up, also --filter !t.empty would take out any episode without title, --filter y>2000 would take out all old shows. You might catch lots of problems with general rules like that. You ...
by rednoah
29 Aug 2012, 11:22
Forum: Feature Requests and Bug Reports
Topic: Multilanguage, configuration and data origins
Replies: 5
Views: 5259

Re: Multilanguage, configuration and data origins

That's really a lot of page scrapers. Wouldn't even be much work to build a plugin system like that with Groovy. But filebot has had scripting for a year and I'm effectively the only one writing scripts. In anycase always happy if anyone wants to contribute but so far nobody that ever offered to ...
by rednoah
28 Aug 2012, 16:31
Forum: Scripting and Automation
Topic: Filebot on Synology Diskstation
Replies: 8
Views: 18241

Re: Filebot on Synology Diskstation

Maybe use ' ? or escape blank with \? In anycase this is a console problem, just read some tutorials online and see if you can make it work.
by rednoah
28 Aug 2012, 15:26
Forum: Scripting and Automation
Topic: Filebot on Synology Diskstation
Replies: 8
Views: 18241

Re: Filebot on Synology Diskstation

First of all you need to quote the argument which is obvious from the error message as it is interpreted as two: => "/volume1/video/Tv Shows" Now you could add -r (for recursive) and -non-strict (for allowing fuzzy matching required for handling many shows at once) but I'd recommend running a rename ...
by rednoah
28 Aug 2012, 11:32
Forum: Feature Requests and Bug Reports
Topic: Multilanguage, configuration and data origins
Replies: 5
Views: 5259

Re: Multilanguage, configuration and data origins

TheMovieDB supports aka titles for different languages and FileBot will grab you the data for the selected language. I'd just be polite to add the missing data of you find something missing. That helps FileBot and pretty much every other software that works with movies.
by rednoah
28 Aug 2012, 11:25
Forum: Feature Requests and Bug Reports
Topic: Delete empty folders
Replies: 13
Views: 14614

Re: Delete empty folders

That's why people should just use my predefined stuff:

Code: Select all

filebot -script fn:cleaner ...
Being able to modify things is just an added bonus.
by rednoah
28 Aug 2012, 05:05
Forum: Help and Support
Topic: Help with a new script
Replies: 7
Views: 7192

Re: Help with a new script

List cmdline options: 1. Cmdline help filebot -help 2. Cmdline docs http://filebot.sf.net/cli.html Now Beck VS Beck (Ekman) is just bad luck. Usually it'd prefer "Beck" because it matches the file better BUT in this case Beck (Ekman) is reduced to "Beck" since it triggers special handling for ...
by rednoah
28 Aug 2012, 03:08
Forum: Scripting and Automation
Topic: Sorting films by genre with symlinks?
Replies: 9
Views: 8298

Re: Sorting films by genre with symlinks?

Sure, no worries. Let me know if you encounter any more problems and post the stuff you came up with when your finished. ;)
by rednoah
27 Aug 2012, 14:02
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 1133780

Re: Fully Automated Media Center

I donno. What's it doing? In the utorrent log it'll show you exactly what command it's calling, just try pasting that into the cmd and see what happens.
by rednoah
27 Aug 2012, 13:43
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1035
Views: 1133780

Re: Fully Automated Media Center

PATH is automatically adjusted by msi so basically Windows itself updating the %PATH%. With or without \ both works. The reason cmd didn't recognize filebot at first is that it's reading PATH on startup. So if you first start cmd and then install filebot it will use the old PATH and not find ...
by rednoah
27 Aug 2012, 13:04
Forum: Scripting and Automation
Topic: Sorting films by genre with symlinks?
Replies: 9
Views: 8298

Re: Sorting films by genre with symlinks?

Well, the sample script works as it is. But you somehow randomly copy&pasted things together... The only thing that changes is adding a custom action property where the value of that property is a closure: args.eachMediaFolder { rename(folder:it, action:{ from, to -> execute('echo', 'FROM', from ...