Page 3 of 4

Re: WIP - Prototype

Posted: July 9th, 2008, 9:38 am
by switch
Development slowed when the 0.4 beta's started coming out, but recently I have added:

-Paging of the queue and history for the latest 25 items (may be increased at a later date)
-A temporary settings page
-A temporary adding-nzb page

Re: WIP - Prototype

Posted: July 9th, 2008, 10:10 am
by switch
Yes, look in my branch it uses a value called "offset" to allow the paging of data.

I implemented it a few weeks back when we were talking about paging.

Re: WIP - Prototype

Posted: July 12th, 2008, 4:31 pm
by switch
Small update, been working on it the past two days,

Here is how it is looking at the moment:
http://sabnzbd.org/switch/prototype/ima ... omplex.png

Not a lot has changed, just added paging for the queue and history as well as individual pause/resume buttons for each post and styled them to have grey backgrounds, and the current download to have a green background. Also changed the split bars between the panels to be a nicer thinner version.

Today I made some changes to an available theme to come up with this black theme that can be switched between on-the-fly:
http://sabnzbd.org/switch/prototype/ima ... -black.png

It looks extra nice when run as a Mozilla Prism application:
Image

Re: WIP - Prototype

Posted: July 16th, 2008, 3:00 pm
by nzb_leecher
Both look very very nice. The black one looks even better. But is see it shows less info then the white version. Is that work in progres or on purpose?

ps can we try/dload this as a beta?

Re: WIP - Prototype

Posted: July 16th, 2008, 3:04 pm
by switch
Both skins show the same data by default, however people can move/remove columns if they want less data.

A beta is still some time off I'm afraid, too much development is going on at the moment in terms of new features and bug fixes.

Don't worry, there will be plenty of time for testing.

Re: WIP - Prototype

Posted: July 17th, 2008, 6:35 am
by kizer8
Just curious, but when will something be available to download?

Thanks,
Kizer

Re: WIP - Prototype

Posted: July 17th, 2008, 10:39 am
by nzb_leecher
switch wrote: Both skins show the same data by default, however people can move/remove columns if they want less data.
That sounds like a great function. 8)

Re: WIP - Prototype

Posted: July 20th, 2008, 12:52 pm
by rascalli
tried to run it, but getting this error :


rbi0300:/home/test/sabnzbd-prototype# ./SABnzbd.py -d -f SABnzbd.ini -n
Traceback (most recent call last):
  File "./SABnzbd.py", line 44, in ?
    import sabnzbd
  File "/home/test/sabnzbd-prototype/sabnzbd/__init__.py", line 38, in ?
    from sabnzbd.assembler import Assembler
  File "/home/test/sabnzbd-prototype/sabnzbd/assembler.py", line 31, in ?
    from sabnzbd.interface import CheckFreeSpace
  File "/home/test/sabnzbd-prototype/sabnzbd/interface.py", line 2667
    class xml_maker_factory():
                            ^
SyntaxError: invalid syntax


any idea ?

Re: WIP - Prototype

Posted: July 21st, 2008, 1:18 pm
by switch
That line ("class xml_maker_factory():") should be on 2758 and not 2667. Please check you have an up to date install using the new svn location.

Re: WIP - Prototype

Posted: July 21st, 2008, 11:42 pm
by rascalli
well I used svn co link

on july 20
How can I check this is the latest ?

Re: WIP - Prototype

Posted: July 22nd, 2008, 6:00 am
by switch
The svn url is:
http://svn2.assembla.com/svn/SABnzbd/br ... prototype/
(it moved a few weeks ago)

The latest revision is 1474. If it still doesn'twork, whatpython version are you using?

Re: WIP - Prototype

Posted: July 26th, 2008, 7:37 pm
by rascalli
getting this  :

rbi0300:/home/test/sabnzbd-prototype# ./SABnzbd.py
Traceback (most recent call last):
  File "./SABnzbd.py", line 43, in ?
    import sabnzbd
  File "/home/test/sabnzbd-prototype/sabnzbd/__init__.py", line 37, in ?
    from sabnzbd.assembler import Assembler
  File "/home/test/sabnzbd-prototype/sabnzbd/assembler.py", line 30, in ?
    from sabnzbd.interface import CheckFreeSpace
  File "/home/test/sabnzbd-prototype/sabnzbd/interface.py", line 2758
    class xml_maker_factory():
                            ^
SyntaxError: invalid syntax



python version 2.4.4

Re: WIP - Prototype

Posted: September 8th, 2008, 8:33 am
by rAf
Hi switch,

I've just tested the last prototype in trunk and it's working great !

A couple of thinks that could make it perfect (for me...) :

  - could you add the current speed and resting time in the title bar (like Plush) ?
  - could you add the possibility to change max download speed in main interface ?

Great job !

Edit :
By adding this lines at line 2659 in prototype.js, we have infos in title bar.

Code: Select all

var globalRefresh = {
    run: function(){
        store.reload();
        storeFiles.reload();
        storeHistory.reload();
        storeStatus.reload();
        storeWarnings.reload();
        document.title = speed + ' KB/s';
        document.title+= ' | ' + storeStatus.data.items[0].data.timeleft.toString() ;
        document.title+= ' | ' + storeStatus.data.items[0].data.mbleft.toString() + ' MB' ;
        //document.title+= ' | ' + store.data.length.toString() + ' nzb';
    },
    interval: 5000 //5 seconds
}

Re: WIP - Prototype

Posted: September 15th, 2008, 6:51 am
by Samushka
How can we test/use this theme?

Re: WIP - Prototype

Posted: September 15th, 2008, 8:18 am
by rAf
This template is only compatible with sources from trunk.

Sources are available here :

http://svn2.assembla.com/svn/SABnzbd/trunk/main/

No binaries for now.