Dashboard widget

Got a program that plays well with SABnzbd? Share it here!
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Dashboard widget

Post 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
Last edited by qwerty967 on April 11th, 2010, 9:51 pm, edited 1 time in total.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post 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.
lowfi
Newbie
Newbie
Posts: 38
Joined: June 11th, 2008, 7:31 am

Re: Dashboard widget

Post by lowfi »

old topic kick... :)

nice. 1.2 could use a queue function  :-*
User avatar
interfacelift
Jr. Member
Jr. Member
Posts: 75
Joined: June 19th, 2008, 12:58 am
Location: Coruscant

Re: Dashboard widget

Post 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.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post by qwerty967 »

New release: 1.2

Added drag and drop of NZBs, ZIPs, and RARs


Jumped the gun too soon. More testing needed.  >:(
Last edited by qwerty967 on November 7th, 2008, 12:37 am, edited 1 time in total.
User avatar
pieteckhart
Release Testers
Release Testers
Posts: 131
Joined: April 30th, 2008, 9:34 am
Location: Netherlands
Contact:

Re: Dashboard widget

Post 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.
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post 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"
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: Dashboard widget

Post 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"
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post 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.
officechris
Newbie
Newbie
Posts: 2
Joined: December 18th, 2008, 9:13 pm

Re: Dashboard widget

Post by officechris »

awww I got so excited until I saw it didn't have remote sab server support, just local :(
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post 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)?
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: Dashboard widget

Post 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.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post by qwerty967 »

BrandonG777 wrote: I can't make this work am I missing something?
I'm going to need more information to help you.
BrandonG777
Jr. Member
Jr. Member
Posts: 79
Joined: February 9th, 2009, 5:21 pm
Location: Tulsa, OK

Re: Dashboard widget

Post 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.
qwerty967
Jr. Member
Jr. Member
Posts: 57
Joined: February 27th, 2008, 5:46 am

Re: Dashboard widget

Post by qwerty967 »

Which version of Mac OS X are you using?
Post Reply