View Single Post
Old 02-11-2012, 08:37 AM   #3
MasterCATZ
Junior Member
MasterCATZ began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
Thank you very much for that

just what I needed to read :P

now my only Gripe is it looks like kindles will only work on port 80 ...
assuming Amazon is blocking all other ports on the 3G Network

Thankfully I don't use port 80 for anything else


calibre-server -h
Usage: calibre-server [options]

Start the calibre content server. The calibre content server
exposes your calibre library over the internet. The default interface
allows you to browse you calibre library by categories. You can also
access an interface optimized for mobile browsers at /mobile and an
OPDS based interface for use with reading applications at /opds.

The OPDS interface is advertised via BonJour automatically.


Whenever you pass arguments to calibre-server that have spaces in them, enclose the arguments in quotation marks.

Options:
--version show program's version number and exit

-h, --help show this help message and exit

-p PORT, --port=PORT The port on which to listen. Default is 8080

-t TIMEOUT, --timeout=TIMEOUT
The server timeout in seconds. Default is 120

--thread-pool=THREAD_POOL
The max number of worker threads to use. Default is 30

--password=PASSWORD Set a password to restrict access. By default access
is unrestricted.

--username=USERNAME Username for access. By default, it is: 'calibre'

--develop Development mode. Server automatically restarts on
file changes and serves code files (html, css, js)
from the file system instead of calibre's resource
system.

--max-cover=MAX_COVER
The maximum size for displayed covers. Default is
'600x800'.

--max-opds-items=MAX_OPDS_ITEMS
The maximum number of matches to return per OPDS
query. This affects Stanza, WordPlayer, etc.
integration.

--max-opds-ungrouped-items=MAX_OPDS_UNGROUPED_ITEMS
Group items in categories such as author/tags by first
letter when there are more than this number of items.
Default: 100. Set to a large number to disable
grouping.

--url-prefix=URL_PREFIX
Prefix to prepend to all URLs. Useful for
reverseproxying to this server from Apache/nginx/etc.

--with-library=WITH_LIBRARY
Path to the library folder to serve with the content
server

--pidfile=PIDFILE Write process PID to the specified file

--daemonize Run process in background as a daemon. No effect on
windows.

--restriction=RESTRICTION
Specifies a restriction to be used for this
invocation. This option overrides any per-library
settings specified in the GUI

--auto-reload Auto reload server when source code changes. May not
work in all environments.

Last edited by MasterCATZ; 02-11-2012 at 08:39 AM.
MasterCATZ is offline   Reply With Quote