Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2013, 06:10 PM   #1
TheoGeek
Junior Member
TheoGeek began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2013
Device: HTC One (Black, 32GB)
Calibre Companion minor issues - content server, micro sd card...

I really love Calibre Companion (CC), and it would be pretty much perfect...if...

Issue #1:
I'm totally willing to accept that I'm just not setting something up correctly, but for the life of me, I can't figure out how to set up CC with Calibre's content server to download books to a folder structure that is like this:

{authors}/{series}/{series}-{series_index:0>2s}-{title}

I have the Android plugin set to use the folder "/mnt/extSdCard/eBooks" and I have the "save template" set to the string above. But, whenever I connect my Android phone via CC to the content server, all downloaded books go to "/mnt/extSdCard/eBooks" and not to a folder structure specified by the "save template".

Am I putting the template in the wrong place or am I trying to do something impossible?

Issue #2:
Given my setup in issue #1, I am able to use Calibre to send books to my Android phone when it is connected as a wireless device. That works awesome, except that I want to use my micro SD card and the Calibre option "Send to storage card A" is grayed out. It works fine when I connect via the USB cable.

I got around this by setting the path in the Android plugin for "main memory" to "/mnt/extSdCard/eBooks" which basically forces it to look on the SD card. The only issue is that all the books show up in Calibre as being loaded to "Main" memory when actually they are on the SD card.

Whew!

Thanks for any help!
Jeff

Last edited by TheoGeek; 06-25-2013 at 06:18 PM.
TheoGeek is offline   Reply With Quote
Old 06-25-2013, 10:16 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,565
Karma: 12369681
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Welcome to Mobileread.

Quote:
Originally Posted by TheoGeek View Post
Issue #1:
I'm totally willing to accept that I'm just not setting something up correctly, but for the life of me, I can't figure out how to set up CC with Calibre's content server to download books to a folder structure that is like this
...~~~...
Am I putting the template in the wrong place or am I trying to do something impossible?
I'm afraid you are trying to do something impossible.

I may be wrong, but I'm relatively sure that there is no Save template for the Content server. Any app or browser will simply download the file to wherever you tell it to.

Quote:
Originally Posted by TheoGeek View Post
Issue #2:
Given my setup in issue #1, I am able to use Calibre to send books to my Android phone when it is connected as a wireless device. That works awesome, except that I want to use my micro SD card and the Calibre option "Send to storage card A" is grayed out. It works fine when I connect via the USB cable.
The option of where to send the books is within Calibre Companion. While in the App if you go to Preferences (3 dots) - Settings - Book formats and folders it allows you to specify exactly where a given book format will be placed. The Calibre Companion FAQ has a section on how to designate where books will be placed on your device. At the end of the section there is a description of how to point to the SD card.

Last edited by DoctorOhh; 06-25-2013 at 10:21 PM.
DoctorOhh is online now   Reply With Quote
Old 06-25-2013, 10:38 PM   #3
TheoGeek
Junior Member
TheoGeek began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2013
Device: HTC One (Black, 32GB)
Quote:
I'm afraid you are trying to do something impossible.
Yeah, that's what I thought. Bummer, but nothing I can't work around.

Quote:
The option of where to send the books is within Calibre Companion. While in the App if you go to Preferences (3 dots) - Settings - Book formats and folders it allows you to specify exactly where a given book format will be placed. The Calibre Companion FAQ has a section on how to designate where books will be placed on your device. At the end of the section there is a description of how to point to the SD card.
Yeah, the files are getting sent to the SD card exactly as I want, but they show up in Calibre's "Device" column as being in "Main". Again, not a big deal because they are where I want them on my SD card, and the fact that Calibre shows that they are on my device is really what matters. The OCD engineer in me wants it to say "Storage A" though...

Thanks for the help! I changed the "Android" plugin back to have Main storage actually be the main storage. Given what you said, it evidently wasn't even using that setting.

Thanks again!
Jeff.
TheoGeek is offline   Reply With Quote
Old 06-25-2013, 11:00 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,599
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by TheoGeek View Post
Yeah, that's what I thought. Bummer, but nothing I can't work around.



Yeah, the files are getting sent to the SD card exactly as I want, but they show up in Calibre's "Device" column as being in "Main". Again, not a big deal because they are where I want them on my SD card, and the fact that Calibre shows that they are on my device is really what matters. The OCD engineer in me wants it to say "Storage A" though...

