Page 1 of 4

NZB Download Deluxe

Posted: February 19th, 2012, 1:59 pm
by dynup
Hi all,

I'm developing a new GUI for SABnzbd: NZB Download Deluxe. It runs under Linux, Windows and MacOSX. Today, I released the first version 1.0. Here are some screenshots:

Image Image Image

All infos and downloads on my website: http://dynup.de.vu

I hope, you like this little app and it will simplify your computer life! :) Please write me your opinions!
New ideas, suggestions, improvements, criticism and other feedback are welcome, please use the ticket system and forum on the NZB Download Deluxe website!

Thank you!
Kai

Re: NZB Download Deluxe

Posted: February 19th, 2012, 3:16 pm
by sander
I tried the commands below on my Lucid 10.04:

Code: Select all

sudo add-apt-repository ppa:dynup/nzbdd 
sudo apt-get update

sudo apt-get install nzbdd
The last command gave an error "E: Unable to locate package nzbdd" ... I checked https://launchpad.net/~dynup/+archive/nzbdd and it says you only published for Oneiric (not Lucid). Correct?

I downloaded NZBdd-1.0-Linux.tar.bz2, unpacked and ran it ... hey, it's a complete (Qt?) program, not a skin for SABnzbd? Impressive! Very interesting ...

BTW: I tried the change the API key, but I can't edit it? EDIT: after filling out username & password, it seems your program fetches the API key. Correct?

Re: NZB Download Deluxe

Posted: February 19th, 2012, 3:42 pm
by sander
Some more remarks, using your program NZBdd for my remote server:

After adding a NZB, it does not appear in the queue overview (I tried both via IPv4 and IPv6)
When I click on "Downloads", it opens the *local* Downloads folder.
The start.sh has no x-bit set
Removing a failed download from the top of the queue puts the failed download at the bottom of the queue.
Clicking on the column names does not result in ordering that queue

Re: NZB Download Deluxe

Posted: February 19th, 2012, 4:11 pm
by sander
I tried the ppa method on my Oneiric, and it seems to go wrong:

Code: Select all

sander@R540:~$ sudo apt-get install nzbdd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nzbdd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/32.8 kB of archives.
After this operation, 238 kB of additional disk space will be used.
(Reading database ... 203676 files and directories currently installed.)
Unpacking nzbdd (from .../archives/nzbdd_1.0-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/nzbdd_1.0-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/scalable/mimetypes/application-x-nzb.svg', which is also in package lottanzb 0.6-1ubuntu1
Processing triggers for menu ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/nzbdd_1.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
sander@R540:~$
What's this? A problem with my 64-bit Oneiric?

Re: NZB Download Deluxe

Posted: February 20th, 2012, 7:58 am
by dynup
Thanks for the detailed test!
sander wrote:... I checked https://launchpad.net/~dynup/+archive/nzbdd and it says you only published for Oneiric (not Natty). Correct?
Yes, at this time for Oneiric only.
sander wrote:I downloaded NZBdd-1.0-Linux.tar.bz2, unpacked and ran it ... hey, it's a complete (Qt?) program, not a skin for SABnzbd? Impressive! Very interesting ...
Yes, it's a native Qt application.
sander wrote:BTW: I tried the change the API key, but I can't edit it? EDIT: after filling out username & password, it seems your program fetches the API key. Correct?
Yes, the app fetches the key before communicate with SABnzbd via API!
sander wrote:Some more remarks, using your program NZBdd for my remote server:

After adding a NZB, it does not appear in the queue overview (I tried both via IPv4 and IPv6)
I don't test this yet with a remote server!
sander wrote:When I click on "Downloads", it opens the *local* Downloads folder.
That's right, it's the "Completed Download Folder" from SABnzbd settings.
sander wrote:The start.sh has no x-bit set
You're right, I will fix it!
sander wrote:Removing a failed download from the top of the queue puts the failed download at the bottom of the queue.
???
sander wrote:Clicking on the column names does not result in ordering that queue
Sorting is disabled, sort order comes from SABnzbd.
sander wrote:I tried the ppa method on my Oneiric, and it seems to go wrong
The PPA is currently i386 only!

Re: NZB Download Deluxe

Posted: February 20th, 2012, 9:33 am
by sander
I guess I played too much with the settings, and now nzbdd starts up but shows no queue/history, and I cannot click Settings; only About is clickable.

Is there a settings / ini file I can reset?

Re: NZB Download Deluxe

Posted: February 20th, 2012, 9:49 am
by dynup
Yes, the config file is: ~/.config/NZBdd/nzbdd.conf

Re: NZB Download Deluxe

Posted: February 20th, 2012, 9:58 am
by sander
dynup wrote:Yes, the config file is: ~/.config/NZBdd/nzbdd.conf
Thanks, that worked.

New remark: nzbdd apparantly polls SAB's webinterface each second. See below. That's 388 kB per second = 0.388 MB per second = 3.8 Mbps. That's quite some bandwidth for accessing remote servers (LAN/WAN). Can I lower that to once per 30 seconds by chaning Update Speed from 1000 (=microsec?) to 30000?

Code: Select all

::ffff:127.0.0.1 - - [20/Feb/2012:15:53:52] "GET /sabnzbd/api?mode=queue&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 1698 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:52] "GET /sabnzbd/api?mode=history&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 388320 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:53] "GET /sabnzbd/api?mode=queue&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 1698 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:53] "GET /sabnzbd/api?mode=history&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 388320 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:54] "GET /sabnzbd/api?mode=queue&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 1698 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:54] "GET /sabnzbd/api?mode=history&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 388320 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:55] "GET /sabnzbd/api?mode=queue&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 1698 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:55] "GET /sabnzbd/api?mode=history&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 388320 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:56] "GET /sabnzbd/api?mode=queue&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 1698 "" "NZB Download Deluxe"
::ffff:127.0.0.1 - - [20/Feb/2012:15:53:56] "GET /sabnzbd/api?mode=history&output=xml&apikey=2e2983d77bae20fd998ad7544fd010e8 HTTP/1.1" 200 388320 "" "NZB Download Deluxe"

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:02 am
by sander
Running on my 64-bit Oneiric, I get the message below:

