|
|
#2626 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
|
|
|
|
|
|
#2627 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
What was wrong with it? I assume theres some specific circumstances that trigger it as I've been using update ToC for months and never come across any problems unless there's entries with duplicate names.
|
|
|
|
|
#2628 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
def getDatabaseChapterId(self, bookId, toc_file, connection):
cursor = connection.cursor()
t = ("{0}%{1}%".format(bookId,toc_file),)
cursor.execute('select ContentID from Content where ContentID like ?', t)
try:
result = next(cursor)
chapterContentId = result['ContentID'] # <==============
except StopIteration:
chapterContentId = None
debug_print('getDatabaseChapterId - chapterContentId=%s' % chapterContentId)
cursor.close()
return chapterContentId
The fix is Code:
def getDatabaseChapterId(self, bookId, toc_file, connection):
cursor = connection.cursor()
t = ("{0}%{1}%".format(bookId,toc_file),)
cursor.execute('select ContentID from Content where ContentID like ?', t)
try:
result = next(cursor)
chapterContentId = result[0] #<===============
except StopIteration:
chapterContentId = None
debug_print('getDatabaseChapterId - chapterContentId=%s' % chapterContentId)
cursor.close()
return chapterContentId
|
|
|
|
|
|
#2629 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2023
Device: Kobo Libra H2O
|
Quote:
Going back to my e-reader after using my tablet for a year or so has been annoying, as now I have to send the books, disconnect & let the device update, and then re-connect to send the series metadata and TOC, but, hey, whatever, at least it works! Thanks again! |
|
|
|
|
|
#2630 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,283
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Using the NickelSeries addon allows you to avoid the second connection to send series and subtitle but does not help with other metadata. |
|
|
|
|
|
#2631 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Oh, NickelSeries also handles subtitle? I should look into it.
|
|
|
|
|
#2632 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
|
|
|
|
#2633 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,086
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
|
|
|
|
#2634 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,689
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
I receive an error 403 which I reported in this thread... https://www.mobileread.com/forums/sh...21#post4336221
@DNSB believes it is a problem with the Kobo Utilities plugin Attachment 202384 |
|
|
|
|
#2635 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
You can disable it here until somebody can get it fixed.
|
|
|
|
|
#2636 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,283
Karma: 174315444
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
|
|
|
#2637 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,689
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
|
|
|
|
|
#2638 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Line 164 of action.py:
Code:
KOBO_FIRMWARE_UPDATE_CHECK_URL = "https://api.kobobooks.com/1.0/UpgradeCheck/Device/{0}/{1}/{2}/{3}"
![]() EDIT: I posted in the Kobo forums about it. Last edited by ownedbycats; 07-02-2023 at 02:10 AM. |
|
|
|
|
#2639 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,832
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What URL does https://pgaskin.net/KoboStuff/kobofirmware.html use to deal with the firmware?
|
|
|
|
|
#2640 | |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,365
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Looks to be this: https://github.com/pgaskin/kfwproxy
Quote:
|
|
|
|
![]() |
| Tags |
| calibre, kobo, kobo utilities, kobo-utilities, plugins |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Manga plugin | mastertea | Plugins | 7 | 10-30-2025 01:13 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 |