View Single Post
Old 03-21-2010, 11:36 AM   #1
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Help with Merge Records code - E-reader users and developers?

I'm working on merge records code where you will be able to select a first record, which will survive, then more records to be merged into it. The merge records will be deleted after merging is complete.

I've been looking at the code for deleting records, and it refers to 4 different "views" I'm reasonably sure that the views it refers to are the main GUI, a main memory view (probably main memory of the ereader), and two card views (A and B -probably SD cards).

It looks like the code deletes books from the ereader, as well as the main database. I don't have any device that Calibre considers an ereader, so I can't check any of this. The only view I ever see is the main GUI. (At least, that's the only view my traps ever report) I'd like confirmation that these, multiple "views" do appear to those who own ereaders and that Calibre does delete books from the ereader.

I'd particularly like comments on what should happen during the merge process to books on an ereader. Some records will disappear as their books are merged into the main record. I'm inclined to "do nothing" unless the system is looking at the main GUI view, then let the system do whatever it would have done if the changes had been made without an ereader connected. Alternatively, I could "do the same thing" as best I understand it, that happens when these records are just deleted.

Since I've never seen these "views" I'm not even sure if "merge records" is something that one would be able to do when in these views.

Comments would be appreciated.
Starson17 is offline   Reply With Quote