12-25-2012, 10:33 PM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2012
Device: none
|
Content server ?
I am trying to setup multiple content servers. I want them to serve by format for only one format per server. So an epub server, a mobi server, etc...
Lets say I have three books in my library. book 1 formats: epub, html book 2 formats: epub, mobi book 3 formats: mobi Lets also say I have 2 saved searches named epub and mobi: 1) formats:"=EPUB" 2) formats:"=MOBI" Now I can setup a server and get book 3 just fine with the following restriction: search:"=mobi" and not search:"=epub" My question is, how do I get book 3 and only the mobi format of book 2 ??? If I setup a server with search:"=mobi" as its restriction. I get books 2 & 3 but I also get the epub of book 2 which I don't want on my mobi server. |
12-25-2012, 10:43 PM | #2 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Create separate config directories, use the CALIBRE_CONFIG_DIRECTORY env var and set the output format to epub in one and mobi in the other.
|
Advert | |
|
12-25-2012, 11:44 PM | #3 | ||
Member
Posts: 10
Karma: 10
Join Date: Dec 2012
Device: none
|
Okay, if my config directory is %USERPROFILE%\AppData\Roaming\calibre\
Quote:
%USERPROFILE%\AppData\Roaming\calibre-mobi\ Or create them inside? %USERPROFILE%\AppData\Roaming\calibre\calibre-mobi\ Also after creating the new directories. Do I need to copy all the stuff inside %USERPROFILE%\AppData\Roaming\calibre\ into the new directories? Quote:
How do I set the output? |
||
12-25-2012, 11:52 PM | #4 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Set the output format in calibre. The output format in calibre is what the content server uses to determine the format for its get button.
|
12-26-2012, 12:05 AM | #5 | |
Member
Posts: 10
Karma: 10
Join Date: Dec 2012
Device: none
|
My output format is set in calibre.
Quote:
|
|
Advert | |
|
12-26-2012, 12:06 AM | #6 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot.
|
12-26-2012, 12:19 AM | #7 | |
Member
Posts: 10
Karma: 10
Join Date: Dec 2012
Device: none
|
Quote:
Is there an easy way to split libraries by format? I would prefer just one library, but it seems like this would work. Have a master library with only epub. Then have a mobi library. Something like: calibre-server.exe -p 8080 --with-library "%\epub Library" calibre-server.exe -p 8081 --with-library "%\mobi Library" |
|
12-26-2012, 01:03 AM | #8 | |
Member
Posts: 10
Karma: 10
Join Date: Dec 2012
Device: none
|
Quote:
I think I'll use penguinaka's method seems easier than copy and remove. https://www.mobileread.com/forums/sho...d.php?t=138638 Thanks for your help Kovid. Calibre is awesome. |
|
Tags |
content server, format, saved search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
500 Internal Server Error accessing content server Calibre 0.8.8 | DaddyO57 | Calibre | 1 | 07-20-2012 06:08 PM |
help please content server | allaboutroot.com | Devices | 3 | 12-03-2011 02:08 AM |
Content server not serving all content. | False_Chicken | Calibre | 0 | 10-19-2011 05:56 PM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |