![]() |
#31 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2023
Device: Kobo Clara 2E
|
Quote:
|
|
![]() |
![]() |
![]() |
#32 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Sure, there will be a small image-not-found icon instead of an image. If you don't see such an icon, Pocket will already have removed the image before passing it to Kobo.
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
can't get it to work
I can't get it to work.
I added this to the nm config menu. Code:
menu_item :library :Fix Pocket Images :cmd_spawn :quiet:/bin/sh /mnt/onboard/.adds/pocket/fix.sh chain_success :dbg_toast :Done And rebooted. It doesn't show up in the main menu or the nm while in Pocket. Last edited by just_jeepin; 05-29-2023 at 10:20 AM. Reason: typo |
![]() |
![]() |
![]() |
#34 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,631
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#35 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
It's not showing up in NickelMenu on the homepage, pocket or my books page.
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,631
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
menu_item :main :Fix Pocket Images :cmd_spawn :quiet:/bin/sh /mnt/onboard/.adds/pocket/fix.sh chain_success :dbg_toast :Done # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # menu_item :library :Fix Pocket Images :cmd_spawn :quiet:/bin/sh /mnt/onboard/.adds/pocket/fix.sh chain_success :dbg_toast :Done # ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # # Then I dragged the pocket directory from the .zip file into the .adds directory on my Kobo ereader. When I opened NickelMenu, I saw the Fix Pocket Images directory and when I tapped on it, I got the Done toast. Sadly, I don't use Pocket but don't think that should have any effect on the test. When I look at the .adds directory, I see the nm directory and the pocket directory. In the pocket directory, I see the fix.sh and magick files and the fonts and lib directories. Last edited by DNSB; 05-29-2023 at 10:38 PM. |
|
![]() |
![]() |
![]() |
#37 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 102
Karma: 67444
Join Date: Dec 2018
Device: Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#38 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,631
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#39 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
Thank you, it was hiding in that menu! I changed :library to :main and it's in the NickelMenu menu.
Last edited by just_jeepin; 05-31-2023 at 07:12 PM. |
![]() |
![]() |
![]() |
#40 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2023
Device: kobo aura 1
|
I did everything as per the instructions, but when I click on the 'fix Pocket images' from the nicklemenu in the articles section, I instantly get a toast saying "Done" but the images are not fixed, I tried powering the device on and off, I deleted and re-extracted the pocket zip file in the .adds directory but to no avail.
can someone please help me? |
![]() |
![]() |
![]() |
#41 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
I'm having the same issue.
|
![]() |
![]() |
![]() |
#42 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1010848
Join Date: Oct 2005
Device: Kobo Libra 2
|
Any updates on a fixed script?
|
![]() |
![]() |
![]() |
#43 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
The script is working fine for most of us. The "done" toast will be shown immediately, it doesn't wait until all images are processed.
You can try this version which uses a log and is able to show the current status: https://www.mobileread.com/forums/sh...2&postcount=21 |
![]() |
![]() |
![]() |
#44 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Quote:
Code:
qndb -m mwcToast 3000 "Finished converting" |
|
![]() |
![]() |
![]() |
#45 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2024
Device: Kobo Libra 2
|
Thank you for sharing all of this. I have not tried your script directly yet but it has been really interesting to read because I'm working on my own project to do with improving Pocket's awful article parsing and broken images.
I'm building my own self-hosted "pre-processor" that can re-format articles to make them easier for pocket's servers to parse and reduce instances of missing paragraphs / sections and images. I kept hitting the missing images problem though, and googling for it brought me here. Very glad to hear that the issue is solvable by converting image formats into jpegs. I saw your other forum post where you found that pocket have an image proxy service that they use in certain situations to convert PNGs to JPEGs via pocket-image-cache.com. I think I might have a go at re-routing article image URLs to use their converter. Many thanks again for the useful pointer! (My code is a bit too early stage and too customised to my setup to share yet but I might follow up if there's any interest.) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
fixing images? | PandathePanda | Workshop | 8 | 11-15-2017 03:49 AM |
Script to resize images to 2 Million Pixels | shorshe | ePub | 14 | 06-28-2013 12:35 PM |
Creation of Complex Script E-Book Using Images for Every Word? | sungkhum | Conversion | 8 | 10-26-2011 04:20 PM |
Script for fixing covers on B&N Nook Color | jmricker | Devices | 0 | 06-28-2011 01:45 PM |
Linux script for images to Kindle Screensaver | soymicmic | Kindle Developer's Corner | 4 | 01-28-2011 11:20 AM |