Code: Select all

sander@R540:~/Downloads/NZBdd-1.0-Linux$ ./start.sh 
QGtkStyle was unable to detect the current GTK+ theme.
... and then it runs OK. However, clicking on Add gives an old-skool file browser.

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:11 am
by dynup
sander wrote:Can I lower that to once per 30 seconds by chaning Update Speed from 1000 (=microsec?) to 30000?
Yes: Settings -> Main tab -> Miscellaneous -> Update speed (value in ms, see ToolTip)!
sander wrote:Running on my 64-bit Oneiric, I get the message below:

Code: Select all

sander@R540:~/Downloads/NZBdd-1.0-Linux$ ./start.sh 
QGtkStyle was unable to detect the current GTK+ theme.
... and then it runs OK. However, clicking on Add gives an old-skool file browser.
Sorry, I cannot reconstruct the problem, because I don't test the app on a 64-bit machine!

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:17 am
by sander
I changed it to 15000, quit nzbdd, started nzbdd again, it started with an empty queue, SAB got no API requests at all, and ... after a few minutes I got a segmentation fault:

Code: Select all

$ ./start.sh 
QGtkStyle was unable to detect the current GTK+ theme.
Segmentation fault
So I removed the ini, started nzbdd and it worked again.

I then changed the Update Speed to 2000, stopped nzbdd, restarted it, and ... same problem: no queue nor history in nzbdd

So I remove the ini again, blablabla, change Update Speed to 800, quit and started ... same problem.

So my hypothesis: nzbdd doesn't like the changes in changed ini it self created, or it doesn't like any (other) setting for UpdateSpeed ...

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:27 am
by sander
This is ini file that causes the problems

Code: Select all

$ cat nzbdd.conf
[General]
UpdateSpeed=800
ColumnResizeMode=0
PostProcessing=3

[SABnzbd]
Host=::
Port=8080
Username=
NeverExit=0
Password=

[MainWindow]
x=264
y=212
width=800
height=400

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:32 am
by sander
Ah, I found it: nzbdd doesn't like the middle part with [SABnzbd]. Maybe the "::"? After removing that part, things work better. The ini is now:

Code: Select all

[General]
UpdateSpeed=15000
ColumnResizeMode=0
PostProcessing=3

[MainWindow]
x=264
y=212
width=800
height=400
So one update per 15 seconds. That's better. However, after starting nzbdd, it takes 15 seconds before the queue / history is filled out. My expectation is that nzbdd should fill out the queue/history, and *then* wait 15 seconds. Not the other way round.

Re: NZB Download Deluxe

Posted: February 20th, 2012, 10:41 am
by sander
Confirmed: nzbdd halts on the "::" it fills out itself in the ini. After manually changing it to 127.0.0.1, nzbdd can start. So, two bugs:
1) correct handling of ::
2) first filling the queue/history on the screen, only then waiting/sleeping for the time UpdateSpeed in msec.

Code: Select all

$ cat nzbdd.conf

[General]
UpdateSpeed=15000
ColumnResizeMode=0
PostProcessing=3

[MainWindow]
x=428
y=275
width=800
height=400

[SABnzbd]
Host=127.0.0.1
Port=8080
Username=
NeverExit=0
Password=

Re: NZB Download Deluxe

Posted: February 20th, 2012, 11:03 am
by dynup
sander wrote:So, two bugs:
1) correct handling of ::
2) first filling the queue/history on the screen, only then waiting/sleeping for the time UpdateSpeed in msec.
Okay, I will fix this in next version, I'm currently working on version 1.1!

Thanks for testing and bug reports!