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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2024, 04:59 PM   #1
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: 9,352
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
KoboTouch: Plugboards from series_index to SeriesNumber

On the Kobo device, the SeriesNumber row in the content table is a text column rather than an integer or float. Both null results and things like "1-4" are valid entries.

There's two things I'd like to know if are possible to do via plugboards:

1. For series omnibuses, I use series_indexes of x.y — 1.04 or 5.07. Is it possible to replace the period with a dash and remove the extra 0 to display as 1-4 on the Kobo?

2. For unnumbered series, I use a series_index of 0.0. This means a lot of "Series Name - 0"s on my device. Is it possible to return a null value instead?

Last edited by ownedbycats; 09-13-2024 at 05:28 PM. Reason: typo
ownedbycats is online now   Reply With Quote
Old 09-13-2024, 05:13 PM   #2
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,951
Karma: 7225107
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
For both #1 and #2, the answer is no. The plugboard sets the series_index in a copy of the book's metadata. That index is a floating point value, and can only accept floating point values. It might be possible to set it to python None (would require a python template). I strongly suspect this won't work. If it doesn't fail in the plugboard then I don't know what the device driver would do with it.

It is possible that the 2-decimal-digit limitation can be ignored, but given the number of moving parts I don't know what will happen on the device, or even if the behavior is deterministic. If this interests you then try it and see.
chaley is offline   Reply With Quote
Old 09-13-2024, 06:26 PM   #3
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: 9,352
Karma: 63297233
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Ah - I was afraid of that. I think at least #2 I can run a sqlite query on the database itself after Calibre's done syncing metadata.
ownedbycats is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KoboTouch and new tolino devices beedaddy Devices 14 07-30-2024 04:35 AM
Bug with Subtitle in KoboTouch Driver 2.5.1 JSWolf Devices 2 01-01-2021 09:35 AM
Touch MICRO SD CARD ISSUES? KoBoTouch jackastor Kobo Reader 15 02-26-2012 09:07 AM
KoboTouch Firmware jackastor Kobo Reader 7 11-14-2011 06:19 AM
Touch problems with my kobotouch :( distorteddisco Kobo Reader 7 07-03-2011 09:00 AM


All times are GMT -4. The time now is 10:38 PM.


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