SymmetryrtemmyS Member

Posts: 11 Karma: 38 Join Date: Feb 2016 Device: Kindle PW2 90D4

Organize ePubs by folder and open from collections in KOReader



I'm sure this guide will take a couple revisions to make it more clear, because it is a fairly complex installation, but this is what I've done to successfully allow my (jailbroken) Kindle to organize by file structure, including ePubs and other non-Kindle-compatible formats, organize those in Collections according to my file naming and folder structure, and open directly in KOReader, whether they were browsed manually or searched for.



A couple caveats: This will prevent ScreenSaverHack from showing the cover of the book that you have open, though it will still show the last screen you were on.

This requires a jailbroken Kindle with KUAL, MRPI, and Python installed. If you are not familiar with this process or these words, refer to this thread for jailbreak instructions.

Calibre is, if not absolutely necessary, massively helpful to have installed.

Colons, slashes, and other 'special' characters in book titles will be converted to _ on the device. This is because of filename restrictions.

The organization I have will give you one Collection per author, and the author will be the first listed in Calibre's author-sort metadata field. A random example to show filename:



documents\Sanderson, Brandon\Mistborn - 03.10 - Mistborn_ Secret History (Jan, 2016)



Now, onto the setup instructions.

Download the file marked "Stable release" from this link. Download the file marked "Latest Release" from this link. Download the latest attachment on this post. Hook the Kindle up to your computer. Extract the contents of koreader-*.zip into your Kindle's root folder. Open kindle-kpvbooklet-*.zip and extract the file update_kpvbooklet_*_install.bin into the folder Kindle\mrpackages Open librariansync-*.tar.gz and extract the file Update_librariansync_*.bin into the folder Kindle\mrpackages Eject your Kindle from your computer and unplug it, then open KUAL and go to Helper, then click on Install MR Packages. Your Kindle will reboot. Reconnect your Kindle to your computer. Browse to the folder Kindle\extensions\librariansync and open kindle_contents.py in Notepad or any other text editor. On line 10, there is a list starting with the following line:

SUPPORTED_EXTENSIONS = [".azw"], Replace that list with the one at this link. In Calibre, right-click Device, then Configure Device. Put this in the "Save template:" field:

{author_sort:sublist(0,1,&)}/{series:|| - }{series_index:0>5.2f|| -} {title} ({pubdate}) Make sure that "Use sub-directories" is checked. Enable ePub and all the other formats listed above, then make sure ePub is at the top of the priority list. If you have mobi or other Kindle-compatible files, they will open in the stock reader, rather than KOReader. Transfer your books. Eject your Kindle from your computer, then unplug it. Go to KUAL, Librarian Sync, and select Rebuild Collections (from folders). You should now be done! You will need to rebuild collections whenever you add, remove, or move books. Hey everyoneI'm sure this guide will take a couple revisions to make it more clear, because it is a fairly complex installation, but this is what I've done to successfully allow my (jailbroken) Kindle to organize by file structure, including ePubs and other non-Kindle-compatible formats, organize those in Collections according to my file naming and folder structure, and open directly in KOReader, whether they were browsed manually or searched for.A couple caveats:The organization I have will give you one Collection per author, and the author will be the first listed in Calibre's author-sort metadata field. A random example to show filename:documents\Sanderson, Brandon\Mistborn - 03.10 - Mistborn_ Secret History (Jan, 2016)Now, onto the setup instructions.