![]() |
#166 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Well, an interesting result. I am now getting:
4 x epubs - all duplicated (2-3 times), for each book at least one of the entries has the correct plugboard info. 1 x pdf - no duplicate - no plugboard info, author & title = Calibre author & title 1 x txt - no duplicate - no plugboard info, author=blank, title=save template name Thumbnails are being sent but then disappear and are replaced with one extracted by the Sony. This is like deja vu with the x50 models. In case it's relevant, the solution that time was to make sure the thumbnail had precisely the correct height that the Sony wanted (217px for the x50s, I think). chaley will know all about this. Collections no longer working. All filenames look correct as per save template. All books correctly saved to a single directory, e.g V:\Sony_Reader\media\books\James, Peter - DS Roy Grace 07 - Dead Man's Grip.epub Last edited by jackie_w; 10-11-2011 at 08:43 PM. |
![]() |
![]() |
![]() |
#167 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
I'd wait until the fixes come in before delving to deep into this. A lot of this looks exactly like the timezone + Windows path bugs. It'll be hard to separate out any new bugs from the existing ones when the symptoms are all the same.
|
![]() |
![]() |
![]() |
#168 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
OK no probs. I can get a workable system by removing the T1 plugboard and sorting by filename for as long as it takes.
Thank you for all your hard work, I expect you'll be glad when it's over ![]() |
![]() |
![]() |
![]() |
#169 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
So now I'm not convinced that Sony screwed up anymore. I did more testing and it looks like it is really a Unix Epoch value. The real bug is that the Sony will do a full rescan after a shutdown even if the timestamps are correct.
![]() But the wrong date is being used on Windows (getctime has two different answers), which isn't helpful. I'm submitting a patch for the Windows issues now. Last edited by Kolenka; 10-11-2011 at 10:58 PM. |
![]() |
![]() |
![]() |
#170 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The metadata management setting matters a great deal. If it is not on automatic, then sync_booklists is not called with the updated metadata, collections are not resorted, and collection renaming is turned off. FWIW: I think that the non-automatic settings aren't useful, but others clearly disagree with me. Getting this functionality worked out in the early 0.7 versions was very painful. |
|
![]() |
![]() |
![]() |
#171 | |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
Quote:
What I was trying to point out is that logic isn't integrated into the driver. Unless I missed something big, that seems to be the case. Calibre figures out what the metadata should be, based on that setting, and passes it along to sync_booklists as needed. At least that's how everything was behaving while I was developing. It'd be a pretty big thing to miss if I was wrong on that. |
|
![]() |
![]() |
![]() |
#172 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Ahh, I see. You are saying that from the driver's point of view, that setting isn't relevant as long as sync_booklists updates the metadata when asked. This is correct, at least for all the devices that I have had anything to do with. However, the setting is very relevant from the user's point of view.
![]() My experience is that using automatic management works around a lot of bizarre sony problems that are usually caused by timestamps. Plugging in the device again will rewrite the database. Assuming a book is already in the database and has not been modified by a previous job step, as long as the driver doesn't mess with the timestamp(s) in sync_booklists, then this process will insert calibre's version of the metadata. Last edited by chaley; 10-11-2011 at 11:49 PM. Reason: clarify date checking claims |
![]() |
![]() |
![]() |
#173 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
Yeah, the fact that they are using a local timestamp for modification time is kinda screwy. Any time the timezone changes or daylight savings time starts, you risk having it reload the whole database.
|
![]() |
![]() |
![]() |
#174 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It took me *many days* to get timezone management mostly to work for the older sonys. ![]() |
|
![]() |
![]() |
![]() |
#175 |
<Insert Wit Here>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
|
That's a good point. I didn't realize that FAT32 wasn't standardized on any time zone. So it's a design problem introduced by a design problem.
Okay, I've submitted one final patch for the path issue (you and Kovid helped me realize the source of the bug, that and I finally have a slow Win7 setup to test with). As long as more bugs don't show up for Windows folks, I'm gonna take a break. Projects like this don't mix well with long work hours. |
![]() |
![]() |
![]() |
#176 | |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: Sep 2011
Location: NYC
Device: PRS-T1 Black, T2 Black
|
Quote:
Just a quick note: The background process and the painful slowness of the T1 happens when I put in 20GB+ worth of mp3 as well. (Hence, I revert back to a 1GB MicroSD and probably use the 32GB card for my Samsung S2 phone instead for better re-purpose of the card.) I suspect that the T1 will be faster after this initial scan once it digest the info in some kind of a internal db that ensures file integrity. But after almost 8 hours of meddling with it. (And the fact that the Mp3/audio playback Interface is subpar... ) I decided that it is just not worth it... Does anybody know if PRS+ is better with the audio playback? Sad to say, I can't even get the player to play 2 songs sequentially across different album... (That unit test I can do, without a 20GB MP3 library.) Anyways, don't mean to sidetrack the important work on collection, path and timestamps. Thanks again and really appreciate the good work. Last edited by azxswq; 10-12-2011 at 01:22 AM. |
|
![]() |
![]() |
![]() |
#177 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I've uploaded a new build with Kolenka's latest bug fixes, same place as before.
|
![]() |
![]() |
![]() |
#178 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Rather then just music I was also interested in storing audiobooks on my Sony PRS-950 (I ahve a 9GB Memory stick for this). Although technically this is possible I find that the limited capabilities to select the order in which tracks are played, and to remember where you were make this less useful that I had hoped. As a result I find myself using my iPhone and/or iPad for audiobooks instead. |
|
![]() |
![]() |
![]() |
#179 |
Member
![]() Posts: 23
Karma: 10
Join Date: Oct 2011
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#180 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,389
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have no idea, Kolenka is the one to ask.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |