Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-06-2025, 06:18 PM   #1
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
[Plugin] DeleteUnmanifestedFiles

Updated: 7 November 2026
Current Version: 0.2.12
Plugin type: edit

Plugin icon:


This simple plugin will delete files that third-party apps might write to the ePub temp folder.
Please note that this plugin will delete all unmanifested files, except for files that are mandatory for EPUB files, i.e. mimetype and OPF, as well as all files located in the META-INF folder.
For example, it won't delete com.apple.ibooks.display-options.xml.

Credits/Thanks:
Important:
  • In default mode, the plugin will ask the user to delete or keep each unmanifested file.
  • In automatic mode (triggered by Automation Lists), the plugin will delete all unmanifested files.
  • Plugin supports Sigil 2.0.0 versions and later.

Installation:
  1. Select Manage Plugins from the Plugins menu and select Use Bundled Python, if it isn't already selected.
  2. Click Add Plugin and select DeleteUnmanifestedFiles_v0.2.12.zip. This will install the DeleteUnmanifestedFiles edit plugin, which you can select via Plugins > Edit > DeleteUnmanifestedFiles.

License: GNU General Public License v3 (GPL-3)
Attached Thumbnails
Click image for larger version

Name:	DeleteUnmanifestedFiles029.png
Views:	479
Size:	18.2 KB
ID:	216046  
Attached Files
File Type: zip DeleteUnmanifestedFiles_v0.2.9.zip (7.5 KB, 573 views)
File Type: zip DeleteUnmanifestedFiles_v0.2.11.zip (7.5 KB, 329 views)
File Type: zip DeleteUnmanifestedFiles_v0.2.12.zip (7.5 KB, 22 views)

Last edited by BeckyEbook; 11-07-2026 at 04:42 PM. Reason: Jump version
BeckyEbook is offline   Reply With Quote
Old 06-06-2025, 08:09 PM   #2
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
[Plugin] RestoreUnmanifestedFiles

Updated: 28 November 2026
Current Version: 0.1.4
Plugin type: edit

Plugin icon:


Sometimes we don't want to delete unmanifested files at all – quite the opposite, we want them back. That's why this plugin was created.

Think of it as a natural companion to DeleteUnmanifestedFiles – one rescues, the other cleans up, and together they keep your manifest in order.

When Sigil opens an EPUB with files missing from the OPF manifest, it warns that they "will be ignored", but the files stay in the book folder. This plugin lists them and adds the ones you select back to the manifest.

How it works:
  • If the spine still has an itemref pointing to a missing file, the file gets exactly that id, so it also returns to its place in the reading order. Such files are ticked by default.
  • The media type follows the book: if other files with the same extension are already in the manifest, their media type is reused. Files with the .xml extension are recognised by their content (e.g. XHTML chapters saved as .xml).
  • Files that cannot be restored safely are shown, but greyed out: unknown types, an extra NCX in EPUB 2, and fonts that are still obfuscated or that Sigil has already loaded from encryption.xml.
  • Like DeleteUnmanifestedFiles, it skips mimetype, the OPF and everything in the META-INF folder.

Important:
  • In default mode, the plugin shows a list of unmanifested files and changes nothing until you confirm.
  • In automatic mode (triggered by Automation Lists), the plugin only reports. Put SetPluginParameter restore before it to restore files that have an orphaned spine itemref – nothing else.
  • Tip: run RestoreUnmanifestedFiles first, then DeleteUnmanifestedFiles to remove what is left.
  • Plugin supports Sigil 2.0.0 versions and later.

Credits/Thanks:
Installation:
  1. Select Manage Plugins from the Plugins menu and select Use Bundled Python, if it isn't already selected.
  2. Click Add Plugin and select RestoreUnmanifestedFiles_v0.1.4.zip. This will install the RestoreUnmanifestedFiles edit plugin, which you can select via Plugins > Edit > RestoreUnmanifestedFiles.

License: GNU General Public License v3 (GPL-3)
Attached Thumbnails
Click image for larger version

Name:	sigil-plugin-restoreunmanifestedfiles-v014.png
Views:	0
Size:	17.6 KB
ID:	227724  
Attached Files
File Type: zip RestoreUnmanifestedFiles_v0.1.4.zip (10.6 KB, 0 views)

Last edited by BeckyEbook; Today at 06:31 PM.
BeckyEbook is offline   Reply With Quote
Old 02-13-2026, 04:40 AM   #3
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,160
Karma: 12527555
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
Thanks for the plugin! Unfortunately, it fails with the report:
Code:
NameError: name 'QLibraryInfo' is not defined
Error: name 'QLibraryInfo' is not defined
Linux Mint 22.3 cinnamon 64 bit, Sigil 2.7.0. Any solution?
Leonatus is offline   Reply With Quote
Old 02-13-2026, 05:22 AM   #4
BeckyEbook
Wizard
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 1,101
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
Sorry.
I will slightly rebuild the plugin so that it supports the newer version of plugin_utils_light.py from the repository.

Edit: Try version 0.2.11

Last edited by BeckyEbook; 02-13-2026 at 05:32 AM.
BeckyEbook is offline   Reply With Quote
Old 02-13-2026, 10:31 AM   #5
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,160
Karma: 12527555
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
Thank you, Becky! It works and saves me time when I would otherwise have to unzip the whole epub!
Leonatus is offline   Reply With Quote
Reply

Tags
delete, plugin, sigil, unmanifested


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] LOI-Generator - edit] plugin to generate a List of Illustrations KevinH Plugins 1 01-19-2023 05:31 PM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM
[Plugin] QuickPrefsEdit - Edit plugin prefs json files. slowsmile Plugins 3 07-25-2018 09:14 PM
Goodread Perception Expander plugin not shown on plugin list (kobo h2o) www KOReader 4 09-28-2017 11:34 AM


All times are GMT -4. The time now is 07:56 PM.


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