10-03-2011, 08:54 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Books aren't sent to the specified directory (Android)
I have a small problem. I try to send books from my Calibre library to my Android phone (Samsung Galaxy S2). I specified in the device plugin to use subdirectories and entered the already on the device existing directory called "eBooks" into the list of the plugin settings.
But the files are always sent to the main directory of my external sdcard (external is ok, was set to default by me in Calibre). Does anyone have an idea what it is I am doing wrong and how to solve this issue? PS: I also would like to put specific genres in subdirs. Could someone point me in the right direction how to manage that (through metatags maybe)? Is there somewhere a guide how to do that? PPS: By using the user defined usb driver it works, books are stored in the specified directory. Any idea how I can manage that while using the normal android plugin? Last edited by Crular; 10-03-2011 at 09:14 AM. |
10-03-2011, 09:27 AM | #2 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
10-03-2011, 09:29 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
|
10-05-2011, 12:33 AM | #4 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The android driver will use the first existing directory on the list. Did you put 'eBooks' at the beginning? You might consider erasing the other entries, unless they are useful to you in some way.
|
10-07-2011, 06:20 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Yes, I put it first. the others won't help either. Using the generic driver works though.
|
11-17-2011, 12:23 PM | #6 | |||
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: Samsung Galaxy Tab
|
Books aren't sent to the specified directory (Android)
Hi to everybody
Not trying to hijack this post, but as I found it searching for a solution to my problem and it is the same this post is about, and as this post seems to not have been closed, I though I can "refresh" it instead of opening a new thread. I'm new to Calibre and I must say that I'm impressed about the functionallity and usefullness of this application. I am facing some minor issues while I'm getting to know and (somehow) master the application. One of the issues is exactly the same that the original poster reported on this tread. I'm using a Samsung Galaxy Tab (Android 2.2, aka "Froyo") and it is recognized by Calibre, no problem there. The Galaxy Tab has an internal memory of around 12 GB that is used as an SD card, and also it has inserted a real external 32 GB SD card. Calibre recognizes both memory devices, the internal one as "Main memory" and the external one as "Card A". The issue I am experiencing is that, no matter what I write on the directory list to use on the configuratin for the Android plugin (or driver), Calibre always create ebook directory entries on the root of the external SD card. Of course, when I tell Calibre to write to that card. If using the internal card, or "Main memory" everything works fine and ebook directories are created under the first directory found on the directory list specified for the Android plugin configuration. To clarify things: 1) The Android plugin is configured to use the following directory list: eBooks 2) There is an eBooks folder on the SD cards, both on the internal and on the external. 3) When I send ebooks to "Main memory" (internal SD card) directories for ebooks are created under folder eBooks in internal SD card, as expected. 4) When I send ebooks to "Card A" (external SD card) directories for ebooks are created at root level on external SD card. Nothing is created under eBooks folder on external SD card. I have read also another post with a reply to something similar to this from kovidgoyal: Quote:
On another reading from Kovid Goyal words, it seems that it can be interpreted that the directory list field on Android plugin affects only at the behavior of that plugin when using the main memory: Quote:
Quote:
Thanks and best regards. |
|||
11-17-2011, 12:45 PM | #7 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
If you always write to the same root folder (eBooks), then a work around might be to specify no target directories to send to and add "eBooks/" to the start of the Save template. I have not tested this, but it should do what you want. At a minimum, it will get your ebooks out of the external sdcard root directory.
|
11-17-2011, 08:48 PM | #8 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: Samsung Galaxy Tab
|
Quote:
So, if you add "eBooks/" to the start of the save template and left blank te field for target directories, you got the following: - when using the external storage card A: the plugin can read all ebooks with the configured formats in ANY directory in the storage card, and when writting ebooks, they appear under the folder "eBooks". So you end with the books in "eBooks/<the book>" as intended. -when using the main memory, if you have left blank the target directories in the plugin configuration, the plugin defaults to a list of hardcoded directories. I bet this hardcoded list is the same as the default list that the plugin has configured by default. So, the plugin can see only ebooks on some directories of the main memory (the ones in that hardcoded list) and when writting, the ebooks appear under the first directory found of that list, not under root directory (/) as it does on the external card. I don't know what will happen if none of the directories in the hardcoded list was found, not tested to that extent. The list has the directories "books" and "eBooks/import" at least. So, provided the directory "books" exists on the main memory, you end with the books in "books/eBooks/<the book>". If you delete or rename directory "books", the books go to "ebooks/import", provided that it exists, and so on for each directory on the hardcoded list. This is not what one should expect, isn't it? On top of that you have the read problem. If you have books on directories other than the ones in that default hardcoded list, the plugin can't find them. Of course it starts finding books in any directory as long as you add that directory to the directory target list, but if you left it blank, then it only sees books on the predefined directories. So, for using this work around, my choice is to not left blank the target directory list configuration field, but adding to the start the same directory I want to use on external card, along with the predefined ones. Doing that I can see books on any directory present on that list in the main memory and when writting to main memory I will have also books written to that first directory... of course with the added directory in the Save Template. For clarifying: - Add prefix to the Save Template: "eBooks/" - Add "eBook, " to the start of the Target directory list: "eBooks, books, eBooks/import, ..." - when you write books to main memory they go to: "eBooks/eBooks/<the book>" - when you write books to storage Card A, they go to "eBooks/<the book>" Well, this is not perfect, but knowing how it works is not a dealbreaker... and of course this is much better than having books scattered at root level on SD card! And now that I have a workaround for (almost) solving the problem, I would like to know if this different behaviour of the Android driver when using the main memory and when using the external storage card is by design or is simply a bug. If this is the intended behaviour for the Android driver, I would like to know what are the reason and the benefits of this against considerig both storage devices (main memory and external storage card) the same thing and having the Android driver behaving exactly the same for both. If it is a bug... well, how can I help to have it debugged? Best regards |
|
11-17-2011, 08:48 PM | #9 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The directory list applies to the main memory not the SD card.
|
11-17-2011, 08:54 PM | #10 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: Samsung Galaxy Tab
|
Quote:
Best regards |
|
11-17-2011, 09:05 PM | #11 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Because most on device reading applications treat internal memory and sd cards differently.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre uses directory of books as structure | stonehat | Library Management | 17 | 07-20-2011 02:17 AM |
Automatically Add Books to Calibre from Directory | pjd6896 | Calibre | 0 | 12-02-2010 09:15 PM |
directory on kobo to kopy books | zoran | Kobo Reader | 5 | 07-19-2010 02:31 AM |
books on SD, directory structure | Cue | Sony Reader | 2 | 06-17-2010 08:24 AM |
Help! Corrupted books Directory | carandol | iRex | 3 | 02-15-2008 07:51 AM |