Vista Sidebar Gadget
- pieteckhart
- Release Testers
- Posts: 131
- Joined: April 30th, 2008, 9:34 am
- Location: Netherlands
- Contact:
Re: Vista Sidebar Gadget
hmm resize able sounds a bit hard and i never seen it on other gadgets. have you?
when the attached gadget is done i will make the detached one just like it!
when the attached gadget is done i will make the detached one just like it!
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Re: Vista Sidebar Gadget
I have created a similar gadget for myself but never got around to creating a user interface for some hardcodes values like URL and timeouts. Therefore I never published it. However my version (which I happily use myself every day) may give you some ideas:pieteckhart wrote: oh and ETA is the next thing on my todo list. where shall i put it? instead of speed? like you can switch between speed and ETA?
or maybe in the title (it now only says SABnzbd+)
On the top is a graph of the download speed the last few minutes. Very handy to detect is something is wrong with the download.
I put the filename on a line separate from the progress bar. The progress bar is below that.
Under the progress bar I show the remaining time (38 seconds in this example) and the ETA.
When there are more files in the queue these three lines repeat.
When you move the mouse over the gadget a 'Pause' button appears which you can use (no surprise) to pause SABnzbd.
- pieteckhart
- Release Testers
- Posts: 131
- Joined: April 30th, 2008, 9:34 am
- Location: Netherlands
- Contact:
Re: Vista Sidebar Gadget
looks great! the speed graph would look good as a mini graph on my gadget (bottom left).
i suppose you are drawing the graph with tiny divs with each another height?
i was thinking about the indicator top left.
if it shows the play button downloads are in progress and pause says pause (wow!)
but when you move your mouse over it it swaps to what the status would be like if you click on it. i allready tried this but i was having some problems with refreshing.
would you share your code with me?
Thanks for the ideas!
i suppose you are drawing the graph with tiny divs with each another height?
i was thinking about the indicator top left.
if it shows the play button downloads are in progress and pause says pause (wow!)
but when you move your mouse over it it swaps to what the status would be like if you click on it. i allready tried this but i was having some problems with refreshing.
would you share your code with me?
Thanks for the ideas!
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Re: Vista Sidebar Gadget
Any new version yet?
Thanks,
Kizer
Thanks,
Kizer
Re: Vista Sidebar Gadget
Hi,
Greate gadget!
Works fine but I would like to see some functionality added, like:
Clicking (or dbl click) on the gadget opning the sabnzbd+ page in a browser (to see more info etc.).
possibility to reorder the downloads.
The bandwith gauge like the one showed in this thread.
I do not know if these options are possible but they would make this already greate gadget even better.
Greate gadget!
Works fine but I would like to see some functionality added, like:
Clicking (or dbl click) on the gadget opning the sabnzbd+ page in a browser (to see more info etc.).
possibility to reorder the downloads.
The bandwith gauge like the one showed in this thread.
I do not know if these options are possible but they would make this already greate gadget even better.
-
- Newbie
- Posts: 2
- Joined: June 7th, 2008, 7:13 am
Re: Vista Sidebar Gadget
Hi.
Very nice litte thingy ;-)
Unfortunately it didn't worked for me. My sabnzbd is running on a NAS (Synology DS207+). Its address is "192.168.1.11:8080/sabnzbd". If I insert the IP into the settings page it is converted to "192168111" (without dots) and the gadget always displays "Please Configure".
Any help would be appreciated.
greetings,
Stefan
Very nice litte thingy ;-)
Unfortunately it didn't worked for me. My sabnzbd is running on a NAS (Synology DS207+). Its address is "192.168.1.11:8080/sabnzbd". If I insert the IP into the settings page it is converted to "192168111" (without dots) and the gadget always displays "Please Configure".
Any help would be appreciated.
greetings,
Stefan
Re: Vista Sidebar Gadget
Try to give it a name in the "hosts" file.
Or set up proper DNS in your router, so you do not need the numeric IP address.
Or set up proper DNS in your router, so you do not need the numeric IP address.
-
- Newbie
- Posts: 2
- Joined: June 7th, 2008, 7:13 am
Re: Vista Sidebar Gadget
Thanks, this works!
Re: Vista Sidebar Gadget
Any new version yet?
Thanks,
Kizer
Thanks,
Kizer
- pieteckhart
- Release Testers
- Posts: 131
- Joined: April 30th, 2008, 9:34 am
- Location: Netherlands
- Contact:
Re: Vista Sidebar Gadget
hi all,
yesterday i started coding again
i already added ETA now. if you click on the speed you will toggle between kb/s and ETA.
im now working on a drag and drop feature
i run into some trouble with the API tough:
im tying to post to:
http://host:port/sabnzbd/api?mode=addfile&name=test.nzb&cat=&pp=&script=&ma_username=admin&ma_password=*******
but i will get the folowing error:
im posting with javascript (this may sound weird but a sidebar gadget has more rights to the system as a website so its possible).
can someone help me with this?
am i using the API in the right way? and what do i need to call the file that i'm posting? (or is that the name attribute?)
thanks
yesterday i started coding again
i already added ETA now. if you click on the speed you will toggle between kb/s and ETA.
im now working on a drag and drop feature
i run into some trouble with the API tough:
im tying to post to:
http://host:port/sabnzbd/api?mode=addfile&name=test.nzb&cat=&pp=&script=&ma_username=admin&ma_password=*******
but i will get the folowing error:
Code: Select all
500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "cherrypy\_cphttptools.pyo", line 126, in _run
File "cherrypy\filters\__init__.pyo", line 151, in applyFilters
File "sabnzbd\utils\multiauth\filter.pyo", line 61, in beforeFinalize
File "sabnzbd\interface.pyo", line 376, in api
AttributeError: 'str' object has no attribute 'filename'
can someone help me with this?
am i using the API in the right way? and what do i need to call the file that i'm posting? (or is that the name attribute?)
thanks
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Re: Vista Sidebar Gadget
You need to be sending the full contents of the nzb files through as a post request.
Have a look at nzbdstatus' implementation for a working example, ctrl+f to "uploadFile:" (be sure to give credit if you use it).
Have a look at nzbdstatus' implementation for a working example, ctrl+f to "uploadFile:" (be sure to give credit if you use it).
- pieteckhart
- Release Testers
- Posts: 131
- Joined: April 30th, 2008, 9:34 am
- Location: Netherlands
- Contact:
Re: Vista Sidebar Gadget
thanks i think this will solve my problem.switch wrote: You need to be sending the full contents of the nzb files through as a post request.
Have a look at nzbdstatus' implementation for a working example, ctrl+f to "uploadFile:" (be sure to give credit if you use it).
is the file sent as if via an upload form ($_FILES in php) or is it sent "RAW" (file_get_contents('php://input') in php)
thanks!
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Re: Vista Sidebar Gadget
It is sent like an upload form.
- pieteckhart
- Release Testers
- Posts: 131
- Joined: April 30th, 2008, 9:34 am
- Location: Netherlands
- Contact:
Re: Vista Sidebar Gadget
thanks! im looking in to it tomorow.
would be realy cool if it works
(off topic)
btw i was looking at the uTorrent sidebar gadget, and i found out how they did it!
first it uploads it to an external host (!!!) and then copies an URL to the uploaded torrent to the torrent client.
it seems kinde weird but it is more easy this way, i tried it with sabnzbd and it works, but it would be nicer without an external server of course. and i think i can do it now with the code provided. thanks again
would be realy cool if it works
(off topic)
btw i was looking at the uTorrent sidebar gadget, and i found out how they did it!
first it uploads it to an external host (!!!) and then copies an URL to the uploaded torrent to the torrent client.
it seems kinde weird but it is more easy this way, i tried it with sabnzbd and it works, but it would be nicer without an external server of course. and i think i can do it now with the code provided. thanks again
SABnzbd+ Windows 7 Gadget
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/
Manage your downloads from your desktop.
Download: http://eckhart.hopto.org/sabgadget/sabgadget2.gadget
Site: http://eckhart.hopto.org/sabgadget/