10-15-2024, 03:54 PM | #691 | |
Bibliophagist
Posts: 40,927
Karma: 157444774
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
10-15-2024, 04:05 PM | #692 |
Grand Sorcerer
Posts: 11,665
Karma: 230973992
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
Advert | |
|
10-15-2024, 04:13 PM | #693 |
Grand Sorcerer
Posts: 28,053
Karma: 199729412
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
In case anyone missed it the first time around:
https://github.com/SolaProject/mobi_...v-file#example is a pure python, one-file module that can be used to check/change kindlebook metadata. Including EXTH[501]. It's also available to be installed with pip as mobi-header. |
10-15-2024, 04:17 PM | #694 | |
Grand Sorcerer
Posts: 11,665
Karma: 230973992
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
10-15-2024, 04:26 PM | #695 |
Grand Sorcerer
Posts: 28,053
Karma: 199729412
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sure you can. Someone would have to put together a calibre user interface plugin that could be run on all Kindlebook formats of books selected in the library. But all the heavy lifting of editing the metadata would be done by the mobi_header module, so it shouldn't be a herculean task by any means.
|
Advert | |
|
10-15-2024, 04:29 PM | #696 |
Bibliophagist
Posts: 40,927
Karma: 157444774
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The check_fix.py change allows changing it. The change in check_mobi.py allows for choosing files that do not have PDOC as the cdetype.
Basically any instances in config.py, check_fix.py and check_mobi.py of EBOK (upper case) was changed to PDOC which made the dialogs make more sense. |
10-15-2024, 07:26 PM | #697 | |
Wizard
Posts: 1,806
Karma: 27050516
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Quote:
Code:
sed -e 's/EBOK/PDOC/' -i.backup 'filename.azw3' I do not know the structure of an AZW3 file, and it may be perfectly find to alter the length of text like this when doing a replacement. But I can't say that for sure, since I know nothing about AZW3 files and any checksums (or whatever) they may or may not contain. If you are more daring and don't want to create a backup copy of the original file before editing, you can replace the "-i.backup" part of the command with simply "-i". This would be fine if you keep current and solid backups of your Calibre library. You could write a simple "for loop" script around the "sed" command to find and cycle through all the azw3 files you want to modify. You may want to add some bulletproofness to the script and make sure that "EBOK" only appears once in the file before you go modifying it. If it appears more than once, you only want to do the replacement on the appearance in the metadata part of the file (which is probably the first occurrence, but you'd have to verify that). The way to check it the text string appears multiple times is: Code:
strings 'filename.azw3' | grep EBOK | wc -l |
|
10-18-2024, 03:17 AM | #698 | ||
just an egg
Posts: 1,707
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
I always connect to WiFi and manage content online (including using Send-to-Kindle to transfer all my personal documents), so when books appear and disappear whenever I turn on my Kindle or Kindle app it’s totally normal to me as part of Kindle’s normal syncing process. If I delete a book from my Kindle Library on one device, I expect it to disappear from all my other devices when I turn them on. If I log into my Amazon account and go to my Content Library or Devices to send or remove ebooks to specific devices or delete ebooks altogether from my Kindle Library, I expect those books to be added or deleted from my devices as soon as I turn them on. I strongly suspect that in order to sync, Amazon maintains some sort of "master list” that records all Amazon-supplied ebooks (cdetype EBOK), all user-supplied personal documents (cdetype PDOC), what ebooks/documents the user has archived to their Content Library, and what ebooks/documents have been downloaded to each respective device. I suspect every time a user connects to WiFi, Amazon synchronizes the device to the master list (and vice versa), which can mean automatically adding or deleting material from the device. If there is a new PDOC on the device that isn't on the master list, Amazon appears to assume it was transferred via USB and adds it to the master list. But if there is a new EBOK on the device that doesn't have a matching EBOK on the master list, Amazon appears to identify it as an error and deletes it. By "matching EBOK" I mean a file identical to a version supplied by Amazon and NOT a diddled version (to use DiapDealer's adjective, which is my new favorite word). The bottom line seems to be: If you're sideloading personal documents (including ebook purchases that you’ve diddled with, even if the diddling is slight), you have two choices: either 1) never turn on WiFi, or 2) make sure it has cdetype PDOC so that Amazon knows it’s a personal document and will leave it alone. If you use a “fake” EBOK tag, you can’t blame Amazon for treating it like an EBOK. The fact that calibre automatically uses a “fake” EBOK tag when converting ebooks to AZW3 is a calibre issue, which seems a not insurmountable problem for a willing developer. The fact that users expect Amazon to leave their “fake” EBOKs alone seems, quite frankly, unreasonable, since Amazon provides the PDOC tag specifically for personal documents, including diddled Amazon purchases, which they leave alone. |
||
10-18-2024, 03:47 AM | #699 | |
Wizard
Posts: 1,454
Karma: 16297054
Join Date: Sep 2022
Device: Kobo Libra 2
|
Quote:
This strikes me as more of a cleanup procedure than any kind of security measure, i.e. when you connect the Wi-Fi after a long break, Amazon sees that you have non-sideloaded (according to the EBOK tag, which sideloaded books should not have) books on your device that are not present on your other devices, so Amazon cleans up your device by removing the "outdated" files for you, as a normal part of syncing to ensure all your Kindles have the same books on them. |
|
10-18-2024, 05:27 AM | #700 |
Reading till the spring
Posts: 12,446
Karma: 93226375
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
There should not be PDOC and EBOK.
But it's irrelevant. Amazon should not ever delete content. Their sync is broken and has been for years if you have an old mobi only kindle and azw3 Kindle on same account. The Amazon / Kindle management of series and collection is broken. It's a mess created by Amazon. |
10-18-2024, 05:59 AM | #701 |
Grand Sorcerer
Posts: 11,665
Karma: 230973992
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
I certainly don't agree that deleting content automatically, without any input from the user, is somehow ok, no matter the intention. But yeah, it seems we must solve this problem ourselves, as it's unlikely Amazon will fix it any time soon, if ever.
|
10-18-2024, 07:43 AM | #702 |
Reading till the spring
Posts: 12,446
Karma: 93226375
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
To clarify:
The way Amazon implements Personal vs non-personal is wrong, inc crippling covers etc. No-one else does this. IMO the best reason to by an ereader, and the reason we bought them, is to read Public domain ebooks unavailable on paper. It's a bonus that it can be cheaper and more convenient to read bought novels as ebooks rather than on paper. Often non-fiction or comics / graphic novels, text books and PDFs are better on a 10" to 14" real tablet. But this is only one thing Amazon is doing wrong. Solutions:
So don't turn on WiFi. Yes, all of this is a big problem for PDFs/Notes on a Scribe. I nearly bought one, but after reading Tomsem's experience and how it works I never will unless Amazon changes. Complain to Amazon. Meanwhile only sideload, only buy Amazon content and remove the DRM using your Kindle serial number. Make backups. |
10-18-2024, 11:21 AM | #703 |
Connoisseur
Posts: 78
Karma: 100000
Join Date: Oct 2014
Location: Ann Arbor, MI USA
Device: Kobo Aura One, Libra 2, Paperwhite
|
Funny how Amazon deletes my "diddled" Amazon purchased Calibre sideloaded content when I have absolutely no such problems using my "diddled" Amazon purchased Calibre sideloaded content on my Kobo devices.
|
10-18-2024, 03:13 PM | #704 | |||
just an egg
Posts: 1,707
Karma: 5514284
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
Quote:
And if you already use a non-Kindle device, why are complaining about Amazon/Kindle in the Kindle forum? Are you hoping to get other Kindle users to join you? Are you hoping Amazon will read your complaints and change their practices? Why not just walk away from Amazon/Kindle and be done with it? |
|||
10-18-2024, 03:38 PM | #705 |
Grand Sorcerer
Posts: 11,665
Karma: 230973992
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Why do you think they are necessarily Kindle store books? They may be public domain or otherwise DRM-free ebooks converted to AZW3 with Calibre.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amazon removed sort prices low to high from on-kindle store | Pjama | Amazon Kindle | 28 | 04-26-2021 01:26 PM |
Warning - Kindle Store button removed from Amazon app | RCR | Apple Devices | 4 | 09-02-2011 04:35 PM |
More ebooks removed from Amazon UK | mr ploppy | General Discussions | 7 | 12-09-2010 02:12 PM |
Amazon removed S/N info from Manage My Kindle page | daffy4u | News | 68 | 08-18-2009 12:30 PM |
Amazon Removed Gay Books from Rankings | Moejoe | News | 167 | 05-02-2009 01:24 PM |