Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-19-2012, 11:35 PM   #1651
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Hi Meme,

I just set up Kindle collections on my iMac, and any time I go into "Customize Collections" it crashes when I click "Ok", whether I make a change or not.

I then get an extremely long error message, which I've attached to this post.
Attached Files
File Type: rtf Kindle Collection Error.rtf (68.7 KB, 362 views)
Nyssa is offline  
Old 07-28-2012, 09:44 AM   #1652
SASSBS
Connoisseur
SASSBS doesn't litterSASSBS doesn't litter
 
Posts: 84
Karma: 118
Join Date: Aug 2011
Device: Kindle Keyboard; Kindle Fire
Hi Meme

quick question, is there a way to use the plugin to control the kindle for pc application? since it uses a sqllite database as well I was wondering if we can use the collection to setup kindle collections and add books automatically?

Thanks
SASSBS is offline  
Old 07-29-2012, 02:23 AM   #1653
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Hiya,

I have created a Collections Manager for the Kindle Touch.

I guess that many Kindle Touch users would like to manage their collections using calibre. That would be possible if the Collections Manager was able to synchronize the internal database with the system/collections.json file. I could write the logic required to do that, but I'll need a little more information.

First, I only have a Kindle Touch, so I don't know what the expected format of collections.json is. Could you please give me some sort of "specification" ? I did create a test collection, this is how it looks:

Code:
{"Sample Series@en-US": {"items": ["#7af2ad8e-f04e-4797-bab4-8dfc0277210d^EBOK", "#B004UBEKXI^EBOK"], "lastAccess": 1234567890000}}
What I would need is some more information about the format. For instance, will a collection always (only) contain an "items" array and a "lastAccess" timestamp, or are there more fields to consider? Will an entry always be in the form of "#$CDE_KEY^$CDE_TYPE", or are there other formats? Also, which CDE types are supported by calibre ("EBOK" only, or others, such as "AZW2", as well)?

I'm sure that being able to manage the Kindle Touch collections with calibre is something that many users would like, so thanks in advance for helping me out with this.

Last edited by ixtab; 07-29-2012 at 02:37 AM. Reason: slightly changed questions :)
ixtab is offline  
Old 07-29-2012, 04:18 AM   #1654
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
ixtab:

Very nice. Since your code requires jailbreaking the Kindle I'll post my comments to your development thread.
meme is offline  
Old 07-29-2012, 04:52 AM   #1655
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by SASSBS View Post
quick question, is there a way to use the plugin to control the kindle for pc application? since it uses a sqllite database as well I was wondering if we can use the collection to setup kindle collections and add books automatically?
The plugin does not use an sqllite database, it uses the json file of the pre-touch format, and its setup to work directly on a Kindle.
meme is offline  
Old 07-29-2012, 05:55 AM   #1656
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by meme View Post
ixtab:

Very nice. Since your code requires jailbreaking the Kindle I'll post my comments to your development thread.
Thank you for the quick reply!

I have now released a new version of the Kindle Touch application, which can create or update collections based on the output of the plugin. Maybe you could add a link to it from the first post, so Kindle Touch users can benefit as well...? (Yes, it requires jailbreaking, but it's still worth mentioning IMHO)

Cheers!

Last edited by ixtab; 07-29-2012 at 07:18 AM.
ixtab is offline  
Old 07-29-2012, 06:03 AM   #1657
SASSBS
Connoisseur
SASSBS doesn't litterSASSBS doesn't litter
 
Posts: 84
Karma: 118
Join Date: Aug 2011
Device: Kindle Keyboard; Kindle Fire
Quote:
Originally Posted by meme View Post
The plugin does not use an sqllite database, it uses the json file of the pre-touch format, and its setup to work directly on a Kindle.
Hi Meme I know the plugin writes to a json file, but the calibre application uses the sqllite database so there must be a way to link the 2?

If I send the collections to a K3 Keyboard, and then import to a touch it doesn't work.
SASSBS is offline  
Old 08-06-2012, 06:23 PM   #1658
fishwithsticks
Junior Member
fishwithsticks began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2012
Device: Kindle
Any word on if there will be an update to the Plug In so it will sort AZ3 files? That's all I'm getting these days from Amazon on my Kindle (NOT Touch or Fire).
fishwithsticks is offline  
Old 08-06-2012, 07:13 PM   #1659
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Quote:
Originally Posted by Nyssa View Post
Hi Meme,

I just set up Kindle collections on my iMac, and any time I go into "Customize Collections" it crashes when I click "Ok", whether I make a change or not.

I then get an extremely long error message, which I've attached to this post.
Any chance of my getting a response to this?
Nyssa is offline  
Old 08-07-2012, 10:55 PM   #1660
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Simple patch to handle azw3 files, for K4/K5 users .

Didn't test much yet, but the headers are basically the same for what we care about, so it shouldn't cause any problems .

EDIT: Kill deprecated attachments, merged in 1.7.11 .

Last edited by NiLuJe; 09-30-2012 at 01:20 PM.
NiLuJe is offline  
Old 08-08-2012, 03:14 AM   #1661
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
@NiLuJe Thanks. I will try to get this into a new version - its pretty much what I was expecting to do, but I wasn't sure if the formats were close enough that the code to extract the information would work.

@Nyssa I don't have a Mac so I've no way to test it or to find out if other Mac users have the issue, or what might have changed in calibre or the Mac to know what's causing the issue...
meme is offline  
Old 08-08-2012, 03:21 AM   #1662
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by meme View Post
@Nyssa I don't have a Mac so I've no way to test it or to find out if other Mac users have the issue, or what might have changed in calibre or the Mac to know what's causing the issue...
That crash is almost certainly caused by some QAction in your plugin that is being garbage collected. Make sure you keep references to all QActions in your plugin to prevent them from being garbage collected.
kovidgoyal is offline  
Old 08-08-2012, 12:13 PM   #1663
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,283
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by kovidgoyal View Post
That crash is almost certainly caused by some QAction in your plugin that is being garbage collected. Make sure you keep references to all QActions in your plugin to prevent them from being garbage collected.
That can be the case, yes.

But I recently saw a problem with a user on Mac that had all the symptoms of a garbage collected QAction but wasn't.

Just something else to look at if keeping references doesn't fix it.
JimmXinu is offline  
Old 08-08-2012, 06:44 PM   #1664
Eljayb
Member
Eljayb began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2011
Device: Kindle
Sorting under titles in Kindle

I have a perplexing problem.

If I put books onto my Kindle from my laptop, sort the Kindle by title then the Collections appear first in alphabetical order and also in the Collections sort.

As I read my authors they do not jump to the top in the Title sort which is what I want.

If I put books across using my desktop, sorting under titles actually shows the titles (which I am sure is supposed to happen) and I can find my collections under Collections only. The last read author jumps to the top which ?I do NOT want to happen.

The question is how do I copy the laptop behaviour to my desktop machine so they both will put the Collections in the Title sort.

I am using the same versions of Calibre and the Kindle Collections plugin on both machines

I would be grateful for any suggestions.

Last edited by Eljayb; 08-08-2012 at 06:53 PM.
Eljayb is offline  
Old 08-09-2012, 09:36 AM   #1665
Nyssa
Series Addict
Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.Nyssa ought to be getting tired of karma fortunes by now.
 
Nyssa's Avatar
 
Posts: 6,180
Karma: 167189477
Join Date: Dec 2010
Location: Florida, USA
Device: Kindle Paperwhite (2nd Gen)
Quote:
Originally Posted by Nyssa View Post
Hi Meme,

I just set up Kindle collections on my iMac, and any time I go into "Customize Collections" it crashes when I click "Ok", whether I make a change or not.

I then get an extremely long error message, which I've attached to this post.
Quote:
Originally Posted by meme View Post
@NiLuJe Thanks. I will try to get this into a new version - its pretty much what I was expecting to do, but I wasn't sure if the formats were close enough that the code to extract the information would work.

@Nyssa I don't have a Mac so I've no way to test it or to find out if other Mac users have the issue, or what might have changed in calibre or the Mac to know what's causing the issue...
Quote:
Originally Posted by kovidgoyal View Post
That crash is almost certainly caused by some QAction in your plugin that is being garbage collected. Make sure you keep references to all QActions in your plugin to prevent them from being garbage collected.
Quote:
Originally Posted by JimmXinu View Post
That can be the case, yes.

But I recently saw a problem with a user on Mac that had all the symptoms of a garbage collected QAction but wasn't.

Just something else to look at if keeping references doesn't fix it.
Thanks guys. I hope Meme can work it out. I'd hate to lose the use of Kindle Collections, its one of my favorite Plugins.
Nyssa is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections (Update) NiLuJe Plugins 463 02-16-2024 12:43 AM
Kindle Collections plugin JosephWebber Plugins 1 08-21-2017 11:44 AM
[GUI Plugin] WebOS Kindle-Import CranstD Plugins 0 01-24-2012 03:36 PM
Finding and using Kindle Collections Plugin djchapple Plugins 2 08-03-2011 10:06 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:54 AM.


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