[Feature Request]: Guest View

Want something added? Ask for it here.
Post Reply
XiS
Newbie
Newbie
Posts: 5
Joined: May 1st, 2009, 11:01 am

[Feature Request]: Guest View

Post by XiS »

Heya,

I would love a Guest View of the webinterface. So I can show others what I am downloading (without others messing with my settings) and how long it is going to take before things are in.


Greetings,

XiS
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Feature Request]: Guest View

Post by shypike »

We do not support multiple users.

However, there is a poor man's lock.
If you set config_lock=1 in the sabnzbd.ini file, nobody will be able to change config settings.
But people can add jobs and change the queue.
deedwar
Newbie
Newbie
Posts: 24
Joined: January 22nd, 2008, 6:22 am

Re: [Feature Request]: Guest View

Post by deedwar »

It is a shame you don't seem to have plans to implement this shypike, it is definitely one of the features i have been longing for.  I would like to add the webinterface to my webserver so that friends can see what i have downloaded and stop asking me to get things for them but i don't want them to have to log in and have the opportunity to "accidentally" mess up my downloads.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Feature Request]: Guest View

Post by shypike »

Given the size of the wish-list we have to make choices.
We don't exactly have unlimited resources and this a very expensive feature to implement.
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [Feature Request]: Guest View

Post by markus101 »

It would also be possible to Output the Queue to JSON or XML and then have that displayed on another webserver, again not a perfect solution, but it could solve this issue for you.

http://sabnzbd.wikidot.com/automation-support

You could even script it to output the queue every so often so it would update for your friends...on completion of an item have a default script run.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
deedwar
Newbie
Newbie
Posts: 24
Joined: January 22nd, 2008, 6:22 am

Re: [Feature Request]: Guest View

Post by deedwar »

I understand shypike that you can't please everyone and that you have finite resources.  Still a shame never less.  

Thanks markus101 for the suggestion.  I will see what I can figure out.  

EDIT:
I figured out how to get it to display the queue thanks for that (scrapping it for the info i want is another problem but shouldnt be hard to figure out).  Is there a way i can get it to display my history.  Like only 20 or so items?
Last edited by deedwar on November 3rd, 2009, 10:25 pm, edited 1 time in total.
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: [Feature Request]: Guest View

Post by inpheaux »

In 0.4 there's the RSS and that's it.

In 0.5 it's pretty trivial to use The API to create a live read-only queue/history view.
deedwar
Newbie
Newbie
Posts: 24
Joined: January 22nd, 2008, 6:22 am

Re: [Feature Request]: Guest View

Post by deedwar »

Thanks for that inpheaux i am using the latest trunk so from the link you gave me i should be right to get it working.  Thanks again.

EDIT:
I get an error when i do "mode=history&output=xml"
Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 618, in respond
  File "cherrypy\_cpdispatch.pyo", line 25, in __call__
  File "sabnzbd\interface.pyo", line 480, in api
  File "sabnzbd\interface.pyo", line 719, in api_handler
  File "sabnzbd\interface.pyo", line 302, in report
  File "sabnzbd\interface.pyo", line 3268, in run
  File "sabnzbd\interface.pyo", line 3241, in _dict
  File "sabnzbd\interface.pyo", line 3270, in run
  File "sabnzbd\interface.pyo", line 3251, in _list
  File "sabnzbd\interface.pyo", line 3241, in _dict
  File "sabnzbd\interface.pyo", line 3274, in run
UnicodeEncodeError: 'ascii' codec can't encode character u'\x96' in position 45: ordinal not in range(128)

But when i use "mode=history&output=json" it works.  Mind you my history is HUGE
Last edited by deedwar on November 3rd, 2009, 11:52 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Feature Request]: Guest View

Post by shypike »

We still have some issues with accented characters in some places.
The next release will have some more fixes, but it looks like there are a few misses.

The json output is not affected by this, because it doesn't need to convert character sets.

I'll look into it.

BTW: If you page through your whole history in the UI, do you get a crash too?

Which revision were you using?
(It matters, because otherwise the line numbers are useless).
Last edited by shypike on November 4th, 2009, 7:26 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [Feature Request]: Guest View

Post by shypike »

Problem found, will be solved in the next release.
deedwar
Newbie
Newbie
Posts: 24
Joined: January 22nd, 2008, 6:22 am

Re: [Feature Request]: Guest View

Post by deedwar »

Thanks shypike
MoeenD
Newbie
Newbie
Posts: 20
Joined: December 7th, 2009, 6:31 pm

Re: [Feature Request]: Guest View

Post by MoeenD »

I agree, this feature would be awesome as I host a server for people, and they would also like to view the queue list and find out when their requests are done downloading.
Cladmonitor
Newbie
Newbie
Posts: 2
Joined: May 9th, 2010, 1:55 am

Re: [Feature Request]: Guest View

Post by Cladmonitor »

I came here with the intent to make that exact suggestion as its come up several times that I want to show off the UI but cant as to giving away sensitive access.

+1 for me here.
Post Reply