11-15-2014, 01:53 PM | #1 |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Filename changed to one letter when importing from Calibre
I have Calibre Companion on my first gen Kindle HD and love it! Today I went to add 174 books to the device (which would make it a total of 645 books on my device ) and everything seemed fine, there were no error messages, but there was one book in my Calibre library that didn't have a check mark in the On Device column. So I tried to copy it over again and the dialog in Calibre and Calibre Companion showed it copied over (again no errors), but once again the check mark didn't appear in Calibre and the book wasn't listed in CC. When I closed CC, the book was in my carousel. I decided to go ahead and restart my Kindle. The book was still in the carousel but not listed in CC.
I decided to delete the book from my device and try to load it again. Again no error messages (just the usual dialog), and this time the book appeared in CC and was check-marked in Calibre, but another book got uncheck-marked in Calibre and disappeared from Calibre. When I loaded it into CC the original book got unmarked and disappeared from Calibre (and this time didn't show up in my carousel or my book folder). I have plenty of memory on my Kindle (24 GB out of 27GB available), so I was wondering if I somehow discovered the upper limit to the number of books that CC can manage. There are no error messages from either Calibre or CC, the books just seem to keep swapping. |
11-15-2014, 03:28 PM | #2 |
Testate Amoeba
Posts: 3,049
Karma: 27300000
Join Date: Sep 2012
Device: Many Android devices, Kindle 2, Toshiba e755 PocketPC
|
I have 712 books in Calibre Companion on my device, so it doesn't look like it's a simple numbers thing.
|
Advert | |
|
11-15-2014, 03:52 PM | #3 |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
I was afraid of that (and glad at the same time that I haven't reached some limit). All I can think of at this point is to try restarting everything and try again.
|
11-15-2014, 03:54 PM | #4 |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
I have over 900 and there are people with thousands so it's not that. I did have a problem once where the template I used to create the file names created names that were too long. Whatever algorithm CC uses to shorten the name created a few books with the same filename. Check the filename on your device to see if it's the same as the other book.
|
11-15-2014, 04:05 PM | #5 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
CC can support thousands of books. I personally have 1400 on my "production" reader and I know of users with in excess of 15,000 on the device, so 600 books isn't in principle a problem. However, system memory might be a problem. The first gen kindle has only 512 MB of memory available to apps, which is not very much. In addition to having not a lot of program memory, the first gen kindle fire runs Android 2.3 (Gingerbread) that is known to have problems with memory management of images such as covers.
If you could send me a CC debug log then I might be able to tell you what the problem is. You send a debug log by going to CC's settings, scrolling to the bottom, and choosing "Send a debug log to MultiPie". It would save us a little confusion if you remove my son's email address (the multipie.co.uk one) so that he doesn't think the log is coming from the sky (as many do). If memory is the problem then something that might help is to change CC's settings to use the smallest cover image possible. Because of Android 2.3 problems with managing memory used by images, making the images smaller can reduce memory requirements. You change the cover size by going to Settings / Covers and thumbnails / Downloaded cover size in pixels. Pick 160, then connect as a wireless device and let the sync complete. |
Advert | |
|
11-15-2014, 05:09 PM | #6 | |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Quote:
Unfortunately I haven't been able to fix it yet. I updated the names in Calibre, but CC keeps calling them "S" (.mobi and .azw3) so it kicks out the "duplicate". I've tried reloading the books in Calibre, updating the name, reloading in CC, and they keep getting saved as "S" (.mobi and .azw3). I thought about changing the settings to use the book ID as a filename instead, but I started with this setting and my searches in the Fire didn't work properly for some reason. I may have to switch back to that though. Hopefully this helps someone else who runs into this problem as well, I couldn't find anything about it when I searched. |
|
11-15-2014, 05:14 PM | #7 | |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Quote:
It's good to know about the memory and cover images though - I've been slightly curious why some of my covers wouldn't show up until I restarted my device. The memory issue is probably the reason in that case. |
|
11-15-2014, 05:19 PM | #8 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Note that if you change the template in Preferences / Send to device then that template might take precedence. Check it as well. EDIT: using the UUID as the file name will probably fix things, but it would be good to know why the templates are producing names of one letter. |
|
11-15-2014, 05:40 PM | #9 | |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Quote:
When I first noticed the problem I noticed that the books had the same "S" only name in the Calibre filenames so I had the filenames updated to the same template as all my other books. I'm not sure why Calibre was still sending the wrong filename to CC because I had deleted the files from CC (using Calibre) before renaming them and even deleted the existing mobi/azw3 files and reconverted the epubs to mobi after changing the filenames and then restarted Calibre. I even double checked the filenames in the containing folder after restarting Calibre before trying to transfer them back to CC. But the filenames were still "S" in CC so Calibre was still sending the wrong info. I changed the settings to use the UUID instead and that seems to have fixed things, but I agree that it would be nice to know why the wrong filenames persisted in the transfer. |
|
11-15-2014, 05:46 PM | #10 | |
Grand Sorcerer
Posts: 5,698
Karma: 16542228
Join Date: Feb 2010
Location: Pennsylvania
Device: Huawei MediaPad M5, LG V30, Boyue T80S, Nexus 7 LTE, K3 3G, Fire HD8
|
Quote:
|
|
11-15-2014, 05:53 PM | #11 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
11-15-2014, 05:55 PM | #12 |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Thanks for the code - I'm going to implement it in my Calibre preferences. I do have other books with filenames that are the same length in Calibre that transferred without shortening the filename, but the books in question do have a laundry list of authors and I'm not sure if the filenames in Calibre are exactly the same as what it sends to CC - I only checked the filename length as it is in the Calibre filename, I didn't check to see what the difference in length might be if I included ALL author names. Maybe Calibre truncates the name in its own naming system but feeds the full name to CC without truncation.
|
11-15-2014, 05:58 PM | #13 | |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Quote:
Thank you so much for all your help! |
|
11-15-2014, 06:03 PM | #14 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Calibre truncates the name if necessary so that the total length is less that approximately 200 characters. The 'truncation' is taken from the middle of the name. If the {id} is in the template at the end then there is almost zero probability that the file names will conflict. The only way it can happen is if the same author and title exist in two different calibre libraries and have the same calibre library id. |
|
11-15-2014, 06:28 PM | #15 | |
Groupie
Posts: 169
Karma: 596070
Join Date: Jul 2014
Device: Kindle 4, Kindle Oasis 1 & 2
|
Quote:
Not sure where the same short filenames came from or why they persisted in the transfer info from Calibre even after they were changed, implementing the changes I learned from you guys helped me get them onto my Kindle so I am a very happy camper. And I can't really complain about three oddball files when I have 4700+ books organized by Calibre - those are very good percentages. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre: Read Filename into Custom Column | juston | Library Management | 3 | 07-25-2019 12:34 AM |
Importing changed HTML file -> duplicate entries | MamaSylvia | Conversion | 8 | 03-19-2011 12:29 PM |
importing PDF with author, title in filename | autchirion | Library Management | 3 | 02-22-2011 11:46 AM |
Kindle and Calibre user with problem importing large library into Calibre | pleabargain | Calibre | 1 | 12-07-2010 10:19 AM |
How to change the way Calibre save book's filename? | vne | Calibre | 4 | 10-21-2010 12:41 PM |