Search found 16 matches

by Evo
04 May 2012, 18:20
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

Re: How To: Send emails when FileBot renames or moves files.

Updated the script to differentiate between movies and tv shows.
by Evo
04 May 2012, 18:04
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

Re: How To: Send emails when FileBot renames or moves files

Edit: Silly me. Ok will try getting it working with a daemon now
by Evo
04 May 2012, 17:45
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

Re: How To: Send emails when FileBot renames or moves files

Hmmm, seem unable to get this to work. Any ideas? def updateFreq = 5 * 60 * 1000 Thread.startDaemon { while (sleep(updateFreq) || true) { def groups = args.getFiles().groupBy{ def tvs = detectSeriesName(it) def mov = detectMovie(it, false) println "$it.name [series: $tvs, movie: $mov]" // DECIDE EPI...
by Evo
04 May 2012, 10:39
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

Re: How To: Send emails when FileBot renames or moves files

How can I modify this to detect films, rename them and move them to a different folder to the TV Shows?

Also, im not sure it differentiates properly.
Ie. Sherlock Holmes A Game of Shadows gets detected as a TV show and put into the TV Shows folder with a random episode name
by Evo
06 Mar 2012, 12:18
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

Re: How To: Send emails when FileBot renames or moves files

Yep that'll work fine. Btw do u really wanna send a mail for each file? Wouldn't it be better to just send one per rename batch? I think for some people, having one mail per rename batch would be a better solution. eg. Subject: New files have been added to the media library Text: The following file...
by Evo
06 Mar 2012, 07:58
Forum: Help and Support
Topic: Exception: Unable to auto-detect query
Replies: 1
Views: 1795

Exception: Unable to auto-detect query

I'm running this via cmd using: filebot -rename "G:/Downloads" --format "G:/TV/{n}/Season {s}/{n} Season {s} Episode {e} {t}" --db thetvdb -script "C:/Program Files/Filebot/email.groovy" -trust-script There are 2 episodes of Alcatraz and 3 of Homeland all waiting to be renamed but I get the error: E...
by Evo
06 Mar 2012, 00:22
Forum: Scripting and Automation
Topic: How To: Send emails when FileBot renames or moves files.
Replies: 17
Views: 7112

How To: Send emails when FileBot renames or moves files.

Well, for this one we can thanks rednoah for fixing it up. I'm using my Gmail account, however you can probably use SMTP server you want. 1) Download filebot 2.6 from here: http://filebot.sourceforge.net/#download 2) Install it or upgrade the older version 3) Download a program called SendEmail from...
by Evo
05 Mar 2012, 18:05
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

EDIT: Brilliant, it worked successfully. I saved the .groovy script in my program files and ran this command: filebot -rename "G:/Downloads" --format "G:/TV/{n}/Season {s}/{n} Season {s} Episode {e} {t}" --db thetvdb -script "C:/program Files/FileBot/sort.groovy" -trust-script TV Show renamed and ev...
by Evo
05 Mar 2012, 16:09
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

Had to adjust some small things internally so you'll need to update. This should work with r939: http://sourceforge.net/projects/filebot/files/filebot/HEAD/ args.eachMediaFolder() { def paths = rename(folder:it) // log rename history paths.each { def msg = "${it.name} has been added to the library"...
by Evo
05 Mar 2012, 14:52
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

Yep it works for me. Make sure you're running it as admin. Its easy enough to create an event C:\Users\A185306>eventcreate /l APPLICATION /so Filebot /t Information /id 431 / d "The program {PROGRAM NAME} - {SEASON} {EPISODE} has been added to the library" The only problem is that Filebot would have...
by Evo
04 Mar 2012, 14:09
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

In Windows you can create events using eventcreate.exe in the System 32. Its quite easy to do:
http://support.microsoft.com/kb/324145

I'll have a play with the Groovy scripting thing. Never used it before so will have to see :)
by Evo
04 Mar 2012, 12:43
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

Ok, it appeared to work. Still got a load of Java.IO exceptions but the renaming worked.

BTW: Any way to create an event log entry or firing off an email to say "TV Show Name, Season 1 Episode 1 has been added to the library" or something similar?
by Evo
04 Mar 2012, 12:36
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

Sorry, I meant I was using:

"C:\Program Files\FileBot\filebot.cmd" -rename "G:\Downloads" --format "G:\TV\{n}\Season {s}\{n} Season {s} Episode {e} {t}"


I'm using 2.5 but i'll try swapping the slashes around and let you know in a minute
by Evo
04 Mar 2012, 10:32
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

Re: IOException: The filename, directory name, or volume lab

Getting the same issue again.
If I start the GUI of Filebot up and do it manually, it works a treat. If I do it via command line using:

Code: Select all

"C:\Program Files\FileBot\filebot.cmd" -rename "G:\Downloads\" --format "G:\TV\{n}\Season {s}\{n} Season {s} Episode {e} {t}"
It doesn't work. Any ideas?
by Evo
30 Jan 2012, 19:55
Forum: Help and Support
Topic: IOException: The filename, directory name, or volume label s
Replies: 20
Views: 8711

IOException: The filename, directory name, or volume label s

Not really sure what's going wrong here. The command im using is: "C:\Program Files\FileBot\filebot.cmd" -rename "G:\Downloads\" --format "G:\TV\{n}\Season {s}\{n} Season {s} Episode {e} {t}" IOException: The filename, directory name, or volume label syntax is incorrect java.io.IOException: The file...