Page 2 of 2

Re: Working CLI interface for 0.5.0 for sabnzbd+

Posted: October 26th, 2012, 2:16 pm
by benjgos
Love this, thanks so much, i was about to write a CLI client myself (nothing this full though) but you just saved me a ton of work! ^^
some issues with ncurses in history and pause so i opened an "issue" on the code.google page.

keep up the great work! :)

Re: Working CLI interface for 0.5.0 for sabnzbd+

Posted: November 5th, 2012, 11:00 am
by tobiasthecommie
I didn't think anyone but me used this.

I'll push an updated version this month.

Re: Working CLI interface for 0.5.0 for sabnzbd+

Posted: April 22nd, 2013, 11:47 am
by urthmover
I would love for these tools to be updated and working with sabnzbd 0.7.11

Currently I'm experiencing:

When I press 4 for the [4-More] page I encounter the following:
WARNING: API version mismatch between SABCurses (0.5.4) and daemon ()

$ sabcurses.py
When I enter the [1-Queue] page I encounter the following:
68 - 178
Traceback (most recent call last):
File "/usr/local/bin/sabcurses.py", line 1413, in main
mainloop(sabnzbd)
File "/usr/local/bin/sabcurses.py", line 1165, in mainloop
sabnzbd.display()
File "/usr/local/bin/sabcurses.py", line 982, in display
self.run_commands('queue', None)
File "/usr/local/bin/sabcurses.py", line 841, in run_commands
self.print_diskwarnings()
File "/usr/local/bin/sabcurses.py", line 350, in print_diskwarnings
if float(rd['mbleft']) / 1024 > float(rd['diskspace2']):
KeyError: 'mbleft'
$ sabcurses.py
68 - 178
Traceback (most recent call last):
File "/usr/local/bin/sabcurses.py", line 1413, in main
mainloop(sabnzbd)
File "/usr/local/bin/sabcurses.py", line 1165, in mainloop
sabnzbd.display()
File "/usr/local/bin/sabcurses.py", line 982, in display
self.run_commands('queue', None)
File "/usr/local/bin/sabcurses.py", line 841, in run_commands
self.print_diskwarnings()
File "/usr/local/bin/sabcurses.py", line 350, in print_diskwarnings
if float(rd['mbleft']) / 1024 > float(rd['diskspace2']):
KeyError: 'mbleft'

Re: Working CLI interface for 0.5.0 for sabnzbd+

Posted: April 23rd, 2013, 8:52 am
by tobiasthecommie
Moved(moving) to github.

Try getting the latest version from here.
https://github.com/TobiasTheViking/sabcli

Sorry for not updating this publicly.

Re: Working CLI interface for 0.5.0 for sabnzbd+

Posted: June 13th, 2013, 4:55 am
by oliverspike
Thanks for the script it's working well !