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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2018, 02:17 PM   #3796
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 441
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
If KindleUnpack gets it right, there's definitely something fishy going on, and I'll need a test file to figure it out .

(I assume you enabled periodicals support in the KUAL extension?)
Yes I did, but the problem exists for only certain issues. There is a thread here about this. The problem is with the metadata in the mobi file, specifically I believe it is missing an attribute for the cover in the ones that fail to be properly processed. I believe you should be able to see this with the data from the KindleUnpack dump.

As this is thus far an infrequent issue I would be satisfied to work around it by manually processing the proper cover and replacing the bad one in the cover_cache if that can be made to work. Of course I would need to know how to process the cover properly for a KT2 or a K3 to accomplish this.

Dave
dhdurgee is offline   Reply With Quote
Old 10-08-2018, 02:19 PM   #3797
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: 7,576
Karma: 7563069
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
What data? You only attached a jpg .

Plus, I'd need a full file to debug this.
NiLuJe is offline   Reply With Quote
Advert
Old 10-08-2018, 02:37 PM   #3798
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 441
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
What data? You only attached a jpg .

Plus, I'd need a full file to debug this.
Got bit by the uploader as the file didn't have an extension it supported. I attached it to this post. If you need the full file you will have to tell me how to provide it, as it is obviously copyrighted material.

Dave
Attached Files
File Type: txt FSF_09.txt (36.7 KB, 10 views)
dhdurgee is offline   Reply With Quote
Old 10-08-2018, 03:29 PM   #3799
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: 7,576
Karma: 7563069
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
Yeah, there's no cover metadata, and the current workaround of looking for the first image instead will here point to a probably unrelated gif .

I can *possibly* tweak that to switch that heuristic to use the first *jpg* image instead, but it still might be wrong.

Since it's been a few years since I touched that code, yeah, a link to the file in a PM would help test that theory (it's encrypted, I can't do anything with it except look at the metadata. If you want to be extra-paranoid and/or you're relying on public storage, put it in a passworded archive, and delete it as soon as I confirm I got it).
NiLuJe is offline   Reply With Quote
Old 10-08-2018, 03:39 PM   #3800
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 441
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
Yeah, there's no cover metadata, and the current workaround of looking for the first image instead will here point to a probably unrelated gif .

I can *possibly* tweak that to switch that heuristic to use the first *jpg* image instead, but it still might be wrong.

Since it's been a few years since I touched that code, yeah, a link to the file in a PM would help test that theory (it's encrypted, I can't do anything with it except look at the metadata. If you want to be extra-paranoid and/or you're relying on public storage, put it in a passworded archive, and delete it as soon as I confirm I got it).
Given the encrypted book is OK I don't have a problem attaching that. I had thought you needed the decrypted version. In fact here are two for you.

I am also unsure if you can generalize from two cases, but be my guest. Another thought might be that perhaps in the case of a magazine that the largest image you find is the cover image.

As I noted, if there is a way to run this manually from the KindleUnpack output perhaps it is unnecessary to tweak the code. I am assuming that I can replace a cover in the cache with the proper one and have it stick in that case.

Dave

Last edited by NiLuJe; 10-11-2018 at 12:28 AM. Reason: Removed attached files ;) -- NiLuJe
dhdurgee is offline   Reply With Quote
Advert
Old 10-08-2018, 03:59 PM   #3801
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: 7,576
Karma: 7563069
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@dhdurgee:

Got it, thanks .

Try replacing linkss/bin/kindleunpack.py with this version, the approach I described earlier appears to do the trick here .
NiLuJe is offline   Reply With Quote
Old 10-09-2018, 06:48 AM   #3802
dhdurgee
Evangelist
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 441
Karma: 1185420
Join Date: Jun 2010
Device: K3W, KT2
Quote:
Originally Posted by NiLuJe View Post
@dhdurgee:

Got it, thanks .

Try replacing linkss/bin/kindleunpack.py with this version, the approach I described earlier appears to do the trick here .
Worked as expected here as well. Thanks for your quick support. I will let you know if I encounter any other problems.

Dave
dhdurgee is offline   Reply With Quote
Reply

Tags
fonts, fw3, hack, jailbreak 3.1, niluje's hacks, screensavers, usbnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB network can't connect Slusho64 Kindle Developer's Corner 22 01-23-2013 09:00 PM
USB Network help? XxKryoxX Kindle Developer's Corner 6 12-31-2012 08:47 AM
Is there a hacks to install Time to read feature in other Kindles ? Biberkopf Kindle Developer's Corner 1 11-27-2012 04:08 PM
Hacks DXG Font hacks ? nimblem Amazon Kindle 2 09-21-2010 03:35 PM
Font Hacks wildchild06241 Introduce Yourself 5 06-24-2010 08:08 PM


All times are GMT -4. The time now is 03:24 PM.


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