Quote:
Originally Posted by chaley
An instance of the content server can use only one restriction. However, you can have multiple instances of the content server on different ports. That would permit you to use different restrictions.
|
I'm already running multiple instances of the server on different ports. However, it would have been nice if I can use, say
--restriction "kindle AND favorites" which will return all ebooks available in MOBI format and tagged as Favorite instead of having to creating a separate saved search entry for each one:
kindle, favorites, kindle favorites.
Anyway, thanks for the help!
By the way, I noticed a bug with calibre-server when using the
--url-prefix option. If there's only one item in the Authors, Languages, Publishers and Tags categories, clicking on the links would result in a 404 error due to the duplication of the url-prefix: e.g.
Quote:
404 Not Found
The path '/calibre/calibre/browse/matches/publisher/1' was not found.
Code:
Traceback (most recent call last):
File "site-packages\cherrypy\_cprequest.py", line 606, in respond
File "site-packages\cherrypy\_cperror.py", line 227, in __call__
NotFound: (404, "The path '/calibre/calibre/browse/matches/publisher/1' was not found.")
|
Manually typing the correct url in the address bar (e.g.
http://localhost:8080/calibre/browse/matches/publisher/1) loads the correct page so I think this might be due to a javascript issue.