Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 02-27-2011, 04:59 PM   #256
SusiQ
Enthusiast
SusiQ began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Aug 2009
Device: Kindle 1
Update

Thought I'd let you know, plugin doesn't work with K1 : "ERROR: Create Kindle Collections plugin: Unable to open Kindle file: F:\system\collections.json<P>"
Not surprised since I think that .json thingy is for collections and K1 doesn't support them. It also listed some corrupt Mobi files, so will reconvert them. It did, however, generate the preview log of what collections it WOULD have created, sorted by tags. Will let you know what happens when I get the K3. And again, I can't thank all of you enough for the effort you put in to creating this thing and making it work! It is a godsend to someone like me!!

Susie
SusiQ is offline  
Old 02-28-2011, 12:28 PM   #257
Jyfwired
Junior Member
Jyfwired began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2011
Location: Atlanta, Ga.
Device: Kindle 3, Kindle PaperWhite, Nexus 7, iPad 3
Quote:
Originally Posted by meme View Post
I don't have a MAC so I can't test it for the MAC. What does "calibre-customize -a create_kindle_collections_plugin.zip" respond with?
Where do I go to test that on my Mac? Is this an option inside of calibre?
Jyfwired is offline  
Advert
Old 02-28-2011, 01:13 PM   #258
Jyfwired
Junior Member
Jyfwired began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2011
Location: Atlanta, Ga.
Device: Kindle 3, Kindle PaperWhite, Nexus 7, iPad 3
OK - when I download the plugin to the MAC , I get two .py files in a folder named 'create_kindle_collections_plugin'. The files are: create_kindle_collections_plugin.py and create_kindle_collections_code.py.

I've installed the command line interface to the mac, per the user guide. When I execute the command you've suggested here's what I get:


jenyfmbp:~ jenyf$ calibre-customize -a create_kindle_collections_plugin
Python function terminated unexpectedly:
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/customize/ui.py", line 580, in main
File "site-packages/calibre/customize/ui.py", line 379, in add_plugin
File "site-packages/calibre/customize/ui.py", line 65, in load_plugin
calibre.customize.ui.PluginNotFound

Your help is appreciated. I just need to understand where the files need to be located in order to use the command line interface. I'm using the OSX Terminal program.
Jyfwired is offline  
Old 02-28-2011, 01:25 PM   #259
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,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Don't unzip the plugin - it must stay zipped

You can use the GUI to add a plugin (Preferences->Plugins, add) - but you still have to not unzip the file

If the MAC is auto-unzipping it to the py files, then I'm not sure how to stop it from doing that.
meme is offline  
Old 02-28-2011, 01:26 PM   #260
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,654
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Keep the files in the zip (don't extract them). Put the zip file in the same folder as where your command prompt is opened at (is ~jenyf your home folder or something?).

I don't know if things are different in the linux/mac world but on windows at least you will need to add .zip to the end of that command line:

calibre-customize -a create_kindle_collections_plugin.zip
kiwidude is offline  
Advert
Old 02-28-2011, 05:16 PM   #261
jay2222
Junior Member
jay2222 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2011
Device: k3
Collections from text strings in the doc title?

Am I right to say that the plugin could create Collections from text strings in the doc title?
jay2222 is offline  
Old 02-28-2011, 05:32 PM   #262
tlrowley
Quilt Geek
tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.tlrowley is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 472
Karma: 91775
Join Date: Aug 2007
Location: Lancaster, PA
Device: Kindle
Quote:
Originally Posted by meme View Post
Don't unzip the plugin - it must stay zipped

You can use the GUI to add a plugin (Preferences->Plugins, add) - but you still have to not unzip the file

If the MAC is auto-unzipping it to the py files, then I'm not sure how to stop it from doing that.
If you right click on the file and select "download linked file" it should not be automatically unzipped. Alternatively, the zipped file should still be in the trash and can be yanked out and put back That's what I normally do.
tlrowley is offline  
Old 03-01-2011, 10:29 AM   #263
chilady1
I devour books!
chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.chilady1 ought to be getting tired of karma fortunes by now.
 
chilady1's Avatar
 
Posts: 789
Karma: 1285226
Join Date: Mar 2009
Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6
meme - I just wanted to send a note of THANKS to you. I had some issues with the Kindle Collections plugin but after cleaning up some items I was able to get the plugin to work they way I wanted it. Your directions were spot on and I didn't have any problems.

This is a great addition to Calibre and just wanted to come back and let you know all is good! Thanks again!
chilady1 is offline  
Old 03-01-2011, 12:13 PM   #264
Shadow Panther
Junior Member
Shadow Panther began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3G
Quote:
Originally Posted by meme View Post
The plugin does not add BOOKs to the Kindle. Calibre is responsible for that.

The plugin only creates Collections on the Kindle (see the Kindle user guide for an explanation of collections.

You can tell the plugin to only include specific collections. For example, if you only want to create a collection for the author 'Bob Smith' then uncheck all the columns in the plugin (not the Keep Kindle checkboxes) and check authors. Then type in 'Bob Smith', without the quotes, into the Include column for author. Then run preview.

It might help if you give some examples of what you want to see on your Kindle for collections, and if you are already using collections on your Kindle.
I use collections, but they vary in how they are sorted,

some are by series and some by author.

Example of what I want to do:

I recently received 59 Stephen King books. between these there is the 7 dark tower books now what I want to do is transfer the 7 dark tower books to a collection "Stephen King - Dark Tower" and the rest of the books to "Stephen King" without rearranging the rest of my collections on the Kindle.

Then I know this is slightly off topic but how does one include the "Book number" into the title that is created when transferring the book over to the kindle ? I changed {author_sort}/{title} - {authors} to {author_sort}/{series} - {title} - {authors} and {author_sort}/{series_number} - {title} - {authors}, but neither give me the booknumber prior to the name of the book
Shadow Panther is offline  
Old 03-01-2011, 12:54 PM   #265
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,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by jay2222 View Post
Am I right to say that the plugin could create Collections from text strings in the doc title?
Can you give an example of a few books and how you would want them collected?
meme is offline  
Old 03-01-2011, 02:00 PM   #266
CWatkinsNash
IOC Chief Archivist
CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.
 
CWatkinsNash's Avatar
 
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:
Originally Posted by Shadow Panther View Post
Then I know this is slightly off topic but how does one include the "Book number" into the title that is created when transferring the book over to the kindle ? I changed {author_sort}/{title} - {authors} to {author_sort}/{series} - {title} - {authors} and {author_sort}/{series_number} - {title} - {authors}, but neither give me the booknumber prior to the name of the book
I believe the book number is {series_index}.
CWatkinsNash is offline  
Old 03-01-2011, 08:44 PM   #267
Jyfwired
Junior Member
Jyfwired began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2011
Location: Atlanta, Ga.
Device: Kindle 3, Kindle PaperWhite, Nexus 7, iPad 3
Quote:
Originally Posted by meme View Post
Don't unzip the plugin - it must stay zipped

You can use the GUI to add a plugin (Preferences->Plugins, add) - but you still have to not unzip the file

If the MAC is auto-unzipping it to the py files, then I'm not sure how to stop it from doing that.
OK - I'm good! Downloading with FireFox browser kept the file as a zip file, and I was then able to install the plugin!!! (Safari automatically unzips the file into a folder--- which is nice, most times).

Thanks for your attention. I'm sure I'll have more questions.

Thanks for the plugin. I'm psyched t use it.
Jyfwired is offline  
Old 03-02-2011, 11:32 AM   #268
pchrist7
Addict
pchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animalspchrist7 is kind to children and small, furry animals
 
pchrist7's Avatar
 
Posts: 385
Karma: 6514
Join Date: Aug 2010
Location: Denmark
Device: Kindle 3 3G+Wifi, Oasis
Thumbs up @meme: Almost perfect

Hi meme
Did some more testing, and IF I, remember to do what ever config changes needed, your plugin works like a charm.
VERY nizzzzze
As a Dane "I must find something to complain about", so I hope somewhere in the future a "merge" with existing collections, so every collections isn't sorted by collection name (start from scratch), but rather by "last accessed" adding the new collections "last".
Don't go crazy about this ! You did GREAT work !!
All can be done within Calibre.
Cudos !!
pchrist7 is offline  
Old 03-02-2011, 02:59 PM   #269
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,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Actually that was an easy 1 line to add, so you'll see it whenever I get finished tinkering with the next release.

So it will soon set the last access time to something old only for collections managed by Calibre - it will leave the current last access time for any Kindle managed collections, and given the timestamp I'm using the Kindle managed collections will always be the most recent.

Now, the sort order for titles is another matter. I've been just sorting basically alphabetically. But I think I've finally got a handle on how the Kindle 3 is sorting and so I'm changing the sort to match what the Kindle shows (mostly - its a strange algorithm).
meme is offline  
Old 03-02-2011, 03:04 PM   #270
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by meme View Post
Now, the sort order for titles is another matter. I've been just sorting basically alphabetically. But I think I've finally got a handle on how the Kindle 3 is sorting and so I'm changing the sort to match what the Kindle shows (mostly - its a strange algorithm).
How will this new sorting affect K2 users, do the two use the same programming for sorting??
nynaevelan is offline  
Closed Thread


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 07:09 AM.


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