Utorrent script help please
Posted: 08 Oct 2012, 08:14
Ok so a few things on this utorrent script are holding me back. I'm finally trying to get it working for me.
1. I'd really like the same file used for folder.jpg, poster.jpg and movie.tbn but I really don't know of an easy way to download it once and save it as all 3 filenames, help would be appreciated.
2. I don't know what's going on with the email portion of this but it has never worked for me, so maybe you could point me in the right direction there, I thought I just had to throw in my gmail=username:password but maybe it doesn't like that I have 2.'s in my email address? I'm not sure
*****edit**** Well damn. I just tried copy and pasting the stock call from inside the utorrent script and only changing the things I had to and let it run and it did email me for the first time, so something I'm doing is messing it up.
****edit**** It seems that because I'm using a local file for my formatting needs instead of include lib, which then looks locally, I tried include fn lib which seemed like maybe it would work but still gave errors, although not as easy to figure out. I changed it to include http:...... then it worked once it was finding the the script online properly. I guess I could save it locally just in case a future change renders it useless to me, but finally it works. Now, if only I could figure out how to get rid of all my socket timeouts on artwork and how to save multiple posters like I mentioned above.
Thanks so much in advance.
1. I'd really like the same file used for folder.jpg, poster.jpg and movie.tbn but I really don't know of an easy way to download it once and save it as all 3 filenames, help would be appreciated.
2. I don't know what's going on with the email portion of this but it has never worked for me, so maybe you could point me in the right direction there, I thought I just had to throw in my gmail=username:password but maybe it doesn't like that I have 2.'s in my email address? I'm not sure
*****edit**** Well damn. I just tried copy and pasting the stock call from inside the utorrent script and only changing the things I had to and let it run and it did email me for the first time, so something I'm doing is messing it up.

****edit**** It seems that because I'm using a local file for my formatting needs instead of include lib, which then looks locally, I tried include fn lib which seemed like maybe it would work but still gave errors, although not as easy to figure out. I changed it to include http:...... then it worked once it was finding the the script online properly. I guess I could save it locally just in case a future change renders it useless to me, but finally it works. Now, if only I could figure out how to get rid of all my socket timeouts on artwork and how to save multiple posters like I mentioned above.
Code: Select all
SocketTimeoutException: Read timed out
ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
Script18.groovy: 1: unexpected token: < @ line 1, column 1.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
^
1 error
MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.Groov
yScriptEngineImpl.sendGmail() is applicable for argument types: (java.util.Linke
dHashMap) values: [[subject:[FileBot] xxxxxxx, message:<html>
................
shows all the info from the cells it's trying to create in the table that I'd like to get emailed to me (that I never messed with btw), only thing I did at all with the email is tried calling the script from utorrent with my username and password provided like others have shown and I added the fn part to the include lib/ant because it was trying to look locally, I guess since I'm running a local file to try get the naming format I want.
................
at Script3.run(Script3.groovy:206)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Thanks so much in advance.