![]() |
#1 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,873
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Kobo: Separate series index (text) and series_index (float)?
Suggestion: I wonder if these would be within scope to implement in Kobo Utilities:
Quote:
|
|
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,618
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 98
Karma: 8592
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
|
Quote:
I'm curious how it's implemented in the version that Terisa uses, particularly how you can run predefined queries in an automated fashion. I can create an issue for it, but I can't promise anything especially since I'm currently in the middle of some big internal refactorings. |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,618
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,873
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I will open a ticket and see what Kovid thinks.
EDIT: https://bugs.launchpad.net/calibre/+bug/2112564 EDIT: wontfix. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,719
Karma: 168959600
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
And again, what effect would this change have on the SeriesNumberFloat field. Both fields are used internally by Kobo's firmware.
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,399
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I'm tempted to add setting the text index using a template to the driver just to see what happens. I think the driver doesn't read/use that field (not near my computer so can't check). The change would be easier than it was to add collection management via template. |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,618
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
In this message you can find some information about SeriesNumberFloat, that DNSB is talking about. Ah, and reading the thread, I see my query is doing what I wrote there: I keep Series and SeriesNumber, so the series is shown in the book in the library, but set to null (so not informed) SeriesId and SeriesNumberFloat, so Kobo doesn't count it to create series.
Last edited by Terisa de morgan; 06-06-2025 at 03:28 PM. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,618
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
In this message you can find some information about SeriesNumberFloat, that DNSB is talking about. Ah, and reading the thread, I see my query is doing what I wrote there: I keep Series and SeriesNumber, so the series is shown in the book in the library, but set to null (so not informed) SeriesId and SeriesNumberFloat, so Kobo doesn't count it to create series.
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,399
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
My Libra 2 sorts on the series index (float). The series index (text) is ignored. I tested this by setting the text to (100-series_index). If anyone wants to try it (no guarantees!) then run from source and put these two files in src/calibre/devices/kobo. |
|
![]() |
![]() |
![]() |
#11 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,873
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I'll try it later. I connect my Kobo at end of day.
|
![]() |
![]() |
![]() |
#12 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,873
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: switch_if( $series_index ==#'0', '', $series_index ) Maybe this could be split into a thread for development subforum. Last edited by ownedbycats; 06-12-2025 at 09:17 PM. |
![]() |
![]() |
![]() |
#13 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,399
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
program: series_start = floor($series_index); fraction = fractional_part($series_index); if fraction ==# 0 then result = series_start else series_end = floor(fraction*100); if series_end >=# 0 then result = series_start & '-' & series_end fi fi; result Also, if you have both omnibus and intermediate books (as I do) then you would need some way to distinguish between them. I would use a Yes/No "Is Omnibus" column for this. It might be easiest in the long run to have a text custom column that contains the series string you want for the book. Quote:
|
||
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,399
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I'll submit the changes to Kovid after I get more feedback.
If one doesn't use the feature then nothing changes in how the driver works. Any risk arises if you use the feature and something in the Kobo or calibre doesn't like it. I think the risk is small because as far as I can tell the Kobo driver sets but never uses series_index (text). |
![]() |
![]() |
![]() |
#15 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,873
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage Add series / series index to Kobo | baursak | Kobo Reader | 31 | 06-02-2024 09:37 PM |
Searching on the highest series_index od series | rolgiati | Library Management | 2 | 04-24-2023 02:24 PM |
[Kobo] Series and series_index issue | codychan | Devices | 11 | 04-06-2021 09:15 PM |
Series Index displayed as separate column from Series | Vortex | Library Management | 3 | 03-15-2015 08:39 PM |
Need text box to float left beside image | eggheadbooks1 | ePub | 35 | 06-06-2013 07:18 AM |