News
:
0.5.0 RC6 is out!
|
Return to SABnzbd.org
|
Contribute to SABnzbd+
|
Donors
February 08, 2010, 11:29:19 PM
Home
|
Help
|
Search
|
Login
|
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
SABnzbd+ Forums
»
Development
»
Third-party Addons
»
Desktop widget: SABnzbd Status
Desktop widget: SABnzbd Status
Pages: [
1
]
2
« previous
next »
Print
Desktop widget: SABnzbd Status
Author
Message
qwerty967
Jr. Member
Posts: 55
Desktop widget: SABnzbd Status
«
on:
March 05, 2008, 02:08:32 PM »
http://widgets.opera.com/widget/9291/
This cross-platform widget was developed with jQuery and Flot, and it requires Opera. The only thing is that the widget can't access localhost, a fact that I discovered when I was nearly finished developing it. It works fine with remote computers on the LAN and the internet.
If you use a Mac, try the
Dashboard widget
.
ss.png
(12.86 KB, 179x220 - viewed 628 times.)
«
Last Edit: November 13, 2008, 06:01:04 PM by qwerty967
»
Logged
Dashboard widget
|
Opera widget
DeXeS
Release Testers
Full Member
Posts: 220
Re: Desktop widget: SABnzbd Status
«
Reply #1 on:
March 05, 2008, 02:21:31 PM »
Looks cool! thanx! going to try it
I don't have sab run localy so I have no problems
but can it also not connect to the hostname from the local pc? or forward sab to the internet and then connect from your outside internet IP
Logged
silversum
Newbie
Posts: 4
wardialer
Re: Desktop widget: SABnzbd Status
«
Reply #2 on:
March 05, 2008, 02:53:21 PM »
I'm not able to get it working. I have sabnzbd running at home, and am able to view it in my browser no problem, but the widget is empty and refreshing it does nothing.
If I click on 'Currently Downloading: Nothing' it even opens up a tab with info on what is currently downloading.
I'm using Opera 9.50b 9770 (any beta after has a bug where clicking on a link with an anchor won't go to the anchor, just the top of the page).
edit - Sorry, should have put more info. 0.3.0 in plush interface.
«
Last Edit: March 05, 2008, 02:56:00 PM by silversum
»
Logged
neilt0
Full Member
Posts: 120
SAB FTW
Re: Desktop widget: SABnzbd Status
«
Reply #3 on:
March 05, 2008, 03:02:10 PM »
That's really nice! Well done.
Some questions:
1) Can you add authentication: this doesn't work if you've password protected SAB's web interface (which you need to do if you use SAB over the internet)
2) Can you resize the window?
3) Can you fix the scale to a set bandwidth level so the graph scale doesn't dynamically change so much? e.g. I'd like to set the scale at 2000 kbps or 1100kbps.
4) Can the widget run without loading the entire Opera browser?
5) Can I open multiple instances of the widget with different connections to different machines? I have up to 3 machines downloading with SAB.
6) Can you show unpacking status?
Thanks!
«
Last Edit: March 05, 2008, 03:03:48 PM by neilt0
»
Logged
qwerty967
Jr. Member
Posts: 55
Re: Desktop widget: SABnzbd Status
«
Reply #4 on:
March 05, 2008, 03:02:44 PM »
Quote from: silversum on March 05, 2008, 02:53:21 PM
I'm not able to get it working.
Are there any errors in the Error Console (Tools>Advanced>Error Console)?
Logged
Dashboard widget
|
Opera widget
qwerty967
Jr. Member
Posts: 55
Re: Desktop widget: SABnzbd Status
«
Reply #5 on:
March 05, 2008, 03:14:17 PM »
Quote from: neilt0 on March 05, 2008, 03:02:10 PM
Some questions:
1)
Sure. I assume
http://username:password@host:8080/sabnzbd/api?mode=qstatus&output=json
will work. I will update the widget accordingly.
It seems authentication is done with HTML forms. Log in first in Opera, then the widget should be able to connect.
2) You can resize it the same way you would zoom in on a page in Opera. In Opera 9.5, press ctrl+plus or ctrl+minus.
3) I think I'll make the bottom of the y-axis zero so that it won't dynamically scale too much.
4) For the widget to work, Opera needs to remain open, but you can easily hide the main window to the notification area. On a related topic, it shouldn't be too difficult to port to Dashboard or Windows Sidebar.
5) It's possible to install widgets multiple times.
6) The widget is reading whatever the json feed is providing. This request should go to the main developers.
«
Last Edit: March 05, 2008, 03:29:03 PM by qwerty967
»
Logged
Dashboard widget
|
Opera widget
silversum
Newbie
Posts: 4
wardialer
Re: Desktop widget: SABnzbd Status
«
Reply #6 on:
March 05, 2008, 03:14:45 PM »
Quote from: qwerty967 on March 05, 2008, 03:02:44 PM
Quote from: silversum on March 05, 2008, 02:53:21 PM
I'm not able to get it working.
Are there any errors in the Error Console (Tools>Advanced>Error Console)?
these:
Code:
JavaScript - widget://localhost/C:/Program%20Files/Opera%209.5b/profile/widgets/SABnzbd%20Status_9291_1.0.wgt/jquery.blockUI.js
Linked script not loaded
Logged
qwerty967
Jr. Member
Posts: 55
Re: Desktop widget: SABnzbd Status
«
Reply #7 on:
March 05, 2008, 03:23:36 PM »
Quote from: silversum on March 05, 2008, 03:14:45 PM
these:
Code:
JavaScript - widget://localhost/C:/Program%20Files/Opera%209.5b/profile/widgets/SABnzbd%20Status_9291_1.0.wgt/jquery.blockUI.js
Linked script not loaded
Just to make sure, you're not connecting to localhost or 127.0.0.1, right?
Logged
Dashboard widget
|
Opera widget
silversum
Newbie
Posts: 4
wardialer
Re: Desktop widget: SABnzbd Status
«
Reply #8 on:
March 05, 2008, 03:34:22 PM »
Nope, I'm at work trying to connect to the service at home. The web interface is working fine.
edit - as it's a remote connection I require authentication. Maybe that's the problem!
edit2 - i have been authenticating myself on the web interface before I load the widget, if that helps.
«
Last Edit: March 05, 2008, 03:45:59 PM by silversum
»
Logged
neilt0
Full Member
Posts: 120
SAB FTW
Re: Desktop widget: SABnzbd Status
«
Reply #9 on:
March 05, 2008, 03:39:59 PM »
1) Sure. I assume
http://username:password@host:8080/sabnzbd/api?mode=qstatus&output=json
will work. I will update the widget accordingly.
I've had to use:
http://machine:port/sabnzbd/?ma_username=xxxx&ma_password=yyyy
in the past, not sure if the other will work.
2) You can resize it the same way you would zoom in on a page in Opera. In Opera 9.5, press ctrl+plus or ctrl+minus.
I meant resize as in change the size of the widget by dragging a window edge, not zooming in.
3) I think I'll make the bottom of the y-axis zero so that it won't dynamically scale too much.
That'd work for me.
4) For the widget to work, Opera needs to remain open, but you can easily hide the main window to the notification area. On a related topic, it shouldn't be too difficult to port to Dashboard or Windows Sidebar.
How do you hide it? Can't find a menu option in Opera and help for "hide" shows nothing. I don't normally use opera.
5) It's possible to install widgets multiple times.
Oh yes, that worked. Cool.
6) The widget is reading whatever the json feed is providing. This request should go to the main developers.
OK. Thanks for your quick reply.
Logged
neilt0
Full Member
Posts: 120
SAB FTW
Re: Desktop widget: SABnzbd Status
«
Reply #10 on:
March 05, 2008, 03:50:54 PM »
Occasionally, the graph is broken (upside down). PNG attached.
This also shows that the Status widget works for 2 machines simultaneously. Cool!
opera-broke.png
(16.47 KB, 388x239 - viewed 437 times.)
Logged
qwerty967
Jr. Member
Posts: 55
Re: Desktop widget: SABnzbd Status
«
Reply #11 on:
March 05, 2008, 04:43:32 PM »
Thanks for the feedback everyone.
Neilt0: I experienced that graphing bug with Opera 9.25 and Ubuntu. Using Opera 9.5b1 might solve the problem, because I don't see that bug with Opera 9.5b and Vista.
Opera 9.5b1
(b9613 released October 2007) is very stable and includes very welcome updates. Also, zooming in and out will resize the entire widget. You can hide Opera by right-clicking the Opera icon in the notification area and selecting Hide Opera.
Silversum: For now, logging in before launching the widget is required. If you have been doing this, maybe you fiddled with the cookie settings?
Logged
Dashboard widget
|
Opera widget
pair of dimes
SABnzbd Developer
Moderator
Hero Member
Posts: 1343
Re: Desktop widget: SABnzbd Status
«
Reply #12 on:
March 05, 2008, 07:30:45 PM »
This looks cool, I've been looking for something that can monitor multiple daemons for ages.
Could you please add authentication support? I don't want to open Opera and have to login to a dozen different daemons just to get the status going.
The History Verbosity (unpack progress) is available from the History's RSS page, in case you need it.
What happens when I close Opera, and open it back again? Will all the multiple widgets remain? Can you show/hide them all at once easily?
Logged
Plush UI
|
Mobile UI
|
Concept UI
neilt0
Full Member
Posts: 120
SAB FTW
Re: Desktop widget: SABnzbd Status
«
Reply #13 on:
March 06, 2008, 02:48:02 AM »
Quote from: qwerty967 on March 05, 2008, 04:43:32 PM
Neilt0: I experienced that graphing bug with Opera 9.25 and Ubuntu. Using Opera 9.5b1 might solve the problem, because I don't see that bug with Opera 9.5b and Vista.
Opera 9.5b1
(b9613 released October 2007) is very stable and includes very welcome updates. Also, zooming in and out will resize the entire widget. You can hide Opera by right-clicking the Opera icon in the notification area and selecting Hide Opera.
Hiding like that only works with the Opera 9.5 you linked to, so if you are installing Opera just for this widget, like me, that's the version you should use.
«
Last Edit: March 06, 2008, 02:49:55 AM by neilt0
»
Logged
neilt0
Full Member
Posts: 120
SAB FTW
Re: Desktop widget: SABnzbd Status
«
Reply #14 on:
March 06, 2008, 02:52:10 AM »
Quote from: pair of dimes on March 05, 2008, 07:30:45 PM
What happens when I close Opera, and open it back again? Will all the multiple widgets remain? Can you show/hide them all at once easily?
The widgets reopen when you reload Opera. To hide them, closing Opera is probably the easiest and quickest solution.
Logged
Pages: [
1
]
2
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Important
-----------------------------
=> Announcements & Rules
-----------------------------
General
-----------------------------
=> General Discussion
-----------------------------
Support
-----------------------------
=> General Help
=> Bug Reports
=> Debian/Ubuntu Package
=> Old SF.net forum
-----------------------------
Other Languages
-----------------------------
=> Nederlands
=> Français
-----------------------------
Development
-----------------------------
=> Templates
=> Post-Processing Scripts
=> Third-party Addons
=> Feature Requests
Loading...