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 11-27-2015, 09:57 PM   #1006
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I've never been able to work out the order either. But, I don't think the ordering is done in SQL. If you manually add books to a collection, then Date Modified sort will work until the device is restarted. I have wondered if the date conversion is broken, but everywhere else it seems to be OK. And when you delete a book from a collection, the order changes. This makes it look like a dictionary is being used and someone is iterating over the contents, not the sorted keys.
davidfor is offline   Reply With Quote
Old 11-30-2015, 05:22 PM   #1007
Stevex
Addict
Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.Stevex is as sexy as a twisted cruller doughtnut.
 
Posts: 225
Karma: 15318
Join Date: Nov 2015
Device: Kobo Glo HD
Hi Davidfor
You must be right - I verified the behaviour you speak of.
Thanks for all the feedback.
Steve
Stevex is offline   Reply With Quote
Old 12-06-2015, 08:15 AM   #1008
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Update to version 2.1.0

I have just updated the plugin to version 2.1.0. The changes are:
  • New: Add "Display Extras Tiles".
  • Fix: Error in getting reading settings from device configuration.
  • Change: Disable tiles related menu items if firmware doesn't support them.
  • Change: Update font names used for firmware 3.19.x

The added function is to add tiles for the Extras, or "Beta Features", to the home page. This is mainly useful for the Glo HD where only the Browser is listed on the Extras page. This will give access to the other extras. Also, it can add Chess to the home page for all devices.

The others are small changes including one for the next firmware release.

