![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
AKC! - Automatic Kindle Collection Generator
Hey, first post here, just wanted to share a program I wrote for my Kindle 3 with you guys because this place was a great information resource for while I was writing the thing.
AKC! is a console-based application written in C# that generates collections on your Kindle based on your Kindle's directory structure. Running it is as simple as putting it in the root directory of your Kindle, double-clicking on it, and then you're done. No user-input required, though .net 4.0 needs to be installed. The program basically allows for emulating a "View by Folders" option on the Kindle, which sadly is not a built-in function. With that in mind, this program does nothing more than run through the directory structure of your Kindle's documents folder and adds every file to a collection based on the sub-directories it's in. For example: x:\documents\Jim Butcher\Dresden Files\Storm Front.mobi Storm Front is added to the collections Jim Butcher and Dresden files. As I said, it's small. ![]() I suggest using this program with Calibre. If you do so, you can create all kinds of collections based on Calibre column values. You can, for example, add a Genre1 and Genre2 field, putting books into multiple categories such as Paranormal and Mystery, or an Read Status field, with values of Read and Unread for easy sorting of which books you've yet to go through. Simply adding the column and including it in the "Send to Disk" template, then running AKC!, will allow you to easily sort your books according to any categories you wish. Now, as I'm sure most people are aware, there are tricks to get the kindle to display collections alphabetically (choose "Sort by Title" and have a character before the collection name, such as ( or [ to force it to the top) Here are the two I'm using, plus an extra, in from top to bottom as the Kindle will display them (with this program, you have to use symbols that can be used in folder names): ( -- These are my author collections [ -- These are my series collections { -- This would follow the above two. Just FYI if anybody has a use for it. Here is my Calibre "sending to device" template: ({author_sort}/[{series}/{title} - {authors} If you look at it, you'll realize that if the author or series is missing, you'll end up with a folder named ( or [, respectively. The program will automatically add files in such folders to (No Collection and [No Collection, respectively. This acts as a catch-all for those books that do not belong in any other collection. For me, standalone books will end up in [No Collection, as a grouping of books that are not in a series. Same with books without a defined author; they'll appear in (No Collection. You can use whatever template you wish, and the program will use those symbols interchangeably with your template. So, to use the program: Download the program here. Backup your collections.json file from your your /system/ folder(this program currently does not do so). Put CollectionGenerator in the root directory of your Kindle. Double-click on CollectionGenerator. Reboot your Kindle, and your collections will be there. ^_^ Note: I do not have any DRM books, so I do not know if this will work for them. Let me know if it does, please. If not, I'll try to fix it. ![]() Version information: Current version is .62 .6 - Initial Version .61 - ( now creates a (No Collection collection, similar to [ created [No Series originally. [ now gives the more generic [No Collection to fit other directory templates. .62 - Fixed a bug that caused partial matches to be dumped together. For example, books in a directory named Dr. Who Adventures would be added instead to the Dr. Who collection, if both are present. Planned: .7 - Will add the ability to leave user-defined collections intact. Users can create their own collections with a leading ~, which the program would leave alone when generating the directory-based collections. Last edited by thermopyle; 12-12-2010 at 12:06 AM. Reason: Couple of misspellings. |
![]() |
![]() |
![]() |
#2 |
I'm Super Kindle-icious
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
|
Awe-SOME! Thanks!
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 410
Join Date: Apr 2010
Device: kindle
|
I wonder if your program makes a new .json file?
Thank for your sharing |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
It makes a new collections.json file in the /system folder. Be sure to back up your existing copy first, or rename it, if you want to be able to switch back to it after trying the program out or if you prefer your previous collections file. It will overwrite whatever is already present.
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
I'm showing a number of downloads for the program, and plenty of views of the thread, but no real feedback so far.
For the people that are viewing but not downloading, why aren't you downloading? Are you already using another collection program and not interested in trying a different one, or does this one not fit what you're looking for (if so, why not?) For those who have downloaded it...how did it work for you? Any issues? Recommendations? Feedback is definitely appreciated. ![]() |
![]() |
![]() |
![]() |
#6 | |
Junior Member
![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 410
Join Date: Apr 2010
Device: kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 155
Karma: 112134
Join Date: May 2009
Location: Kuala Lumpur
Device: iPad, K3, K4, T1
|
Not quite what I'm looking for. I'm still hoping that one of you clever folks will eventually come up with solution that allow the Calibre tags - which I maintain meticulously - to create collections on the Kindle.
|
![]() |
![]() |
![]() |
#8 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
Quote:
For example, set your Calibre save to disk template like this: #Custom_Field/{title} - {authors} This would put your files on the Kindle at this path: x:/documents/Custom_Field/Storm Front - Jim Butcher.mobi (an example). Then when you run my program, whatever tag value you have in Custom_Field will be used to create the collection, and any books with that particular tag value will be added to it. At least, this should work. I haven't done it myself (I don't use any tags other than author, title, and series), but as long as you have Calibre output the file with the tag as the path, my program can use the directories it creates accordingly. |
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 1792
Join Date: Mar 2009
Device: Kindle 3, HTC Mozart
|
That's very cool.
Last edited by Baldrake; 12-01-2010 at 05:08 PM. |
![]() |
![]() |
![]() |
#10 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 155
Karma: 112134
Join Date: May 2009
Location: Kuala Lumpur
Device: iPad, K3, K4, T1
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
Quote:
x:/documents/Custom_Field_value/Author/Series/book.mobi book.mobi will be added to the Custom_Field_value (Read/unread, etc., whatever you output), Author, and Series collections. |
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 24
Karma: 10
Join Date: Nov 2010
Device: kindle
|
I tried it and its not working but probably because i`m not doing it right so let me ask you this;
Will your program work if i dont use calibre in any way and i named files as i want. So for example i put two random books in the same folder x:/documents/ebook/ How do i achieve to collection "ebook" appear on my DX with two books under it Is the file name crucial? Please just dont mention Calibre in your answer, thanks. |
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 874
Join Date: Nov 2010
Device: Kindle
|
Quote:
Having said that, where are you running the program from? I just want to make sure you have it in the correct location, which is the root directory of your Kindle. Just put it on the Kindle and run it from there (it uses relative pathing and so needs that as its starting location.) If that doesn't work, is you collections.json file in the system folder? If not, where is it? Does the program crash or give you an error? Does AKC simply not make changes to your collections, with your previous collections staying as they were, or does it wipe those out and leave you with none? |
|
![]() |
![]() |
![]() |
#14 | |
I'm Super Kindle-icious
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
|
Quote:
If I want a book in the "mystery" and also "paranormal" collections, I'd have to have a copy of the book in each folder? And after the book has been read I'd have to add another copy to the "books I've read" collections? Am I understanding this correctly? |
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() Posts: 97
Karma: 132
Join Date: Sep 2009
Device: Sony eReader PRS-600
|
Smart, this works very well for me. However, there's still no damnable 'putting your series in the right order' feature in the Kindle! At least with 3G I can always look up
![]() |
![]() |
![]() |
![]() |
Tags |
collection, generator, kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic Kindle Collection Generator | thermopyle | Amazon Kindle | 0 | 11-28-2010 08:07 PM |
Semi Automatic copy of content to Kindle | mowbray | Amazon Kindle | 7 | 02-03-2010 06:29 PM |
[PRS Recollect]A folder-hierarchy-based collection generator | howdypda | Sony Reader | 4 | 08-07-2009 01:33 PM |
Manga on Kindle/Cybook/V3 - Automatic Photoshop Image Conversion! | OsakaTom | Amazon Kindle | 25 | 03-12-2009 04:20 PM |
Automatic page turning on the Kindle | daffy4u | Amazon Kindle | 2 | 08-20-2008 10:41 PM |