06-12-2013, 09:25 AM | #46 | |
Member
Posts: 13
Karma: 663664
Join Date: Jun 2013
Device: Kobo Touch, Kobo Glo
|
Quote:
I was wondering if it's possible to have a Unread, Reading and Finished shelf? |
|
06-12-2013, 09:36 AM | #47 |
Grand Sorcerer
Posts: 12,746
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Answer is yes, and I will play with it when I am fully awake
|
Advert | |
|
06-12-2013, 11:54 AM | #48 |
Guru
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Many thanks to davidfor for the plugin and getting it working on kepubized books and also to PeterT for the idea of using it to create "Reading" and "Finished" shelves on the Kobo.
BobC |
06-12-2013, 08:52 PM | #49 |
Watching the Sky
Posts: 239
Karma: 634112
Join Date: Oct 2012
Location: Winnipeg, MB
Device: Kobo Aura
|
I need to do a little more testing but while I can now get the reading position of .kepubs made through jgougen's plugin, I can't seem to change the status of those same books to "Finished."
|
06-12-2013, 10:21 PM | #50 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
- Set the percent read column to 100 and use the store/restore option - Use update metadata from the library list and set to finished - Use the change reading status from the device list. All three worked. And the book that was on the home screen, showed it as finished. I wasn't expecting that, but it confirms my theories on the tiles. There might still be something going on, but I need to know which method you are using to mark them as finished. |
|
Advert | |
|
06-12-2013, 10:36 PM | #51 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I don't know what to suggest. The only thing I can think of is a resource conflict of some sort. But, my Mac knowledge is tiny. I have almost exhausted it while doing the above. |
|
06-12-2013, 11:11 PM | #52 |
creator of calibre
Posts: 44,532
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor: Make sure you are keeping explicit references to all the items you put in your plugin menu, otherwise python garbage collects them and the Qt crashes, on OS X. This gets done for you automatically is you use the self.create_menu_action() function. Also you can usually get a fairly helpful log showing where crash happened with the Apple crash reporter tool.
|
06-12-2013, 11:44 PM | #53 | ||
Grand Sorcerer
Posts: 12,746
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
Quote:
The change was just to change the third parameter of the first cmp statement from '' to 'Unread'. |
||
06-13-2013, 01:27 AM | #54 |
Wizard
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
I'm lost...
I would like to have (at least) a "Finished" shelf as illustrated in PeterT's example in this thread. I've installed the plugin (thank you) but I cannot find specific directions in the help file for people like me who know nothing about code or programming in general.
1. Do I understand correctly that I must create four custom columns (Current Reading Location, Percent Read, Rating, Last Read Timestamp) for a single "Finished" shelf? 2. When creating custom columns, what is a Lookup name, which do I need and where do I find them? 3. Which column type do I need for each of these? 4. Where do I find the template for each of these? I can simply copy from PeterT's post for the "finished" shelf example but I am clueless to what it all means and I still do not know what to do with the other required columns. I have one existing "Rating" column but I honestly do not remember how in the world I created it. I must have copied it from someone's instructions. <sigh> Any assistance would be most appreciated. |
06-13-2013, 01:32 AM | #55 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I just checked and I added a help menu item just before release and a reference to that isn't kept. Actually, I don't see where in InterfaceAction.create_menu_action() the reference is saved. It returns a reference which I have been keeping. Except for that one new one. |
|
06-13-2013, 01:39 AM | #56 |
Grand Sorcerer
Posts: 12,746
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The columns are used to store info. retrieved from the Kobo (and to let you restore it to the Kobo as well).
I created 4 custom columns for use by david's utility plugin: Spoiler:
I created my "custom" column Spoiler:
I then restarted calibre (required after column changes) and configured the driver Spoiler:
Strictly speaking I'm ONLY using the value of #koboreadpct so don't really need any of the other columns. Finally I added the value #readstatus to the shelf value in the Kobo device driver (or the Kobo Extended device driver). One final restart of calibre for safety and all is done. |
06-13-2013, 01:46 AM | #57 |
creator of calibre
Posts: 44,532
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
06-13-2013, 02:16 AM | #58 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I suspected that but didn't go into that function. I haven't set any shortcuts. I left that to the user to set. Most are listed in the keyboard shortcuts for setting. It is probably the items I deliberately excluded from that which are causing the trouble.
|
06-13-2013, 02:26 AM | #59 |
creator of calibre
Posts: 44,532
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Safest to explicitly keep the reference yourself, that way you can be sure it wont be GCed
|
06-13-2013, 03:28 AM | #60 | |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Tags |
calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 03:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-26-2018 12:55 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |