![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Calibre, Pocketbook and Series Info
Hi!
I found in a german forum the info that there is a problem with series infos in epubs because PocketBooks need them as last information in the metadata. I also found the info that the user, together with Kovid, found a solution but this solution won't go into the general source as it might cause problems for other readers. The user also created a patch for it, but I can't use it as I am still bound to calibre 1.48 (old Mac). I also tried 3 month ago to understand the atch and apply it to my calibre, but failed ![]() Did anyone else have the same problem? Or is there a kind soul who could point me to the correct source files and give me some hints how I could sort the metadata accordingly? Many thanks in advance! |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
What patch are we talking about here?
![]() Links please. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
It's here: http://allesebook.de/forum/showthrea...ight=faulander
Problem is: That's in German. Esentially he exchanged the opf2.pyo file. The reason is: When Pocket Books get the series information, they ignore any following metadata. So the series info has to come last. |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Follow the directions here: http://manual.calibre-ebook.com/develop.html You will need to update the correct source file in your code checkout.
Far more convenient than patching compiled python files in the zipped-up resources. ![]() That fix should be compatible with any version of calibre going back at least ![]() ![]() You might also drop them a line in that forum, that they may wish to use a git checkout of the source code -- advantage is, you can commit the change, then do a "git pull --rebase" every time calibre is released. No need to manually patch the source every time! ![]() Only relevant if you actually can update calibre on your OS... Enclosed is a copy of calibre v1.48.0:src/calibre/ebooks/metadata/opf2.py patched with that fix. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Thanks a lot!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
FWIW, someone opened a bug report here and Kovid found an elegant solution here.
Which means calibre v2.36.0 and on will automatically have that (faster) workaround. That may not help you, stuck as you are on v1.48.0 -- but it should help the other people in that thread. ![]() EDIT: Also, obviously, that fix can be applied instead, which might be more efficient for you too. Last edited by eschwartz; 08-25-2015 at 04:09 PM. |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Thanks again!
Had I only looked earlier at the solution you linked… Anyhow: I've changed what you gave me - as it didn't work for me. As the comment in the linked solution states: series_index has to come after series. What I did to the opf2 you gave me, is to not search for "calibre:" in name but for name == "calibre:series_index" which I then simply move to the end. So not moving each and every calibre: metadata but just this one. I think it's fast enough. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Glo - Series Info From Calibre to Kobo | Chris_Snow | Library Management | 8 | 12-10-2015 07:11 AM |
Is there a way to set Calibre Content Server to save with series info? | LadyKate | Related Tools | 7 | 05-22-2015 03:20 AM |
Calibre shows series info, but Kobo doesn't receive it | Chris_Snow | Library Management | 7 | 11-08-2013 01:07 AM |
Any way to apply calibre's "Series" (and number) meta-info from within Sigil...? | Vintage Season | Sigil | 2 | 07-02-2010 11:35 PM |
Series Info HELP! | diana.stout | Sony Reader | 8 | 07-24-2008 06:22 PM |