02-03-2011, 05:07 PM | #106 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
The issue with fully integrating the collections would mean reading files, parsing pathnames, etc. I know this code exists in one of the collection scripts so it could be done - I just haven't been interested in doing it yet. |
|
02-03-2011, 05:20 PM | #107 | ||
Calibre Plugins Developer
Posts: 4,635
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
EDIT: Missed your v1.2 post with a GUI so you clearly got up and running, well done. Will take a look at it later. BTW if you send me a PM with your email I will send you something I was thinking of posting on the "Introduction to plugins" thread. It is a full example plugin template for a "Foo Example" plugin with a gui configuration dialog, custom icons, JSON file, split file architecture etc. Basically a stripped down version of any of my recent plugins with a bunch of TODOs for what you need to change. I'd be interested in your feedback as to how useful it is. Not that I am in any way a Python guru to be suggesting to others how to write their code but the important stuff has come from other developers who do know what they are doing Quote:
Last edited by kiwidude; 02-03-2011 at 06:00 PM. |
||
Advert | |
|
02-04-2011, 12:01 AM | #108 | |
reader, ebook junkie
Posts: 109
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: droid, kindle, kobo, eslick, sony
|
Quote:
|
|
02-04-2011, 09:46 AM | #109 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
I like what you have done with the GUI addition, and I too am looking for a way to preserve the previous collections.
EDIT: Question: How do I get the Clippings file to go into the special collection?? |
02-04-2011, 10:28 AM | #110 |
Addict
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
|
Wishes some times come ...
@meme
Fully understand your design/idea that all is managed by Calibre. Have some vacation coming up soon, so will do the backup rutine, and try out your plugin. I'm currious about the books not transferred by Calibre, but expect they'll always be placed outside Collections. Hope the "merge" collections idea is possible, and will be implemented, and I would like to help, however my programing skill's are not up to this. Any other help I could provide, you got it. Thanks, and have a nice weekend All ! |
Advert | |
|
02-04-2011, 02:10 PM | #111 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
I can get it to work, i'm getting this error:
error: unpack_from requires a buffer of at least 8 bytes calibre, version 0.7.44 ERROR: Unhandled exception: <b>error</b>:unpack_from requires a buffer of at least 8 bytes Traceback (most recent call last): File "C:\Users\nestor\AppData\Roaming\calibre\plugins\C reate Kindle Collections.zip\create_kindle_collections_code.py" , line 1012, in create_kindle_collections File "C:\Users\nestor\AppData\Roaming\calibre\plugins\C reate Kindle Collections.zip\create_kindle_collections_code.py" , line 503, in create_kindle_collections_main File "C:\Users\nestor\AppData\Roaming\calibre\plugins\C reate Kindle Collections.zip\create_kindle_collections_code.py" , line 320, in process_book File "C:\Users\nestor\AppData\Roaming\calibre\plugins\C reate Kindle Collections.zip\create_kindle_collections_code.py" , line 531, in __init__ File "C:\Users\nestor\AppData\Roaming\calibre\plugins\C reate Kindle Collections.zip\create_kindle_collections_code.py" , line 622, in __init__ error: unpack_from requires a buffer of at least 8 bytes |
02-04-2011, 04:13 PM | #112 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
I'll update to 0.7.44 and retest it under Windows.
|
02-04-2011, 04:34 PM | #113 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
I usually test under Ubuntu 10.10, currently with 0.7.43. I just checked and it worked fine on Windows Vista with 0.7.42 and on 0.7.44 after upgrading. The space between C and r in Create is a bit odd.
|
02-05-2011, 10:11 PM | #114 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2011
Device: Kindle
|
meme, this looks absolutely wonderful. Thank you for the effort!
Please forgive me if I sound stupid, but I just can't figure this out. 1. Where would I find the collections.json file. I looked in the Program files and on the Kindle without success? I ended up skipping the backup step. It wasn't the end of the world in since I was very happy to mess up my collections to try and get your plugin to work. 2. I set the plugin up as per your instructions. Even followed the picture. Tested the plugin with 5 books resulting in 11 collections based on (as far as I could ascertain) Series name, Author and Tags. Great so far... I then changed the columns by just ticking the series criteria but it didn't change the collections on the Kindle. From what I understand it should of changed the collections on the Kindle? Is there a way to setup the collections by: Author - Series name? No tags or funny things like that. Some input will truly be appreciated. Using Win7 x64, Calibre 0.7.44, no tweaks and 1 other plugin (Search the internet) Ejected and rebooted the Kindle after each attempt. Also restarted Calibre between attempts. |
02-05-2011, 11:32 PM | #115 |
Enthusiast
Posts: 46
Karma: 16090
Join Date: Jun 2009
Location: Colorado, USA
Device: Kindle DX, K3, iPad
|
I'm sure you hear this a lot - but this is a great feature for Calibre. Thanks!
I have seen some collection programs for the Kindle, even tried a couple, but they seem to lack something. I downloaded non-GUI version and it worked fine. Then I notice a GUI update a couple days later. This version is fantastic. I have been playing with my collections and getting no reading done. I must have changed my collections 10 times so far. It is just fun to use. |
02-06-2011, 12:45 AM | #116 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
|
Quote:
|
|
02-06-2011, 04:22 AM | #117 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
I solved it. Did a debug run and the error always was while reading the tags on the same book. I deleted this book and it worked.
|
02-06-2011, 08:59 AM | #118 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: kindle 3 Wi-Fi
|
|
02-06-2011, 06:38 PM | #119 | |
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Games: Name (Publisher) Hashcode Triple Town (Sly Fox) #B0045XUX7I^AZW2 Blackjack (Amazon) #B004DWLGGS^AZW2 Shuffled Row (Amazon) #B003P38AAG^AZW2 Every Word (Amazon) #B003P37FW0^AZW2 Mine Sweeper (Amazon) #B003P3BCVA^AZW2 US Dictionaries: New Oxford American Dictionary *9e97434880f115813437c1910b6dba7398c12e52 Oxford Dictionary of English *e5bf751aa86b6fea49a055d463e97e12d3175182 Edited to add one more game: Video Poker (Amazon?) #B004C6S25I^AZW2 Last edited by CWatkinsNash; 02-06-2011 at 06:48 PM. |
|
02-07-2011, 09:19 AM | #120 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: Kindle 3, Ipad 3
|
I wanted to thank you for this great plugin. I installed it on my Windows 7 machine using Calibre 0.7.44 and plugin v 1.2. I had already created a custom tag "kindle" as text column to put the individual category name I wanted a book to show up under. I got things installed, ran it and everything worked cleanly from the first use. THANK YOU!
One note I wanted to make based on my usage and not sure it was clear from the instructions - when customizing the plugin and looking for custom columns, the plugin is only reading the books on device rather than what's in your library. I had completely cleared my Kindle and was "re-initializing" it so when I first plugged it in, I had none of my calibre managed books there and my custom column didn't show up as an available option to create collection from. Once I copied over my books and then went to customize, my custom column was there. |
Thread Tools | Search this Thread |
|
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 |