View Single Post
Old 09-26-2011, 12:17 PM   #7
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
A couple of ways to accomplish this. The critical thing is to make sure you use a different port for each server instance.

First option would be to create a separate library for each user (imho, the easiest for you since you already seem to have separate libraries set-up). Just change the library path to the ones corresponding to the libraries you've set-up.
e.g.
Code:
@echo off
start /min calibre-server.exe -p 8080 --with-library "X:\PortableApps\CalibrePortable\Calibre Library"
start /min calibre-server.exe -p 8081 --with-library "X:\PortableApps\CalibrePortable\Mommy"
start /min calibre-server.exe -p 8082 --with-library "X:\PortableApps\CalibrePortable\Kids"
Second option is to have just one big library and create a saved search containing the books you want visible to certain users.
e.g.
Code:
@echo off
start /min calibre-server.exe -p 8080 --with-library "X:\PortableApps\CalibrePortable\Calibre Library"
start /min calibre-server.exe -p 8081 --with-library "X:\PortableApps\CalibrePortable\Calibre Library" --restriction "mommy"
start /min calibre-server.exe -p 8082 --with-library "X:\PortableApps\CalibrePortable\Calibre Library" --restriction "kids"
In either of the above examples, http://<your_ip_address>:8080 points to the main library, http://<your_ip_address>:8081 points to your wife's library and http://<your_ip_address>:8082 points to the kids' library.
ilovejedd is offline   Reply With Quote