View Single Post
Old 12-21-2010, 11:28 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,325
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
OK, you volunteered.

This time what you do is:
1) find your calibre installation directory. It should be c:\program files\calibre2.
2) In that directory, you should be able to navigate to Lib\site-packages\calibre\devices\usbms
3) In the usbms directory, you should see the file books.pyo.

Continue only if you have found the file books.pyo

4) Ensure calibre is not running.
5) rename books.pyo to books.pyo.save.
6) Download the attached file books.zip. Extract the file books.py from the zip file, and copy the .py file to the folder now containing books.pyo.save.
7) Start calibre, connect your device, let it update metadata. when it finishes, you should have two new collections, '%Books by author' and '%Books by title'. Let me know if they exist and if their content is in the right order.
8) now, or certainly before upgrading, delete the file books.py and rename the file books.pyo.save back to books.pyo.

Note that if this works, in the production release these collections will be controlled by tweaks. You supply a collection name. If the name is '', the collections won't be built.
Attached Files
File Type: zip books.zip (3.1 KB, 359 views)
chaley is offline   Reply With Quote