View Single Post
Old 10-24-2020, 09:40 AM   #1966
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@davidfor: Because I'm an idiot, I hadn't saved the mangled metadata.calibre file, so I had to resort to some creative manual mangling to replicate my original data set, and, yeah, it seems to behave now, thanks .

----

Random jq query I used to double-check the metadata sanity:

Code:
jq '[.[] | { Series: .series, Index: .series_index }] | group_by(.Series)[] | sort_by(.Index) | unique' < /run/media/niluje/KOBOeReader/metadata.calibre

Last edited by NiLuJe; 10-24-2020 at 09:44 AM.
NiLuJe is offline