Thanks for the help! I changed the "Android" plugin back to have Main storage actually be the main storage. Given what you said, it evidently wasn't even using that setting.

Thanks again!
Jeff.
CC only has 1 place called Main, no matter where it is
theducks is online now   Reply With Quote
Old 06-26-2013, 03:59 AM   #5
chaley
"chaley", not "charley"
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: 4,696
Karma: 778992
Join Date: Jan 2010
Location: France
Device: PRS-300, Galaxy Nexus, Nexus 7, HTC Sensation, Galaxy Tab 10.1
Quote:
Originally Posted by DoctorOhh View Post
I'm afraid you are trying to do something impossible.

I may be wrong, but I'm relatively sure that there is no Save template for the Content server. Any app or browser will simply download the file to wherever you tell it to.
You are not wrong.

The content server tells any client (including CC) the name of the file containing the book and its "type" (format). It is up to the client to work out what to do with that information. Most browsers ask for a destination file name. Because CC has the book's metadata (it gets this in a separate request), it can construct a file name that makes sense for the book, specifically "title - author.format" and avoid bothering the user. It them goes through a pass to be sure that there isn't already a different book with that name on the device.

I have considered changing calibre's content server to evaluate a template and provide that result along with the book's metadata. The template would be defined in one of the preferences screens. The problem here is that CC would be the only client to use it, which would create no end of confusion for non-CC users. Confusion leads to bug reports and chatter. I considered making it a tweak, but then no one would find it and it would be wasted effort. The only thing I have thought of that avoids all of this is to enter the template in CC and pass it to the content server, but then errors in the template would be almost impossible to debug. Sigh.

FWIW: I actually go the other way and use the "use the book's ID as the filename" option. The filenames are unrelated to the book (a string of digits), but I don't care because CC knows what they are. Using this option lets Moon+ sync my reading position across all 4 of my devices, no matter how the book gets to the device (wireless device or content server). It is so nice to turn on my phone when on a bus and have it automatically go to the page I was last reading on my N7.
chaley is offline   Reply With Quote
Old 06-27-2013, 10:29 PM   #6
TheoGeek
Junior Member
TheoGeek began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2013
Device: HTC One (Black, 32GB)
Quote:
Because CC has the book's metadata (it gets this in a separate request), it can construct a file name that makes sense for the book, specifically "title - author.format" and avoid bothering the user.
So, could CC have an option like using "/author/title/series/some_book_title"? I hadn't really thought of using the book's ID as a filename - that would pretty much take care of it. I just have to get over my mild OCD of needing everything sorted like I want. I should just start using Calibre Companion as the organizer and forget about needing the files on the SD card being sorted as if I didn't have a database.

Especially seeing as how every reader I use integrates with CC.

Thanks guys for the help!
Jeff.
TheoGeek is offline   Reply With Quote
Old 06-28-2013, 04:06 AM   #7
chaley
"chaley", not "charley"
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: 4,696
Karma: 778992
Join Date: Jan 2010
Location: France
Device: PRS-300, Galaxy Nexus, Nexus 7, HTC Sensation, Galaxy Tab 10.1
Quote:
Originally Posted by TheoGeek View Post
So, could CC have an option like using "/author/title/series/some_book_title"?
Yes, but why that one other than it is the one you want? Why not "series/author/title"? or "author/series/title"? Or "#genre/author/title". Or ...

Very quickly we would need calibre's template and file path generation systems, which aren't something that I want to port to CC.
Quote:
Thanks guys for the help!
Jeff.
You are welcome.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Companion & storing books on the Nook HD/HD+ micro SD Card PatNY Calibre Companion 1 06-14-2013 12:01 AM
Do I need to run Calibre content server to use Calibre Companion flyash Calibre 2 04-06-2013 10:19 PM
Standalone content-server and Calibre Companion issues duckpuppy Devices 2 11-08-2012 07:54 AM
[Android App] Calibre Companion content server integration chaley Devices 44 10-21-2012 02:26 AM
[Android App] Calibre Companion and my 16 GB Micro SD Card kazbates Devices 2 10-13-2012 05:20 PM


All times are GMT -4. The time now is 10:13 AM.


MobileRead.com is a privately owned, operated and funded community.