Page 1 of 1

Script stopped working after updating (OS & Filebot) OSX/4.2

Posted: 01 Oct 2014, 21:06
by djwirk
I was using a folder action script - I have no idea how I even got it working in the first place a year or so ago. In the last few months however it just has not been working at all. I am currently running OS X Yosemite Beta 3, and just today upgraded to FileBot 4.2, but I still can't get the script to run.

I have it set as a folder action, and I'm not sure if the syntax has changed with the new version of FileBot, if I need to do a modified version of the script with Yosemite or what.

I'm using it to rename TV shows that deluge downloads (I tried getting the scripts to work with that, but it never worked for me in the past so I ended up going with folder actions.)

Here is my script as I had it working before:

/Applications/Filebot.app/Contents/MacOS/filebot -rename ~/Downloads --output ~/Downloads/TV\ Shows --format "{n} - {s00e00} - {t}" --db thetvdb -non-strict --def artwork=y -r


Image


Would appreciate any light anyone is able to shine on this.
Thank you in advance.

Re: Script stopped working after updating (OS & Filebot) OSX

Posted: 02 Oct 2014, 01:31
by rednoah
It's filebot.sh now. You could easily have figured that out buy just running it from Console just once.

Also, your --def artwork options isn't doing anything. That's an amc script option.

Re: Script stopped working after updating (OS & Filebot) OSX

Posted: 03 Oct 2014, 06:35
by djwirk
Thank you. I really am pretty dense when it comes to this, TBH I don't even know how to run this from console/(terminal?) - At any rate. Thank you very much. I added .sh and as you noted the --def artwork wasn't doing anything so I culled it.

It was dumb luck that I got the scrip to work in the first place, so thank you for helping me get it working again. Much appreciated.

Re: Script stopped working after updating (OS & Filebot) OSX

Posted: 03 Oct 2014, 06:38
by djwirk
I get that your reply was kind of talking down to me, but either way - I've appreciated this soft and while I LOVE it standalone, I am so thankful that I can scrip this. I wish I understood the scripting a little better, but at any rate. Thanks again. Submitted a donation.

Re: Script stopped working after updating (OS & Filebot) OSX

Posted: 03 Oct 2014, 10:40
by rednoah
Well, even I'd have a hard time programming blind like this, without output or error messages.

That's why you first prototype with Console, and once you get it running you just copy and paste. That's gonna be much less painful no matter if you know what you're doing or not. ;)