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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-21-2015, 03:23 AM   #1
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 102
Karma: 666730
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!
Skeeve is offline   Reply With Quote
Old 08-21-2015, 03:19 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,247
Karma: 83049305
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.
eschwartz is offline   Reply With Quote
Advert
Old 08-21-2015, 03:50 PM   #3
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 102
Karma: 666730
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.
Skeeve is offline   Reply With Quote
Old 08-21-2015, 04:56 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,247
Karma: 83049305
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 to version 1.48.





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.
Attached Files
File Type: zip opf2.zip (14.5 KB, 104 views)
eschwartz is offline   Reply With Quote
Old 08-25-2015, 12:30 PM   #5
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 102
Karma: 666730
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
Thanks a lot!
Skeeve is offline   Reply With Quote
Advert
Old 08-25-2015, 03:24 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,247
Karma: 83049305
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 05:09 PM.
eschwartz is offline   Reply With Quote
Old 10-29-2015, 05:01 PM   #7
Skeeve
Zealot
Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.Skeeve ought to be getting tired of karma fortunes by now.
 
Skeeve's Avatar
 
Posts: 102
Karma: 666730
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.
Skeeve is offline   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
Kobo Glo - Series Info From Calibre to Kobo Chris_Snow Library Management 8 12-10-2015 08:11 AM
Is there a way to set Calibre Content Server to save with series info? LadyKate Related Tools 7 05-22-2015 04:20 AM
Calibre shows series info, but Kobo doesn't receive it Chris_Snow Library Management 7 11-08-2013 02:07 AM
Any way to apply calibre's "Series" (and number) meta-info from within Sigil...? Vintage Season Sigil 2 07-03-2010 12:35 AM
Series Info HELP! diana.stout Sony Reader 8 07-24-2008 07:22 PM


All times are GMT -4. The time now is 01:30 PM.


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