Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 08:55 AM   #16
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,927
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Calibre just silently fails to start if I install the code from #15. Works if I revert to the original. Odd.
ownedbycats is online now   Reply With Quote
Old Yesterday, 08:58 AM   #17
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,824
Karma: 7030035
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Calibre just silently fails to start if I install the code from #15. Works if I revert to the original. Odd.
If you run in debug mode it should tell you what the problem is. I suspect tabs vs spaces for the indents.
chaley is offline   Reply With Quote
Old Yesterday, 09:01 AM   #18
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,824
Karma: 7030035
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Here is the entire driver.py file. It runs for me. It is calibre/devices/kobo/driver.py.
Attached Files
File Type: zip driver.zip (42.2 KB, 2 views)

Last edited by chaley; Yesterday at 10:05 AM. Reason: Added the file name
chaley is offline   Reply With Quote
Old Yesterday, 09:11 AM   #19
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,927
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I got it working - I left in an accidental extra space I think. And the SeriesID changed!
ownedbycats is online now   Reply With Quote
Old Yesterday, 09:27 AM   #20
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,824
Karma: 7030035
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
I got it working - I left in an accidental extra space I think. And the SeriesID changed!
Good!

Could you (and anyone else willing to check) run this for a while to check for unintended consequences? If nothing bad is reported over the next few days I will submit it to Kovid.

Last edited by chaley; Yesterday at 10:04 AM. Reason: Typo
chaley is offline   Reply With Quote
Old Yesterday, 03:59 PM   #21
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 37,369
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
After installing the updated driver.py, in the limited testing I've done, I haven't seen any issues. OTOH, the SeriesID for books from Kobo that I have not imported to calibre will still have the GUID looking SeriesID even after metadata update plus one series that I just sideloaded shows the GUID SeriesID field. This is not the same as the series/series number field.

The only way I got rid of the GUID SeriesIDs was to copy the Series field to the SeriesID field.
DNSB is offline   Reply With Quote
Old Yesterday, 07:22 PM   #22
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,824
Karma: 7030035
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
After installing the updated driver.py, in the limited testing I've done, I haven't seen any issues.
Thanks for testing.
Quote:
OTOH, the SeriesID for books from Kobo that I have not imported to calibre will still have the GUID looking SeriesID even after metadata update plus one series that I just sideloaded shows the GUID SeriesID field. This is not the same as the series/series number field.

The only way I got rid of the GUID SeriesIDs was to copy the Series field to the SeriesID field.
Metadata update happens only for books in your calibre library. Books on the device but not in the library don't have any metadata updated.
chaley is offline   Reply With Quote
Old Yesterday, 07:55 PM   #23
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,927
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
FWIW, if it's the Kobo Plus books you've mentioned earlier, you can create dummy entries with the metadata but not actual format and match to the book on device. I do this for Overdrive loans.
ownedbycats is online now   Reply With Quote
Old Yesterday, 10:41 PM   #24
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 37,369
Karma: 149856306
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DNSB View Post
plus one series that I just sideloaded shows the GUID SeriesID field. This is not the same as the series/series number field.

The only way I got rid of the GUID SeriesIDs was to copy the Series field to the SeriesID field.
Quote:
Originally Posted by chaley View Post
Thanks for testing.
Metadata update happens only for books in your calibre library. Books on the device but not in the library don't have any metadata updated.
The series that showed up with the GUID was sideloaded since it was purchased from the author's site when they had a sale on.
DNSB is offline   Reply With Quote
Old Yesterday, 11:09 PM   #25
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,927
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Did you sideload with Calibre or another method?
ownedbycats is online now   Reply With Quote
Old Today, 04:05 AM   #26
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,824
Karma: 7030035
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
The series that showed up with the GUID was sideloaded since it was purchased from the author's site when they had a sale on.
Is the book in calibre as well as sideloaded on the device? If so:
  • Does it show as "On Device" when you connect the Kobo to calibre?
  • Did you use the calibre 2-step method to set the series or something else like Nickle Series?
Kobo Utilities has a "Manage Series Information in device library" action. Does this fix the SeriesID?

If I am understanding the code correctly, the SeriesID on sideloaded books is updated only if the series changes. It also tries to use the existing UUID-style seriesID if some non-sideloaded book on the device has one like that. The driver goes to some lengths to ensure this is true. My changes undid some of those efforts but not all.

I'm tempted to always set the SeriesID to the series name, but as before I don't know what that might break. I'm fairly sure that for a purchased set of books in a series, if some are in calibre and some aren't then the seriesID will be changed in only some of them. This is also probably true with the current changes.
chaley is offline   Reply With Quote
Old Today, 04:49 AM   #27
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,927
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
I'm tempted to always set the SeriesID to the series name, but as before I don't know what that might break. I'm fairly sure that for a purchased set of books in a series, if some are in calibre and some aren't then the seriesID will be changed in only some of them. This is also probably true with the current changes.
For what it matters, that's what I'd been doing with the SQLite query. I haven't noticed any detrimental effects, but I've been using it only around a month.

Last edited by ownedbycats; Today at 04:51 AM. Reason: to add a link
ownedbycats is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest method for bulk-setting SeriesID ownedbycats Kobo Reader 25 06-27-2024 04:45 AM
Bug with Subtitle in KoboTouch Driver 2.5.1 JSWolf Devices 2 01-01-2021 09:35 AM
[Device Plugin]KoboTouch driver for calibre 1.48 davidfor Plugins 4 12-27-2015 06:03 AM
USBNetwork USB Driver & Telnet on Windows XP SP3 namati Kindle Developer's Corner 0 02-24-2012 01:20 AM
PRS-500 driver & frimware AVIV2007 Sony Reader 4 10-06-2011 02:57 PM


All times are GMT -4. The time now is 06:22 AM.


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