As usual, the calibre will make the update available in the next hour or so. And if anyone sees any problems, please report them here.
davidfor is offline   Reply With Quote
Old 12-06-2015, 08:27 AM   #1009
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 923
Karma: 2140364
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
Ooh, for a minute it sounded like Kobo was doing a "me too" and adding some better fonts (cf Amazon Bookerly and Google Literata) but sadly it looks like the new font names are only for 2 Japanese fonts :-(

Old fonts:
  • Gothic
  • Ryumin

Replaced by:
  • Kobo Tsukushi Mincho
  • Kobo UD Kakugo
chrisridd is offline   Reply With Quote
Old 12-06-2015, 05:06 PM   #1010
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by chrisridd View Post
Ooh, for a minute it sounded like Kobo was doing a "me too" and adding some better fonts (cf Amazon Bookerly and Google Literata) but sadly it looks like the new font names are only for 2 Japanese fonts :-(

Old fonts:
  • Gothic
  • Ryumin

Replaced by:
  • Kobo Tsukushi Mincho
  • Kobo UD Kakugo
Gothic and Ryumin are not just for Japanese, they can be used for other languages. The two new fonts are replacements that appear identical to my eyes.
davidfor is offline   Reply With Quote
Old 12-08-2015, 10:30 AM   #1011
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Hi David,

-"Change Reading Status in device library" is not active, do i need something first?

-Do you know how to stretch the cover so i don't get the black margins left and right, or up down?
I try to change the cover and Keep the ratio, but it didn't work.
And if i change the cover to black and white is file that send to device is smaller?

EDIT: I use Upload covers for Kobo ePubs, and do a restart and the covers stretch correctly.

Last edited by oren64; 12-08-2015 at 04:09 PM.
oren64 is offline   Reply With Quote
Old 12-08-2015, 06:48 PM   #1012
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by oren64 View Post
Hi David,

-"Change Reading Status in device library" is not active, do i need something first?
That is only active when you are looking at the device list. If you want to do the same for books in the calibre library, use the update metadata function. Changing the reading status is at the bottom of thee dialog.
Quote:
-Do you know how to stretch the cover so i don't get the black margins left and right, or up down?
I try to change the cover and Keep the ratio, but it didn't work.
For that to work, the covers have to have the correct aspect ratio.
Quote:
And if i change the cover to black and white is file that send to device is smaller?
They should be.
Quote:
EDIT: I use Upload covers for Kobo ePubs, and do a restart and the covers stretch correctly.
Once a cover image is generated and saved, the device displays them with no stretching. If the cover covers the full screen during sleep, then it has the same aspect ratio as the screen, and I think the saved image file is the same size as the screen (I can't remember if smaller are sent if they are upscaled).
davidfor is offline   Reply With Quote
Old 12-11-2015, 07:33 AM   #1013
melovesflying
Groupie
melovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy blue
 
Posts: 186
Karma: 13138
Join Date: Jun 2014
Device: Kindle Paperwhite 3, Kobo Aura, Kobo Glo HD
Hi! My Aura has now become a paperweight and I'll be getting the Glo HD soon. Is there any way that I can transfer all my data, like reading status (reading, unread, and read)and positions, bookmarks, etc. from the Aura to the Glo HD? Calibre has all the books that is also on my Aura and I'm just primarily after the data.
melovesflying is offline   Reply With Quote
Old 12-11-2015, 07:51 AM   #1014
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Yes, you can. The store and restore function will do it. Store the status from the old device, and restore the status to the new device (after sending the books to the device and letting them be processed). But, that needs the old device to be working. Or using the store each time you connect to calibre. From your other thread, you should be able to connect the device an fetch the reading status.
davidfor is offline   Reply With Quote
Old 12-11-2015, 08:24 AM   #1015
melovesflying
Groupie
melovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy bluemelovesflying can differentiate black from dark navy blue
 
Posts: 186
Karma: 13138
Join Date: Jun 2014
Device: Kindle Paperwhite 3, Kobo Aura, Kobo Glo HD
My old Aura still works and can be connected to my Mac and Calibre (after much random presses since the screen is broken). Should I highlight all the books and then use the store function? And can I do it now even before my replacement Glo HD arrives?

ETA: I managed to store all the data by selecting all the books on my old Aura before using the Store function. Can I use the Restore function to now transfer the data to the new device even if my old Aura isn't connected?

Last edited by melovesflying; 12-11-2015 at 11:02 AM.
melovesflying is offline   Reply With Quote
Old 12-12-2015, 01:24 AM   #1016
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by melovesflying View Post
My old Aura still works and can be connected to my Mac and Calibre (after much random presses since the screen is broken). Should I highlight all the books and then use the store function? And can I do it now even before my replacement Glo HD arrives?

ETA: I managed to store all the data by selecting all the books on my old Aura before using the Store function. Can I use the Restore function to now transfer the data to the new device even if my old Aura isn't connected?
Yes, that's what you need to do. But first, you will need to send the books to the device and let it process them. The next time you plug it in, you can restore the reading status.
davidfor is offline   Reply With Quote
Old 12-12-2015, 08:49 AM   #1017
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Beta: Update comments/synopsis using a template

While Kobo has been good to us and display the series info, there is still plenty of metadata they don't display. Ideally, this would be displayed by the device in the Details page of the device. But, they don't do this and it isn't likely to happen any time soon.

A way to do this is to add it to the comments/synopsis the device displays. But, I don't want to edit the comments in my calibre library to include the other tags, and the comments cannot be updated using a metadata plugboard. So, I have added an option to the "Update metadata in device library" function of the plugin. This will set the comments on the device using a template in a similar way to the jackets that can added to a book.

On the options dialog, I have added an option "Use template". This can be used when setting the comments/synopsis on the device. When it is used, instead of simply reading the comments from the calibre library and updating the database, a template will be read from your calibre configuration. This template can include any piece of metadata that is in the calibre library. This includes custom columns. The template use the same formatting rules a the jacket templates.

To use this, you need to create a file called "kobo_template.xhtml" in the "resources" directory of you calibre configuration. An example template is:

Code:
{comments}<hr/><p>{tags_label}: {tags}</p><p>{rating_label}: {rating}</p><p>{_kobo_last_read_label}: {_kobo_last_read}</p><p>Word count: {_words}</p>
This adds the tags, rating, when I last read the book and the word count to the synopsis after the usual comments. The attached screenshot shows what this looks on my Glo HD.

This does not update the book on the device or in your library. It changes the metadata in the device database and hence what is displayed in on the details page for the book on the device.

For the formatting, you should be able to use whatever you can use in the comments in calibre. Most HTML tags will be supported. You should be able to set styles on the tags, but there is no stylesheet in use. I would recommend keeping it simple. One thing I found is that any new lines in the template put an extra line in the display on the device. That is why the above example template is all one line.

I think this is going to be useful. But, as usual, I am looking for any suggestions people have. And of course, any bugs seen. I am hoping that there are none of the latter, but I haven't tried everything possible.
Attached Thumbnails
Click image for larger version

Name:	screen_005.png
Views:	888
Size:	110.5 KB
ID:	144540  
Attached Files
File Type: zip KoboUtilities-beta.zip (199.7 KB, 394 views)
davidfor is offline   Reply With Quote
Old 12-12-2015, 10:47 AM   #1018
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,196
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Thank you, David. Nice work

That was 5 minutes well-spent on my part to add page/word count before the Comments. I didn't experience any problems at all.
jackie_w is offline   Reply With Quote
Old 12-12-2015, 06:44 PM   #1019
davidfor
Grand Sorcerer
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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Good to hear it worked and is useful.

I found a problem after I posted the beta. If a custom column doesn't have a value, the label isn't shown. For my template, I just got a line with a colon on it. The quick fix is to force the label to show. But, if can think of a way, I'd prefer to remove the line.
davidfor is offline   Reply With Quote
Old 12-13-2015, 03:21 AM   #1020
Terisa de morgan
Grand Sorcerer
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: 6,227
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I've tested it and it works for me. For avoiding empty columns I've used the same trick that I use at jacket (kovid told me so when I asked about the same problem:

Code:
 <div style="display:{_vts}"><b>Series 3:</b> {_tse}</div>
With _vts a custom_column with value 'None' if _tse is empty.

And I know I'm greedy but... in the same way you send the series when you update metadata, could you send the comments if 'use template' is activated?
Terisa de morgan is online now   Reply With Quote
Reply

Tags
kobo, kobo utilities

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Manga plugin mastertea Plugins 6 01-06-2022 02:43 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Kobo Utilities Plugin Question nikev Kobo Reader 10 09-25-2018 11:55 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 04:35 AM.


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