Search found 22976 matches

by rednoah
10 Feb 2013, 05:44
Forum: Feature Requests and Bug Reports
Topic: Can filebot add shows to myepisodes?
Replies: 4
Views: 4072

Re: Can filebot add shows to myepisodes?

That option is specifically disabled because I'd assume people would keep running into the 200 shows limit, maybe you only wanna update the specific shows? Anyway, I'm setting addshows=true by default then and see if anybody complains: include('fn:update-mes', [login:myepisodes.join(':'), addshows:t...
by rednoah
10 Feb 2013, 05:37
Forum: Scripting and Automation
Topic: Help with the Automated Media Server (MAC)
Replies: 23
Views: 14376

Re: Help with the Automated Media Server (MAC)

Some tutorial with screenshots on how to do it on Mac would be appreciated by others I'm sure. ;)
by rednoah
09 Feb 2013, 16:34
Forum: Feature Requests and Bug Reports
Topic: subtitle downloader seem broken
Replies: 4
Views: 4542

Re: subtitle downloader seem broken

That's nice, but website links don't help me when the opensubtitles api doesn't give me that result. If you can find it in the Subtitles panel it'll work. If you can't find it in the Subtitles panel it doesn't exist according to the OpenSubtitles API. With the latest HEAD it works, but only because ...
by rednoah
09 Feb 2013, 15:36
Forum: Feature Requests and Bug Reports
Topic: subtitle downloader seem broken
Replies: 4
Views: 4542

Re: subtitle downloader seem broken

btw the subtitle does exist in opensubtitle....
No, it doesn't.

Fixed some potential issues anyway with r1460.
by rednoah
09 Feb 2013, 05:34
Forum: Scripting and Automation
Topic: Help with the Automated Media Server (MAC)
Replies: 23
Views: 14376

Re: Help with the Automated Media Server (MAC)

transmission-postprocess would be a file you created right? And it's really just a text file that contains the bash script i posted plus made executable via chmod. reinhard@serenity:~$ cat transmission-postprocess #!/bin/bash filebot -script fn:utorrent-postprocess --output "$HOME/Videos" ...
by rednoah
09 Feb 2013, 02:37
Forum: Scripting and Automation
Topic: Copying and moving files upon completion.
Replies: 3
Views: 3486

Re: Copying and moving files upon completion.

With the latest RC you can use {pi}. Link is on Facebook.
by rednoah
08 Feb 2013, 18:45
Forum: Scripting and Automation
Topic: Some help with my script
Replies: 13
Views: 7036

Re: Some help with my script

Kinda like a better type cast. Don't you have that in the .NET world as well? http://stackoverflow.com/questions/1275681/groovy-type-conversion Actually you can pass in Strings as well. I'll cast to File anyway: def include(String input, Map bindings = [:], Object... args) { // initialize default pa...
by rednoah
08 Feb 2013, 18:01
Forum: Scripting and Automation
Topic: Help with the Automated Media Server (MAC)
Replies: 23
Views: 14376

Re: Help with the Automated Media Server (MAC)

chmod is one of the most basic cmdline tools. Just do any tutorial on how to use the console and you'll get it.

e.g.

Code: Select all

chmod +rx transmission-postprocess
Here's docs on where transmission stores configs:
https://trac.transmissionbt.com/wiki/ConfigFiles
by rednoah
08 Feb 2013, 07:26
Forum: Scripting and Automation
Topic: Some help with my script
Replies: 13
Views: 7036

Re: Some help with my script

Why not simply have a batch script that'll call your script and then the cleaner?

Though you can call the cleaner directly from your script as well like this:

Code: Select all

include('fn:cleaner', [:], ['path/to/folder' as File])
by rednoah
08 Feb 2013, 05:14
Forum: Scripting and Automation
Topic: Help with the Automated Media Server (MAC)
Replies: 23
Views: 14376

Re: Help with the Automated Media Server (MAC)

You know what chmod is right? The command to changing file permissions?

On Linux all the transmission configs are in my home folder. I'm sure it can't be much different on Mac. Must be somewhere in the home folder.
by rednoah
08 Feb 2013, 03:57
Forum: Scripting and Automation
Topic: Copying and moving files upon completion.
Replies: 3
Views: 3486

Re: Copying and moving files upon completion.

Isn't it copying things by default anyway?

Code: Select all

--action copy
Just read the "Customize Paths" section:

Code: Select all

--def music=y "musicFormat=/path/to/Automatically Add to iTunes/{n}/{album}/{n} - {t}"
by rednoah
07 Feb 2013, 19:46
Forum: Scripting and Automation
Topic: Fully Automated Media Center FAQ
Replies: 21
Views: 12953

Re: Fully Automated Media Center FAQ

I'm not gonna put everybodies special requests into my sample script but I guess you should be able make things work via --def ignore=regex. Each filepath that matches this regex will be ignored.
by rednoah
07 Feb 2013, 13:19
Forum: Scripting and Automation
Topic: Help with the Automated Media Server (MAC)
Replies: 23
Views: 14376

Re: Help with the Automated Media Server (MAC)

Here's how to set up the automated media center scripts with Transmission:
http://filebot.sourceforge.net/forums/v ... 3382#p3380
by rednoah
07 Feb 2013, 13:13
Forum: Scripting and Automation
Topic: [Question] Script to rename [MAC]
Replies: 16
Views: 9881

Re: [Question] Script to rename [MAC]

Tutorial on how to set up automated processing with Transmission:
http://filebot.sourceforge.net/forums/v ... =215#p3380
by rednoah
06 Feb 2013, 16:34
Forum: Feature Requests and Bug Reports
Topic: [3.2] GConf-WARNING **: Client failed to connect to the D-BU
Replies: 15
Views: 10351

Re: [3.2] GConf-WARNING **: Client failed to connect to the

It's all on sourceforge, but never mind, already found a fix. You'll need to update to the latest HEAD jar and then just follow this thread:
http://filebot.sourceforge.net/forums/v ... ?f=4&t=500
by rednoah
06 Feb 2013, 15:54
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 12849

Re: Hardlinking with "Fully automated media center" script

There was some bug with forceExtractAll. Must be set to true as a workaround for now:

Code: Select all

def extractedFiles = extract(file: files.findAll{ it.isArchive() }, output: '_extract', conflict: 'override', filter: { it.isVideo() }, forceExtractAll: true)
by rednoah
06 Feb 2013, 10:39
Forum: Scripting and Automation
Topic: Hardlinking with "Fully automated media center" script
Replies: 19
Views: 12849

Re: Hardlinking with "Fully automated media center" script

Yes, that'll work. Though I'd make it crash with an exception so the process returns with an error exit code. Also fixed your boolean logic as you came up with an tautology :P

Code: Select all

if (ut_label != 'movie' && ut_label != 'tv' ) {
	throw new Exception("Invalid label: $ut_label")
}
by rednoah
06 Feb 2013, 10:35
Forum: Feature Requests and Bug Reports
Topic: Create a link to IMDb site for each movie, at movie's folder
Replies: 16
Views: 15753

Re: Create a link to IMDb site for each movie, at movie's fo

This should work: args.getFiles{ it.extension == 'nfo' }.each{ nfo -> def xml = nfo.text.xml ['imdb', 'tmdb'].each{ db -> def url = xml."$db".text() if (url) { def urlFile = new File(nfo.dir, "${db}.url") def content = "[InternetShortcut]\nURL=${url}\n" println content....
by rednoah
06 Feb 2013, 09:42
Forum: Help and Support
Topic: Complete Beginner
Replies: 82
Views: 54122

Re: Complete Beginner

Here's what I came up on how to do things with Transmission on Linux. Should work the same on Mac though:
http://filebot.sourceforge.net/forums/v ... 3382#p3380
by rednoah
06 Feb 2013, 09:37
Forum: Scripting and Automation
Topic: Deluge integration
Replies: 7
Views: 12375

Re: Deluge integration

by rednoah
06 Feb 2013, 09:03
Forum: Scripting and Automation
Topic: Automated Media Center
Replies: 5
Views: 877432

[Deluge] Setup for Deluge on Linux or macOS

https://deluge-torrent.org/images/deluge_logo.png Setup for Deluge on Linux or macOS Create a shell script deluge-postprocess.sh that'll call filebot and make sure to chmod +rx it: curl -O https://raw.githubusercontent.com/filebot/plugins/master/bash/deluge-postprocess.sh chmod +rx deluge-postproce...
by rednoah
06 Feb 2013, 07:28
Forum: Scripting and Automation
Topic: Automated Media Center
Replies: 5
Views: 877432

[Transmission] Setup for Transmission on Linux or macOS

https://transmissionbt.com/assets/images/icons/64.png Setup for Transmission on Linux or macOS 1. Create On Torrent Completion Script Create a On Torrent Completion shell script transmission-postprocess.sh that'll call filebot like this and make sure to chmod +rx it: curl -O https://raw.githubuserc...
by rednoah
06 Feb 2013, 03:26
Forum: Episode / Movie Naming Scheme
Topic: ExpressionFormat API Example
Replies: 0
Views: 2881

ExpressionFormat API Example

Here's an example on how to use FileBots ExpressionFormat API. Java: public static class Bindings { @Define("r") public int getRandom() { return Math.abs(new Random().nextInt()); } }; public static void main(String[] args) throws Exception { ExpressionFormat template = new ExpressionFormat...
by rednoah
06 Feb 2013, 02:50
Forum: Help and Support
Topic: movie naming strategy
Replies: 2
Views: 2720

Re: movie naming strategy

Any updates? This is kinda how it should work:
http://www.youtube.com/watch?v=brGyo2uQzSs
by rednoah
06 Feb 2013, 02:40
Forum: Feature Requests and Bug Reports
Topic: Create a link to IMDb site for each movie, at movie's folder
Replies: 16
Views: 15753

Re: Create a link to IMDb site for each movie, at movie's fo

You'll have to make a text file (e.g. makeurls.groovy) and then copy & paste that piece of code. Then you'll need to open the cmdline and run it with filebot.

e.g.

Code: Select all

filebot -script makeurls.groovy /path/to/movies