11-12-2011, 12:04 PM | #316 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
|
11-15-2011, 05:45 PM | #317 | |
<Insert Wit Here>
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
Fix isn't in 0.8.26, so you have to wait for 0.8.27, sorry.
Kovid, thanks for looking at that. I wouldn't have been very good at catching it myself, due to the lack of familiarity with the Calibre interfaces (or without Tuttle's update on the bug that helped nail down a way to reproduce it). Quote:
- The T1 has two different books.db files. One on the internal partition, one on the SD card. - The T1 loads and "merges" the two databases into a single entity/thing in the homescreen application. - To ensure all ids are unique, the books.db for internal memory is given the the 0-2^32 range (0-4 billion). The books.db for the SD card is given the 4-8 billion range. SQLite uses a special SQL table to tell it what id# to use next. The T1 creates the books.db file on the SD card and will configure this special SQL table to start at: (2^32+1). The bug is that for some reason, the T1 isn't always doing this special configuration. But the driver assumes it has been done, and lets the database figure out what id# to use. If it hasn't, then you get two "0" ids. And as above, since the T1 merges the two databases, the two books with '0' as their id collide and cause the symptoms. I haven't had much time to spend in my code editor of choice lately to write up the work-around, but it is on my list to do in the next couple days. I suspect the Sony software will check for the special configuration before writing new entries (and fix the configuration if needed). I'll need to do similar in the Calibre driver. EDIT: It is kinda interesting that Sony assumes you cannot fit more than 4 billion books into their 2GB internal memory. At least they are right that you can't. Last edited by Kolenka; 11-15-2011 at 05:47 PM. |
|
Advert | |
|
11-16-2011, 02:29 AM | #318 |
Zealot
Posts: 127
Karma: 744
Join Date: Oct 2011
Device: Sony PRS-T1
|
|
11-18-2011, 08:12 PM | #319 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2011
Location: World
Device: Tolino Vision 6, Kindle Voyage 2x,Sony PRS-T1 rooted,Sony Prs-505
|
|
11-18-2011, 08:38 PM | #320 |
Member
Posts: 11
Karma: 12584
Join Date: Oct 2011
Device: Sony PRS-T1
|
I can confirm that the issue with automatic cover refreshing and non-Calibre'd ebooks on the T1 seems fixed in 0.8.27.
|
Advert | |
|
11-18-2011, 08:42 PM | #321 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
11-19-2011, 03:41 PM | #322 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Oct 2011
Location: World
Device: Tolino Vision 6, Kindle Voyage 2x,Sony PRS-T1 rooted,Sony Prs-505
|
Re: #248 - @CedroRosso (and also #241 - @Scott Nielsen)
First keep in mind that some processes on the PRS-T1 are running in the background. Have you tried a complete shutdown (power off)/power on cycle? That has helped for me, rebuilding the database. In the messages in this thread (try to read all) there was mentioned that the device is for a lengthy time unresponsive after power on, due to a rescan/rebuild of the database, which seems to happen, wether necessary or not. Last edited by justloveebooks; 11-19-2011 at 03:47 PM. Reason: Due to late date, answer not in right place in the thread |
11-20-2011, 09:57 AM | #323 | |
Guru
Posts: 967
Karma: 3438612
Join Date: Oct 2009
Device: Kindle Voyage, Kindle 4NTB x 4
|
Quote:
S |
|
11-22-2011, 11:51 AM | #324 |
Member
Posts: 21
Karma: 10
Join Date: Nov 2011
Device: Sony PRS-T1
|
Collections issue and questions
Hi I have a few questions I hope you can help,
1) When sending books to device using 'tags' for collections on the device plugin; the collections are created but are not populated until I send the books again, at which point they get populated. Is this correct behaviour ? 2) Can the device plugin use metadata 'genre' as an option to create and populate collections instead of 'tags' ? 3) I have a 'collection' on 'Internal Memory' which is displayed with an icon that looks like a 3 book stack with left/right arrows on it which I can neither delete rename or add content to. How do I clear the issue to allow me to create 'Internal' memory collections that work ? 4) Is it possible to create collections on the device and then have Calibre populate them if a 'tag' matches it without having calibre create new collections ? Last edited by requiem_mortis; 11-22-2011 at 11:54 AM. |
11-22-2011, 12:09 PM | #325 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
1) Mine get created the first time
2) Yes - just customize the Sony PRS-T1 device interface plugin to say what generates collections. 3) Not sure what is happening here 4) If you mean add to existing collections, then I do this all the time It might be worth checking whether you have Automatic Metadata Management set under Preferences->Sending Books to Device. I do, so my answers are in that context. |
11-22-2011, 12:44 PM | #326 |
Member
Posts: 21
Karma: 10
Join Date: Nov 2011
Device: Sony PRS-T1
|
@itimpi
Thanks for the swift reply 1) Mine get created they just don't get populated first time around 2) ...err how do I do that...I tried just putting in 'genre' in place of 'tags' in the device plugin but it didn't work 3) neither am I 4) I tried creating a couple of collections and then sending books which had the tag but the collections weren't updated My preference was for updating metadata was Manual, I'll try Automatic |
11-22-2011, 02:38 PM | #327 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
If genre is a custom column (which it probably is), you should use the column lookup name "#genre" instead of the column heading "genre", the same name you would use to search for values in this column.
|
11-22-2011, 05:43 PM | #328 |
Member
Posts: 21
Karma: 10
Join Date: Nov 2011
Device: Sony PRS-T1
|
@chaley
Thankyou that works a treat even comes up with (genre) appended to the collection title which I quite like...as it differentiates it from the series collections. Still have the problem that collections get created but are not populated until I eject and then reconnect the device so that the meta data is synced again. |
11-22-2011, 06:29 PM | #329 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
11-22-2011, 06:44 PM | #330 |
Member
Posts: 21
Karma: 10
Join Date: Nov 2011
Device: Sony PRS-T1
|
@dwanthy
Hi...Yes Metadata Management is set to Automatic management and I still have the same issue of collections being created but not populated until second sync. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prs 505 Sony and calibre 0.8 | duduche33 | Devices | 3 | 05-12-2011 10:50 AM |
Calibre for Sony prs 350 | Rick1971 | Calibre | 4 | 12-26-2010 12:27 PM |
Calibre and Sony PRS-600 | Archergal5219 | Calibre | 2 | 07-25-2010 12:32 AM |
Sony PRS-505/Sony Connect/Calibre | thesweetone | Sony Reader | 26 | 09-30-2009 03:00 PM |
Calibre and Sony PRS-600 | lukasfikr | Calibre | 10 | 08-26-2009 09:11 PM |