Page 1 of 2

Dashboard widget

Posted: August 12th, 2008, 4:13 am
by qwerty967
Download 1.3

This is a widget for the Mac OS X Dashboard. It's based on a previous effort of mine, SABnzbd Status for Opera. To change the settings, click on the i at the bottom right of the widget. Drag and drop files onto the widget to add to the queue.

Changelog
1.2 - Allow drag and drop
1.3 - Fixed auth issue; compatitle with only SABnzbd 0.4.9 or later because of new api key system

Re: Dashboard widget

Posted: August 12th, 2008, 6:54 pm
by qwerty967
Thanks for the compliments.

It does work with remote hosts. You can add multiple widgets the normal way: by clicking the + button at the bottom left of the Dashboard.

Re: Dashboard widget

Posted: November 6th, 2008, 3:08 pm
by lowfi
old topic kick... :)

nice. 1.2 could use a queue function  :-*

Re: Dashboard widget

Posted: November 6th, 2008, 4:01 pm
by interfacelift
It'd be great if you could drag and drop an .nzb file to the widget and have it added to the queue.

Re: Dashboard widget

Posted: November 7th, 2008, 12:29 am
by qwerty967
New release: 1.2

Added drag and drop of NZBs, ZIPs, and RARs


Jumped the gun too soon. More testing needed.  >:(

Re: Dashboard widget

Posted: November 11th, 2008, 11:13 am
by pieteckhart
qwerty967 wrote: New release: 1.2

Added drag and drop of NZBs, ZIPs, and RARs


Jumped the gun too soon. More testing needed.  >:(
what exactly do you need to know about drag and drop uploading?
maybe i can help you with how yo upload binary files via javascript. it took me a while to figure it out myself.

Re: Dashboard widget

Posted: November 11th, 2008, 11:31 am
by qwerty967
The problem is that the widget works in Dashcode (the IDE) but not Dashboard. I figure it's going to be a pain to see what's wrong, so I've been putting it off. I will get to it eventually, meanwhile 1.2 (upload non-functioning) is already online if anyone is curious.

I've been using tcpdump/Wireshark to see how http post worked. Then I realized I could just call curl from the widget.  :D

Code: Select all

curl -F "@/Users/username/test.nzb" "http://localhost:8080/sabnzbd/api?mode=addfile"

Re: Dashboard widget

Posted: November 11th, 2008, 1:07 pm
by rAf
I use this command in SABnzbdX too :)

Code: Select all

curl -F "name=@/Users/username/test.nzb" "http://localhost:8080/sabnzbd/api?mode=addfile"

Re: Dashboard widget

Posted: December 18th, 2008, 3:58 pm
by qwerty967
In case it wasn't obvious, version 1.2 (drag & drop NZBs/ZIPs/RARs) is available. Nothing was wrong with it--I just have to restart Dashboard (killall Dock) when developing widgets. Also if switch could update the list of third-party addons to include this widget and remove NZBqueuer, that would be awesome.

Re: Dashboard widget

Posted: December 18th, 2008, 9:18 pm
by officechris
awww I got so excited until I saw it didn't have remote sab server support, just local :(

Re: Dashboard widget

Posted: December 18th, 2008, 9:22 pm
by qwerty967
officechris wrote: awww I got so excited until I saw it didn't have remote sab server support, just local :(
Did you click the options button (the i button in the bottom right of the widget)?

Re: Dashboard widget

Posted: February 17th, 2009, 6:03 pm
by BrandonG777
I can't make this work am I missing something? I've tried it on my local network and from work, neither works. I've also entered the full hostname, IP address, and HTTP address in host and nothing works. I've also entered my username and password and nothing works.

Re: Dashboard widget

Posted: February 18th, 2009, 3:03 pm
by qwerty967
BrandonG777 wrote: I can't make this work am I missing something?
I'm going to need more information to help you.

Re: Dashboard widget

Posted: February 18th, 2009, 4:20 pm
by BrandonG777
qwerty967 wrote:
BrandonG777 wrote: I can't make this work am I missing something?
I'm going to need more information to help you.
Ok, well I did provide more information.

I can't make this work am I missing something? I've tried it on my local network and from work, neither works. I've also entered the full hostname, IP address, and HTTP address in host and nothing works. I've also entered my username and password and nothing works.

Is there something in particular you're asking for? IP ranges, netmasks, OSs, versions? I don't know what you need. I tried the opera widget and that worked on the same systems and I setup the dashboard widget identical to it.

Re: Dashboard widget

Posted: February 18th, 2009, 4:26 pm
by qwerty967
Which version of Mac OS X are you using?