Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2015, 09:13 AM   #1
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Android Gingerbread

What CC capabilities are not available when using CC on a device running Gingerbread (Android 2.3.6)?

I have an old device I am configuring as a backup reader. The device is not upgrade-able to a more recent Android version. In CC Settings, one or more options are replaced with a statement that some options are not available because the device is running Gingerbread.

Thanks!
gsparks2 is offline   Reply With Quote
Old 04-19-2015, 10:50 AM   #2
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
What CC capabilities are not available when using CC on a device running Gingerbread (Android 2.3.6)?

I have an old device I am configuring as a backup reader. The device is not upgrade-able to a more recent Android version. In CC Settings, one or more options are replaced with a statement that some options are not available because the device is running Gingerbread.

Thanks!
A quick scan of the code shows:
  • Locking open the grouping drawer
  • Changing the language
  • Scroller management
  • The auto-connect-at-time feature (new feature appearing this week)
  • Home screen widgets (new feature appearing this week)
  • Home screen shortcuts (new feature appearing this week)
  • Certain "Home button" (icon in upper left corner) functions such as closing dialogs
  • Certain page styles
  • Display of full HTML in comments
  • Correction of colors for e-ink devices
  • Accurate display of hierarchical items in the grouping drawer
I may have missed a few.

FYI: Starting this year, if a new feature or an improvement can work even marginally better if we exclude Gingerbread then we do so. That is why the home screen widgets & shortcuts and the auto-connect option are not on Gingerbread. At some point we might choose to stop development for Gingerbread, in which case users will be "stuck" at the last Gingerbread-enabled release we made.
chaley is offline   Reply With Quote
Advert
Old 04-20-2015, 03:37 PM   #3
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Thank you for your detailed response. I have an old device that I am setting up as a backup reader. It is a Samsung Infuse. I have tried to upgrade past Gingerbread but cannot due to hardware limitations. I bricked it several times trying.

My main reading device has Android Lollipop.

Again, thank you.
gsparks2 is offline   Reply With Quote
Old 04-20-2015, 03:42 PM   #4
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
Again, thank you.
You are welcome. It was worth the few minutes to quantify what the changes were. Hadn't done that before.
chaley is offline   Reply With Quote
Old 04-21-2015, 02:48 PM   #5
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
I appear to have run into a brick wall on number of books I can put on the Gingerbread device. All goes well until I hit 12,401 books then all transfer stops with error message that file cannot be created.

I tried with book folder in internal storage and hit the limit.
I uninstalled CC, reinstalled CC with book folder on external SD card. Hit limit again at 12,401 book files.

The external card appears to be formatted by Gingerbread with Fat32. There is an inherent limit to number of file entries using FAT32 that may be the culprit.

Note that with the Lollipop device there are no problems with 16k+ books on external SD card which uses ext4 file system.

Not asking for any fix (I don't believe this has anything to do with CC) or help, just wanted to share info. However, if you have comments I will welcome them.
gsparks2 is offline   Reply With Quote
Advert
Old 04-21-2015, 03:11 PM   #6
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
I appear to have run into a brick wall on number of books I can put on the Gingerbread device. All goes well until I hit 12,401 books then all transfer stops with error message that file cannot be created.

I tried with book folder in internal storage and hit the limit.
I uninstalled CC, reinstalled CC with book folder on external SD card. Hit limit again at 12,401 book files.

The external card appears to be formatted by Gingerbread with Fat32. There is an inherent limit to number of file entries using FAT32 that may be the culprit.

Note that with the Lollipop device there are no problems with 16k+ books on external SD card which uses ext4 file system.

Not asking for any fix (I don't believe this has anything to do with CC) or help, just wanted to share info. However, if you have comments I will welcome them.
AFAIK the limit for the number of files on FAT32 is large, more than 200 million. However, that limit only matters if the number of "clusters" is sufficiently large. Each file/folder takes at least one cluster.

Have you determined whether or not the system thinks that the SD card is out of space? If your card has 65,000 clusters (the minimum is somewhere near that) then it is easy to imaging that 12,000 books could consume that many clusters, counting formats and folders.

I suppose that there could be some limit in Gingerbread itself, but this is rather hard to swallow.

One thing you could try is to turn on CC's UUID naming scheme. That reduces the number of folders to one and the number of files to the number of books.
chaley is offline   Reply With Quote
Old 04-21-2015, 03:28 PM   #7
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Thanks. The Device does not show that all space has been used when the limit is reached. For internal storage, there was 3gB left and for external SD card there was 8gB left.

I will try the UUID naming scheme and see how that works.

fyi I was looking at this: http://android.stackexchange.com/que...directory-size
gsparks2 is offline   Reply With Quote
Old 04-21-2015, 04:12 PM   #8
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
That says that the max number of files in a given folder is 65,500 or thereabouts. Unless you are using the root of the SD card and have a lot of other stuff in there, you shouldn't be reaching that limit.
chaley is offline   Reply With Quote
Old 04-21-2015, 04:52 PM   #9
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Ah! I interpreted this to say that there was a limit of 65,500 entries in the file allocation table for a given folder and that file names that exceed the 8.3 length would use additional entries in the FAT, from 2 to 13 entries per file. If that were true then 12,401 files with long file names could use up the 65,500 limit if and only if the file names required over 5.x entries per file.

I will let you know how the UUID works out.

Thanks!
gsparks2 is offline   Reply With Quote
Old 04-22-2015, 06:07 PM   #10
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Using the UUID function, CC has blasted through the 12,401 number and still going strong.


Edit: It stopped transferring at 13k+ books.

Last edited by gsparks2; 04-23-2015 at 05:05 PM.
gsparks2 is offline   Reply With Quote
Old 04-23-2015, 02:41 AM   #11
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
Ah! I interpreted this to say that there was a limit of 65,500 entries in the file allocation table for a given folder and that file names that exceed the 8.3 length would use additional entries in the FAT, from 2 to 13 entries per file. If that were true then 12,401 files with long file names could use up the 65,500 limit if and only if the file names required over 5.x entries per file.
I reread the document and you are right.

Quote:
Originally Posted by gsparks2 View Post
Using the UUID function, CC has blasted through the 12,401 number and still going strong.
My calculations are that the UUID name will take 3 slots and the short name 1, so it should hold around 16,000 books.

Now that I understand what is going on, a better solution is to change the save template in the wireless device driver in calibre. Something like
Code:
{author_sort:.1}/{author_sort:sublist(0,1,&)}/{title} ({id})
should work well. It creates a parent folder named with the first letter of the first author in author_sort, then a subfolder named with the first full author in author_sort, then the actual file named with the title and the calibre id to disambiguate if there are multiple books with the same author / title.

EDIT: if you do this, be sure to turn off the UUID option.

EDIT 2: You can change in mid-stream if you want. The wireless device driver remembers if a file is already on the device and will use its current name, ignoring the template. New files will use the template.

Last edited by chaley; 04-23-2015 at 02:44 AM.
chaley is offline   Reply With Quote
Old 04-23-2015, 07:33 AM   #12
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Thank you. I will try the save template change.
gsparks2 is offline   Reply With Quote
Old 04-23-2015, 03:07 PM   #13
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
I went to Preferences>Sending books to devices and entered the template editor and entered the string {author_sort:.1}/{author_sort:sublist(0,1,&)}/{title} ({id})

The Template Value: box shows "EXCEPTION: Value: unknown field id".

Edit: I tried several different templates in this dialog including the default. no matter what I do the filename shows up on the device in the format Title - Authors (id).format with no folder structure at all.

Last edited by gsparks2; 04-23-2015 at 03:18 PM.
gsparks2 is offline   Reply With Quote
Old 04-23-2015, 03:18 PM   #14
chaley
Grand Sorcerer
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Two points:

1) What version of calibre are you running? I ask because copying the string from post 11 then pasting it into the text box you mention works fine for me.

2) You make the change in the SmartDevice App interface plugin. You can get there while connected by right-clicking the Device button and choosing "Configure ...", or while not connected by going to Preferences / Plugins / Device Plugins / SmartDevice ... .
chaley is offline   Reply With Quote
Old 04-23-2015, 03:43 PM   #15
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Calibre 2.25 64 bit

I suspected I was in the wrong place. Thank you!
gsparks2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 Android 2.3 Gingerbread for the T1 - let's cook a custom ROM uboot Sony Reader Dev Corner 9 01-22-2012 07:41 AM
Lenovo 7" Android Gingerbread 8GB $200 16GB $250 jasoraso Android Devices 8 01-19-2012 10:05 AM
Android GingerBread OS 2.3.1 on COBY KYROS 7015 and 7015A tipstir Android Devices 0 05-27-2011 03:19 PM
Android 2.3 Gingerbread for Galaxy S Vibrant agarner Android Devices 0 04-03-2011 10:27 AM
Gingerbread released! VenturingSoul enTourage Archive 3 12-06-2010 03:55 PM


All times are GMT -4. The time now is 03:35 PM.


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