Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-13-2013, 02:50 AM   #61
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,384
Karma: 1496544
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Kindle PW2/DXG, FireHD 8.9, Nexus 7, 10, Kobo Mini, Aura HD
Thank you very much, PeterT.

I don't understand where exactly I configure the driver in the KoboTouch plugin. Am I in the wrong place?

Also, in the KoboTouch plugin, I currently have: #myshelves, series
Is there a particular order in which I should insert #readstatus?

Although you don't use the other columns, as mentioned, they still must be present, correct?

My apologies for all the idiotic questions - it is all Greek to me.

Quote:
Originally Posted by PeterT View Post
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:
Code:
Lookup Name: koboreadpct
Column Heading: Kobo Read Percentage
Column Type: Integers

Lookup Name: koborating
Column Heading: Kobo Rating
Column Type: Integers

Lookup Name: kobolastread
Column Heading: Kobo Last Read TimeStamp
Column Type: Date

Lookup Name: koboreadloc
Column Heading: Kobo Reading Location
Column Type: Text, column shown in tag browser


I created my "custom" column
Spoiler:
Code:
Lookup Name: readstatus
Column Heading: Reading Status
Column Type: Column, built from other columns
Template: {#koboreadpct:'cmp($, 100, cmp($, 0, '', '', 'Reading'), 'Finished', '')'}
Sort/Search column by Text


I then restarted calibre (required after column changes) and configured the driver
Spoiler:
Code:
Current Reading Location Column: #koboreadloc
Percent Read Column: #koboreadpct
Rating Column: #koborating
Last Read Column: #kobolastread


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.
Skydog is offline   Reply With Quote
Old 06-13-2013, 02:52 AM   #62
buffaloseven
Watching the Sky
buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.buffaloseven ought to be getting tired of karma fortunes by now.
 
buffaloseven's Avatar
 
Posts: 227
Karma: 634112
Join Date: Sep 2012
Location: Winnipeg, MB
Device: Kobo Glo
Quote:
Originally Posted by davidfor View Post
That wouldn't have surprised me, as I realised when I saw you post that I hadn't actually tested this. But, a quick test on three books using the three possible methods worked. The methods are:

- 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.
Sorry for not specifying. I was doing the "Update Metadata" and setting it to finished. It did in fact set the books to finished, but the summary dialog from the plugin stated that no books were changed. I guess perhaps this is actually true since it's the DB, not the books, being changed but it isn't quite what I expected as a result.

TLDR: It worked, but the plugin confirmation led me to believe that it didn't.
buffaloseven is offline   Reply With Quote
 
Enthusiast
Old 06-13-2013, 03:22 AM   #63
davidfor
Wizard
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 4,973
Karma: 4798550
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by buffaloseven View Post
Sorry for not specifying. I was doing the "Update Metadata" and setting it to finished. It did in fact set the books to finished, but the summary dialog from the plugin stated that no books were changed. I guess perhaps this is actually true since it's the DB, not the books, being changed but it isn't quite what I expected as a result.

TLDR: It worked, but the plugin confirmation led me to believe that it didn't.
Good. I'll look at the count. If a change was made somewhere, it should be counted.

Last edited by davidfor; 06-13-2013 at 03:30 AM.
davidfor is online now   Reply With Quote
Old 06-13-2013, 04:26 AM   #64
eXistenZ
Connoisseur
eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.
 
Posts: 74
Karma: 17618
Join Date: Nov 2010
Device: Kobo GLO
Quote:
Originally Posted by davidfor View Post
I have to admit that I don't know what is going on.

Is the crash when you select the option, or when you press OK on the dialog to start it? Is it every function? The "Copy annotations" and "Device database check" are a little different in how they start. Do they work?

I'll try it on a Mac at work tomorrow.
Hi davidfor

I made some further test, Calibre crashed every time I select any of the function in the menu, the crash happens just a second after the window of the selected option appears, I select About Plugin, the info window appears an in a second Calibre shuts down (the same for every function).

BUT

I noticed that if the Glo is not connected, I can open the About Plugin, the Customization window and the help (the only selectables) without any crash.

As soon as I can take it, I will try connecting my wife's Glo(2.5.2), if it will work, I'll try an hard reset on mine.

Edit: I tried also the Beta2 an nothing is changed
eXistenZ is offline   Reply With Quote
Old 06-13-2013, 04:43 AM   #65
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,177
Karma: 1958712
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Mini, iPhone, iPad, Kobo Aura, Galaxy Tab3 8
Quote:
Originally Posted by davidfor View Post
With Kovid's helpful hints, I should have this fixed. I have attached an updated beta version for anyone with Mac to try. The other changes are on the Dismiss Tiles dialog. I corrected a checkbox label and added tooltips.
I'll give a try, because I was able to recover info about status/bookmarks in a kepub but it failed when I tried to store info about status.
Terisa de morgan is offline   Reply With Quote
Old 06-13-2013, 04:44 AM   #66
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,177
Karma: 1958712
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Mini, iPhone, iPad, Kobo Aura, Galaxy Tab3 8
Quote:
Originally Posted by buffaloseven View Post
Sorry for not specifying. I was doing the "Update Metadata" and setting it to finished. It did in fact set the books to finished, but the summary dialog from the plugin stated that no books were changed. I guess perhaps this is actually true since it's the DB, not the books, being changed but it isn't quite what I expected as a result.

TLDR: It worked, but the plugin confirmation led me to believe that it didn't.
Same here, I hadn't read this before writing my previous post.
Terisa de morgan is offline   Reply With Quote
Old 06-13-2013, 08:00 AM   #67
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,519
Karma: 42648278
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Quote:
Originally Posted by Skydog View Post
I don't understand where exactly I configure the driver in the KoboTouch plugin. Am I in the wrong place?
I'm not sure I understand this question. Sorry. You seem to be configuring the driver correctly, the Kobo Utility plugin can be configured via Preferences | Advanced |Plugins | User Interface Actions plugins | Kobo Utilities and then the customize button.

You have added the plugin to the menus I presume? Preferences | Interface | Toolbar and then select which Toolbar(s) or Menu(s) you want to see the plugin in. Remember that there are different menus used depending on whether or not a device is plugged in.

Quote:
Originally Posted by Skydog View Post
Also, in the KoboTouch plugin, I currently have: #myshelves, series
Is there a particular order in which I should insert #readstatus?
Nope. should be order independent.

Quote:
Originally Posted by Skydog View Post
Although you don't use the other columns, as mentioned, they still must be present, correct?
No; you only need to create the columns needed (so in this case only the koboreadpct one). I just create them all because! (Also, by creating the koboreadloc and kobolastread, I am able to fully restore the reading info to the device if a reset is done).
PeterT is offline   Reply With Quote
Old 06-13-2013, 09:01 AM   #68
davidfor
Wizard
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 4,973
Karma: 4798550
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by eXistenZ View Post
Hi davidfor

I made some further test, Calibre crashed every time I select any of the function in the menu, the crash happens just a second after the window of the selected option appears, I select About Plugin, the info window appears an in a second Calibre shuts down (the same for every function).

BUT

I noticed that if the Glo is not connected, I can open the About Plugin, the Customization window and the help (the only selectables) without any crash.

As soon as I can take it, I will try connecting my wife's Glo(2.5.2), if it will work, I'll try an hard reset on mine.

Edit: I tried also the Beta2 an nothing is changed
So the help, about and customisation work when the device is not connected but don't when the device is connected? What about the two database options? They don't start in the same way as the other options.

In any case, looking a little more at what Kovid suggested, and the hint that the dialogs display before crashing, here is another beta to try.
Attached Files
File Type: zip KoboUtilities-1.1.0-beta3.zip (97.3 KB, 42 views)
davidfor is online now   Reply With Quote
Old 06-13-2013, 09:32 AM   #69
davidfor
Wizard
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 4,973
Karma: 4798550
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Terisa de morgan View Post
I'll give a try, because I was able to recover info about status/bookmarks in a kepub but it failed when I tried to store info about status.
Quote:
Originally Posted by Terisa de morgan View Post
Same here, I hadn't read this before writing my previous post.
You've confused me! I don't know if it didn't work, or if the counts didn't match what you expected.

I might be being to smart with the counts. The updates are smart. They compare the current and new values and only update what is different. And the counts reflect this. But, I need to recheck they are all accurate titled properly.
davidfor is online now   Reply With Quote
Old 06-13-2013, 10:45 AM   #70
Terisa de morgan
Wizard
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 2,177
Karma: 1958712
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Mini, iPhone, iPad, Kobo Aura, Galaxy Tab3 8
Quote:
Originally Posted by davidfor View Post
You've confused me! I don't know if it didn't work, or if the counts didn't match what you expected.

I might be being to smart with the counts. The updates are smart. They compare the current and new values and only update what is different. And the counts reflect this. But, I need to recheck they are all accurate titled properly.
Count is wrong, update I'll check this evening. Sorry about answers, I've been all the day discussing about software bugs... and trying to nail the responsible...
Terisa de morgan is offline   Reply With Quote
Old 06-13-2013, 01:17 PM   #71
eXistenZ
Connoisseur
eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.
 
Posts: 74
Karma: 17618
Join Date: Nov 2010
Device: Kobo GLO
Quote:
Originally Posted by davidfor View Post
So the help, about and customisation work when the device is not connected but don't when the device is connected? What about the two database options? They don't start in the same way as the other options.

In any case, looking a little more at what Kovid suggested, and the hint that the dialogs display before crashing, here is another beta to try.

Tryed beta3, same as previous.
With a kobo connected any of the options in the menu crashes Calibre, also the two database options, unplugging the Glo the only 3 options available works normally.

Also using a different Glo isn't better.

I'll try installing Calibre and the plugin on a different mac to see if anything changes
eXistenZ is offline   Reply With Quote
Old 06-13-2013, 01:22 PM   #72
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,384
Karma: 1496544
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Kindle PW2/DXG, FireHD 8.9, Nexus 7, 10, Kobo Mini, Aura HD
My apologies for the confusion. I was suffering from tunnel vision and was thinking of the KoboTouch driver and not the Utilities driver.

Excellent point regarding the capability to fully restore the reading info.

Thank you very much for your help and patience.

Quote:
Originally Posted by PeterT View Post
I'm not sure I understand this question. Sorry. You seem to be configuring the driver correctly, the Kobo Utility plugin can be configured via Preferences | Advanced |Plugins | User Interface Actions plugins | Kobo Utilities and then the customize button.

You have added the plugin to the menus I presume? Preferences | Interface | Toolbar and then select which Toolbar(s) or Menu(s) you want to see the plugin in. Remember that there are different menus used depending on whether or not a device is plugged in.


Nope. should be order independent.


No; you only need to create the columns needed (so in this case only the koboreadpct one). I just create them all because! (Also, by creating the koboreadloc and kobolastread, I am able to fully restore the reading info to the device if a reset is done).
Skydog is offline   Reply With Quote
Old 06-13-2013, 04:25 PM   #73
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,384
Karma: 1496544
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Kindle PW2/DXG, FireHD 8.9, Nexus 7, 10, Kobo Mini, Aura HD
Well, I have followed everything PeterT generously outlined but no "Finished" shelf appears nor are there any entries listed under Custom Columns created in Calibre (v.9.34). I have double-checked all entries and confirmed that "auto management" of metadata is selected.

Also, when the Aura is connected these three options of the driver are grayed out:

Change Reading Status in device library
Manage Series information in device library
Show books not in the device database

There is something I am missing -- but I've no idea what it is. Any ideas?
Skydog is offline   Reply With Quote
Old 06-13-2013, 04:30 PM   #74
Smenk
Member
Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.Smenk ought to be getting tired of karma fortunes by now.
 
Posts: 10
Karma: 498024
Join Date: Jun 2013
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by PeterT View Post
What seems to work is the following:



The only possible issue is that Unread gets set for all books that have nothing in the Read Percentage column.

The change was just to change the third parameter of the first cmp statement from '' to 'Unread'.


Much appreciated
Smenk is offline   Reply With Quote
Old 06-13-2013, 08:41 PM   #75
davidfor
Wizard
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 4,973
Karma: 4798550
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Skydog View Post
Well, I have followed everything PeterT generously outlined but no "Finished" shelf appears nor are there any entries listed under Custom Columns created in Calibre (v.9.34). I have double-checked all entries and confirmed that "auto management" of metadata is selected.
Is the column for the "Finished" shelf displayed in the calibre library list? If so, what is in the column? Does it show "Finished" for the books you expect it to?

Quote:
Also, when the Aura is connected these three options of the driver are grayed out:

Change Reading Status in device library
Manage Series information in device library
Show books not in the device database

There is something I am missing -- but I've no idea what it is. Any ideas?
These actions are only enabled for the device list. They are acting against the device without any reference to the calibre library.
davidfor is online now   Reply With Quote
Reply

Tags
kobo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 252 07-26-2014 11:18 PM
[GUI Plugin] EpubSplit JimmXinu Plugins 142 07-23-2014 01:33 AM
[GUI Plugin] Hyphenate This! SauliusP. Plugins 173 07-19-2014 04:06 PM
[GUI Plugin] Wordpress frescogamba Plugins 8 05-20-2014 12:22 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:00 AM.


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