![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2014
Device: Android tablet + FBReader
|
FBReader thinks no books are downloaded after 3.1.1 update
Background: Calibre running on a home network, serving eBooks to family members' tablets. Prior version was 2.85.1, always running on a Win7 virtual machine that is hosted on a QNAP NAS. Clients are Android tablets running FBReader, with the content server added as an OPDS catalog. The content server is set to use a Virtual Library (Preferences | Sharing over the net | Virtual library to apply) for convenience to filter out foreign-language titles that were included in some large eBook collections I've purchased and eBook conversions that were badly mangled, where I want to attempt to clean up before serving the book.
The use pattern from the clients is to navigate within FBReader to Calibre's OPDS catalog, select "By Newest", then download anything of interest from the titles not-yet-downloaded (FBReader has a simple graphic indication of downloaded versus not). I ran the 3.1.1 upgrade, restarted Calibre, and everything looked successful until I switched to a tablet, brought up FBRreader, and checked Calibre's catalog. The tablet is now indicating that all the books in the catalog need to be downloaded. Somehow it has lost synchronization with what has already been pulled down to the tablet's storage. This would have been "epic failure" for the non-computer-literate family members who use my library, so I uttered a quick prayer to the upgrade rollback gods, uninstalled 3.1.1, and reinstalled 2.85.1. Everything came back, preferences, my fumbling attempt to build a custom news source, and best of all, the tablets regained synchronization with what they had already downloaded from the catalog! I've seen plenty of software over the years where rolling back ranged from painful to impossible, so many thanks for not breaking anything with this one! I'll admit to being clueless about the internals of OPDS ... It has always just worked for me since I started using Calibre. I suppose I assumed that the catalog must present *something* robust for each title (i.e., a content hash, or GUID that the server would change on any server-side modification), so a client could detect new/different content from anything locally stored??? Regardless of how it actually works, things went wrong for me with the upgrade. Can anyone who does understand this stuff tell me how I can correct things so I can reapply the update? Thanks, Alan |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The OPDS feed from calibre includes a UUID (universaly unique ID) for all books. My guess is that FBReader does not actually use it to identify books, but instead uses the URL (which changed because the server now supports multiple libraries ina single instance).
Nothing calibre can do about that. You will need to contact FBReader to confirm my theory. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2014
Device: Android tablet + FBReader
|
Quote:
For my store in knowledge, if I use Calibre to make an edit to a title (metatdata change, content cleanup, etc), is the UUID replaced with a new value? That is, does it provide a consistent means for a client to detect change? Cheers, Alan |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
uuids are never changed. Even when you copy a book to a different library (assuming you use delete after copy) the uuid remains unchanged.
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 19
Karma: 10
Join Date: Jan 2014
Device: Android tablet + FBReader
|
Quote:
Thanks, Alan |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Every book entry has a last modified timestamp in <updated> that tells when the metadata for that entry was last changed. And every download link for a book file has both size and mtime information to tell when to re-download a aprticular file.
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
CC also uses the UUID to check for on-device in all three of its connections: wireless device, content server, and cloud. One downside: CC replaces FBReader as the library manager. CC can use FBReader as the reading app. If you have questions about CC, post them on the CC forum. |
|
![]() |
![]() |
![]() |
#8 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
|
Quote:
I posted one around three months ago on the only place on their site that I could find, for submitting issues, and haven't received any response. Amber |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FBReader update: hash vs filepath difficulties. | taratears | Android Devices | 0 | 04-29-2017 05:00 PM |
All my books on device, but Calibre thinks 12% of them aren't. | Geremia | Library Management | 0 | 12-27-2014 07:15 PM |
James Patterson Thinks That Books are Precious Snowflakes That Need to be Rescued... | pidgeon92 | News | 6 | 04-28-2013 04:57 PM |
Jetbook will add FBReader with next firmware update | jgray | News | 33 | 06-19-2009 02:39 AM |
Update Settings for FBReader 0.8.14 | wallcraft | iRex | 6 | 03-05-2009 08:17 AM |