News: 0.5.4 Final is out!  | Return to SABnzbd.org | Contribute to SABnzbd+ | Donors September 06, 2010, 06:07:17 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?
*

Dashboard widget
Pages: [1] 2
  Print  

  Dashboard widget
Author Message
qwerty967
Jr. Member
**
Posts: 58


View Profile
« on: August 12, 2008, 05:13:01 AM »

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


* widget.png (23.3 KB, 194x194 - viewed 777 times.)

* back.png (41.09 KB, 190x198 - viewed 192 times.)
« Last Edit: April 11, 2010, 10:51:36 PM by qwerty967 » Logged

pair of dimes
SABnzbd Developer
Administrator
Hero Member
*****
Posts: 1542



View Profile
« Reply #1 on: August 12, 2008, 01:45:48 PM »

I just tried this out on my local connection, awesome job!

I like the look of it a lot, and it works as expected.

I imagine it would also work remotely? (I saw where you can type in host IP etc)

Do you know if there's a way to run multiple widgets at the same time?
Logged

qwerty967
Jr. Member
**
Posts: 58


View Profile
« Reply #2 on: August 12, 2008, 07:54:50 PM »

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.
Logged

lowfi
Newbie
*
Posts: 18


View Profile
« Reply #3 on: November 06, 2008, 04:08:32 PM »

old topic kick... Smiley

nice. 1.2 could use a queue function  Kiss
Logged
interfacelift
Jr. Member
**
Posts: 77



View Profile
« Reply #4 on: November 06, 2008, 05:01:27 PM »

It'd be great if you could drag and drop an .nzb file to the widget and have it added to the queue.
Logged
qwerty967
Jr. Member
**
Posts: 58


View Profile
« Reply #5 on: November 07, 2008, 01:29:45 AM »

New release: 1.2

Added drag and drop of NZBs, ZIPs, and RARs


Jumped the gun too soon. More testing needed.  Angry
« Last Edit: November 07, 2008, 01:37:10 AM by qwerty967 » Logged

pieteckhart
Release Testers
Full Member
*
Posts: 139


You wouldn't download a car


View Profile WWW
« Reply #6 on: November 11, 2008, 12:13:59 PM »

New release: 1.2

Added drag and drop of NZBs, ZIPs, and RARs


Jumped the gun too soon. More testing needed.  Angry

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.
Logged

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
**
Posts: 58


View Profile
« Reply #7 on: November 11, 2008, 12:31:12 PM »

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.  Cheesy

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

rAf
OSX maintainer
Moderator
Hero Member
*****
Posts: 717


View Profile WWW
« Reply #8 on: November 11, 2008, 02:07:20 PM »

I use this command in SABnzbdX too Smiley

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

qwerty967
Jr. Member
**
Posts: 58


View Profile
« Reply #9 on: December 18, 2008, 04:58:35 PM »

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.
Logged

officechris
Newbie
*
Posts: 2


View Profile
« Reply #10 on: December 18, 2008, 10:18:31 PM »

awww I got so excited until I saw it didn't have remote sab server support, just local Sad
Logged
qwerty967
Jr. Member
**
Posts: 58


View Profile
« Reply #11 on: December 18, 2008, 10:22:31 PM »

awww I got so excited until I saw it didn't have remote sab server support, just local Sad
Did you click the options button (the i button in the bottom right of the widget)?
Logged

BrandonG777
Jr. Member
**
Posts: 76


Good times, no troubles!


View Profile
« Reply #12 on: February 17, 2009, 07:03:58 PM »

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.
Logged
qwerty967
Jr. Member
**
Posts: 58


View Profile
« Reply #13 on: February 18, 2009, 04:03:54 PM »

I can't make this work am I missing something?
I'm going to need more information to help you.
Logged

BrandonG777
Jr. Member
**
Posts: 76


Good times, no troubles!


View Profile
« Reply #14 on: February 18, 2009, 05:20:05 PM »

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.
Logged

Pages: [1] 2
  Print  
 

Jump to: