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 05-01-2011, 10:52 AM   #766
ElizabethN
reader, ebook junkie
ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.ElizabethN ought to be getting tired of karma fortunes by now.
 
ElizabethN's Avatar
 
Posts: 113
Karma: 436806
Join Date: Dec 2007
Location: western nebraska
Device: in use kindle oasis 2nd and 3rd gen, kobo forma, boox poke5
Quote:
Originally Posted by EbokJunkie View Post
Guys please, can anyone describe a procedure (if possible) to copy collections from one Kindle to another?
I have a defective Kindle that Amazon agreed to replace, I received the replacemnt today. Aall my books sit in folders and collections have respective names. No problem to copy folders, problem is in copying collections. I never used Calibre to manage my books and did everything manually.

Tried to save collections from old Kindle inside Calibre, then diconnected old Kindle, connected the new one...but saved collectiions seem to go away...
Is there any way to keep them and save to new Kindle?
For your amazon only books:

New kindle, use menu to go to archives. There should be an option at the very beginning. "Add Other Device Collections" clicking this will then send you to a screen listing the names of your devices. select device.

I haven't used this function in awhile, Meme's program combined with calibre is vastly better. But, if I remember correctly, the collection names are imported into the new kindle and, if the same amazon purchased books exist on the new kindle then they are put into the collection you assigned on the old kindle. This does not send books to the new kindle only collections. You still have to pull the books from archives or re-send using manage my kindle.

If you have non-amazon purchased books, you will have to re-load and re-add those to collections manually.

Thankfully when amazon customer service had me do a hard reset, all of my files were in calibre. So adding books via calibre and using collection manager to add collections made the process extremely easy.

Good luck.
ElizabethN is offline  
Old 05-01-2011, 11:31 AM   #767
EbokJunkie
Addict
EbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blue
 
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
Thanks for all your advices. All my books are sideloaded, so I'll use the idea of copying collections.json over from old kindle to the new one.

By the way, with all books in folders, it would be a great advantage to have (as option) plugin ability to create collection by automatically mapping names of existing folders to collections. Cannot understand why do I need to spend time creating collections manually when names of folders are already in place.
EbokJunkie is offline  
Old 05-01-2011, 12:38 PM   #768
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
Well, creating collections based on folders is certainly possible to implement. It runs counter to using Calibre to create them, but then so does Edit. I suppose yet another option might be worth considering. Modifying the Customize window to handle Create from Calibre or Create from Folders sensibly could be interesting.

I won't necessarily implement everything, but I'll have a look, and depending on feedback/effort we'll see how it goes. I still have to release 1.58 - but I think it'll jump to 1.6 if testing of some items in the next test version goes ok.
meme is offline  
Old 05-01-2011, 01:13 PM   #769
EbokJunkie
Addict
EbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blueEbokJunkie can differentiate black from dark navy blue
 
Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
meme

Thank you, that will be really great!!! Beleive me, there is a huge number of people who prefer to have e-readers that display books in folders rather than in collections. Option to map folders to collections may be very popular.
EbokJunkie is offline  
Old 05-02-2011, 10:05 AM   #770
jangell2
Addict
jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.jangell2 ought to be getting tired of karma fortunes by now.
 
jangell2's Avatar
 
Posts: 296
Karma: 1618384
Join Date: Aug 2010
Device: Kindle
I know this doesn't apply to the OP wanting to move his collections to a new kindle, but if you have all your books (including books purchased from Amazon) managed by Calibre, it would be a relatively simple process to put all those books onto a new Kindle, unless there's some restriction in putting the Amazon books onto another kindle.

Additionally, if your were using a custom column and meme's plugin, they'd go into collections automatically.

I am working towards getting all my books into Calibre so that I can use the plugin to manage the collections.
jangell2 is offline  
Old 05-03-2011, 01:03 PM   #771
A_dagio
Junior Member
A_dagio began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2011
Device: Kindle
I seem to be having an issue since upgrading to 1.57 and Caliber 0.7.59. Everything was working fine, but now I'm either getting unicode errors or my collections are created with no books in them. Books are on, but not in collections

I have a Kindle 2, but I'm not sure if that matters. I removed all my json files as well and restarted the kindle, but I still have the same issue

Any help please?
A_dagio is offline  
Old 05-03-2011, 01:16 PM   #772
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
Test version 1.5.7d available

The unicode support appears almost stable. But before I release a new version, here is a test version of the release that includes some bonus functionality. @A_dagio - let me know if this works ok for you.

Thanks to imdqmznh's suggestion at https://www.mobileread.com/forums/sho...&postcount=641 and for the work that the thread points to especially by NiLuJe.


Modify Kindle Settings such as Margins and Fonts

You can set your horizontal justification and margin size, and even fonts without installing any hacks using this option.

Spoiler:

Before connecting your Kindle to your PC and changing any of these settings, you must press the Home key on the Kindle to go to the Home page or your changes will be ignored.


Justification
Control whether the text is left justified (ragged right edge) or fully justified (straight left and right edges). Not all books will be affected by this setting depending on how they were created. You can change the setting on the Kindle once you run the plugin and if check 'Allow user justification'.

Margin
Control the amount of space between the edge of the screen and the text. The Kindle allows you to set to a few values (fewest, fewer, default), but you can use the plugin to set other margins (e.g. 20).

Fonts
The Kindle does allow you to use a different font for your books without jailbreaking and without installing a font hack. But you need to follow a few steps so that the plugin can find your font and the Kindle can use your font.
  1. Find some fonts to use.
    • The font must have 4 Truetype or OpenType files - one each for Regular, Bold, Italic, and BoldItalic variants
    • For example, DroidSerif is popular and free, available from http://www.google.com/webfonts/famil...ly=Droid+Serif (you will need to extract the 4 files from the zip file, and rename DroidSerif.ttf to DroidSerif-Regular.ttf)
  2. Go to the Home screen of your Kindle, then connect your Kindle to your PC
  3. Create the directory "fonts" on your Kindle at the top (e.g. E:\fonts) if it isn't there already
  4. Copy the 4 font files to your Kindle's directory - you must use a specific name format, e.g. if your font is called "DroidSerif", then the 4 files in the font directory must be named as follows (use "-" not "_", and use ".ttf" even if its an OpenType font):

    DroidSerif-Regular.ttf
    DroidSerif-Bold.ttf
    DroidSerif-Italic.ttf
    DroidSerif-BoldItalic.ttf
  5. Run the plugin - your font should be visible in the drop down menu for fonts. If it is not visible then check that the 4 file names are correct and in the right directory
  6. Select your font, and click Save
  7. Eject and Restart your Kindle

Notes:
  • If you get the message "The selected item could not be opened" when you try to open a book, it means the font you selected is not compatible with the Kindle for some reason. Go to the Home screen of your Kindle, reconnect it to your PC, use the plug to select a default font, and restart your Kindle.
  • You can copy any number of fonts to your Kindle's font directory. The plugin will show a list of all fonts it finds (but each font must have the 4 files with the name pattern above, e.g. MyFont-Regular.ttf, ...). Only 1 font can be used by the Kindle at a time - you will need to use the plugin and restart the Kindle to change fonts.
  • To change back to a regular font, just use the "Aa" key to select "std". In fact, if you select the standard font on the Kindle menu, and want to use your custom font again, you may need to run the plugin again to re-load your custom font.
  • The plugin actually copies the 4 font files to the names alt-Regular, alt-Bold, etc. and sets the preferences to use the font "alt". The Kindle only seems to recognize the "alt" name and not other names, so the plugin just copies your font files to the "alt" name when you select it.
  • If you have only 3 of the 4 variants of a font, you could copy/rename one of the others, but this does not always work or look right

Font Size
The size of the text on your Kindle will depend on the font you use. You can easily set the size using the settings on the Kindle so you can see the impact.

Line Spacing
You can already control this on the Kindle, but you can use this to set more values.

Other

There are various other settings that the plugin will allow you to change, but they have no known effect.


I've included a few options that don't appear to do anything. I may remove them, but for now I've left them in case someone finds out what they do.

I've linked to one example font that is hopefully okay to post a link to here since it appears to be free, but let me know if there is any issue with this. I expect the font settings to cause some confusion. If you follow the steps, and have a compatible font it does work - but I've no idea how to tell if a font is compatible. Unfortunately if a font isn't compatible you won't be able to open a book to change it and will need to use the plugin to reset it.

All of these settings can be set by you using a file on the Kindle and do not require any hacks to be installed. The plugin just wraps a GUI around it. In fact, I uninstalled my fonts hack to test this and need to re-install it to test it with the hack installed.

I wasn't sure if I wanted to include these settings in the Kindle Collections plugin, but since I needed to re-use a lot of the code it was simpler to add an option than to split out and remove all the parts I didn't need. And having it all in one plugin is simpler to manage. Not sure about renaming the plugin though as I think its the collections feature that most people would be looking for.

[EDIT: file removed ]

Last edited by meme; 05-04-2011 at 03:41 PM.
meme is offline  
Old 05-03-2011, 01:31 PM   #773
A_dagio
Junior Member
A_dagio began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2011
Device: Kindle
Meme, the new code works great thanks. Interestingly enough - once I installed it, it picked up around 10 of my books (out of 120) as having duplicates on the Kindle. I removed those, but have no clue where they came from. Works like a dream now though. Thank you
A_dagio is offline  
Old 05-03-2011, 01:53 PM   #774
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@meme: You can also use OpenType fonts, they're working fine (I'm actually mostly using OpenType CFF fonts right now ), but they'll have to follow the naming scheme (ie. .ttf, even if they're not truetype fonts at all).

I didn't touch the alt settings in the fonts hack, so it should work fine with the fonts hack installed, too .

As for a way to verify the Kindle framework won't die horribly on a specific font, welcome to the club . I don't even fully understand *why* it breaks, because the exact same font will work fine on a Kindle, and break horribly on another one, with the exact same FW... It does seem to be linked to the freetype lib bundled on the K3, since using a custom one has so far 'fixed' it for a lot of people, if not everyone encountering this issue with the fonts hack...
NiLuJe is offline  
Old 05-03-2011, 03:05 PM   #775
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 NiLuJe View Post
@meme: You can also use OpenType fonts, they're working fine (I'm actually mostly using OpenType CFF fonts right now ), but they'll have to follow the naming scheme (ie. .ttf, even if they're not truetype fonts at all).
Good to know - I've updated the description (which will go on the first page when I release it).

Quote:
As for a way to verify the Kindle framework won't die horribly on a specific font, welcome to the club . I don't even fully understand *why* it breaks, because the exact same font will work fine on a Kindle, and break horribly on another one, with the exact same FW.
I'll let others find the fonts that work Took a little digging around to find some, so I have no issue linking to free ones if people find good ones.

Its a shame the Kindle forces you to use alt as the name, though it was easy enough to code around it. I just picked copying all the fonts to the Kindle to have a simple place for the Kindle to find them. I could have easily used a subdirectory for each font, or allowed you to pick another directory on your PC to use as the font source (to save room on the Kindle) but all in one was simpler to start with.

Have to restart (well fast framework reboot ) between tests was annoying - especially when I usually forgot to go the Home screen before connecting.

Now if only someone can identify what those unknown settings are for... I'm guessing there aren't more or you would have listed them in your post.
meme is offline  
Old 05-03-2011, 03:09 PM   #776
sylviebi
Connoisseur
sylviebi is on a distinguished road
 
sylviebi's Avatar
 
Posts: 78
Karma: 70
Join Date: Apr 2011
Location: Canada
Device: kindle, DSi xl, 3DS, iPod, Playbbok
I just used this for the first time to modify/manage my collections on my K3 wifi/3g. Awesome! Saved me tons of time. Thanks.
I tried to use the modify kindle settings but get the following error as soon as I click this option:
calibre, version 0.7.59
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'names' referenced before assignment

Traceback (most recent call last):
File "calibre_plugins.kindle_collections.ui", line 177, in modify_kindle_settings
File "calibre_plugins.kindle_collections.kindle_modify_ settings", line 73, in run
File "calibre_plugins.kindle_collections.kindle_device" , line 329, in get_fontnames
UnboundLocalError: local variable 'names' referenced before assignment

This would be so awesome if I can get this to work... Can you tell me how to fix it. I made sure my kindle was at the home menu before selecting this menu entry.
Thanks,
Sylvie
sylviebi is offline  
Old 05-03-2011, 03:42 PM   #777
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 sylviebi View Post
I just used this for the first time to modify/manage my collections on my K3 wifi/3g. Awesome! Saved me tons of time. Thanks.
You're welcome

Quote:
I tried to use the modify kindle settings but get the following error as soon as I click this option:
calibre, version 0.7.59
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'names' referenced before assignment
Thanks for testing. New version posted up above to fix this - I hadn't tested without the fonts directory on the Kindle
meme is offline  
Old 05-03-2011, 03:50 PM   #778
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
Just updated both Calibre (0.7.59) and the plugin (1.5.7c) - amazing! I tried a new font but ended up going back to the default - it's nice to have the option, though.

Excellent work, as always!
CWatkinsNash is offline  
Old 05-03-2011, 03:57 PM   #779
sylviebi
Connoisseur
sylviebi is on a distinguished road
 
sylviebi's Avatar
 
Posts: 78
Karma: 70
Join Date: Apr 2011
Location: Canada
Device: kindle, DSi xl, 3DS, iPod, Playbbok
okay trying the new version d now! picture me bouncing up and down with excitement...
sylviebi is offline  
Old 05-03-2011, 04:30 PM   #780
sylviebi
Connoisseur
sylviebi is on a distinguished road
 
sylviebi's Avatar
 
Posts: 78
Karma: 70
Join Date: Apr 2011
Location: Canada
Device: kindle, DSi xl, 3DS, iPod, Playbbok
ok I just tried it and now it openes without error but...
I am unable to select fonts.
I created the folder f:\kindle\fonts (f: being the kindle drive)
I also created the folder f:\fonts
and copied the droid example to both these locations and even the f:\kindle location for safe measure.
When I go to the application manage kindle settings and use the drop down menu to seclect a new font only three options appear. condensed... no droid listed. I thought I had to select the check box first and save and restart the kindle but that did not help to get the fonts to appear.
What am I doing wrong?
Thanks for your continued support.
Sylvie
sylviebi is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections (Update) NiLuJe Plugins 475 05-23-2025 08:22 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 04:46 PM.


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