View Single Post
Old 08-17-2010, 08:41 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Starson17 View Post
Is there any chance that a restriction can be set to apply to the Content Server?
I implemented a new command line argument for the content server.
Code:
calibre-server --restriction=some_saved_search
It does the obvious thing. Bad things happen if the saved search does not exist. The restriction works in all the server flavors: xml, mobile, and opds (stanza).

Restrictions are ignored if running from the GUI.

Code submitted to Kovid.
chaley is offline   Reply With Quote