Quote:
Originally Posted by Jade Aislin
I've been trying to use this plugin and have a few questions. First, I like that can create a related books list based on author or series. However, I can only see four books. Many of the authors have more than that. When I hit the view all button, my kobo tries to connect to wifi. Is there a way to see all the related books that are on my kobo?
|
No it is not possible. The related books displayed in the detail view come from the database. When you press "View all", the device tries to get the list from the Kobo store. And this will only work for books bought from Kobo.
Quote:
Also can I have related books by more than one thing (ie author, series, other columns I have)?
|
Yes and no. At the moment, the related books is set purely based on info on the device. Only the author and series makes sense for doing this. It would be possible to do this based on the calibre library. Or multiple columns. But, I can't say I'm interested in extending this. Part of it is that I'm not sure what extra combinations of metadata makes sense. The other problem is that when I added this function, the firmware listed about 10 books at a time for the related books. And it might have scrolled the list. But now there are only four books shown and no way to see more for sideloaded books. I think you are a lot better to create collections that hold the related books.
Quote:
Next, I tried to use the feature that adds column information to the synopsis. I created the specified file, "kobo_template.xhtml", and placed it in the right folder (I think). I first put it into the roaming file, but then found where my calibre's excutable was and placed it there. I also used the template provided to create my own.
I tried to use the feature. But, I get this error message.
Spoiler:
Code:
calibre, version 2.54.0
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'jacket_style' referenced before assignment
calibre 2.54 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Find Duplicates && Kobo Utilities && EpubMerge && Count Pages && Reading List && View Manager && FanFicFare && SmartEject && Modify ePub && Generate Cover
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 863, in update_metadata
File "calibre_plugins.koboutilities.action", line 3550, in _update_metadata
File "calibre_plugins.koboutilities.action", line 3734, in _render_synopsis
UnboundLocalError: local variable 'jacket_style' referenced before assignment
I saw some mention of 'jacket' in the forum, but I do not know what that is.
|
That's an error in the code that I will fix. The workaround is to start the tempate with one of "jacket:", "template:" or "plugboard:" (not quotes but the colon is important). The difference is in what can be use in the template.
The "jacket" is based on the jacket that calibre can insert into the book. If you insert a jacket, the metadata is put on a page in the book. This is usually the first page after the cover. If you use "jacket" style template, then you need to use the same type of template code that is in the jackets.
The alternative is to use a "plugboard" or "template". These use the same template code as for metadata plugboards and custom columns. And this is the style you are using above.
Quote:
Last note, is it possible to make sure the new column information is in the details section and not the synopsis?
|
No, it isn't possible. Bot tabs are built by the firmware reading from columns in the internal database. The firmware decides which goes were. All I can do is add extra information that can be displayed in one of these places. And the only practical place to put this is in the comments/synopsis.