05-25-2015, 03:15 PM | #1 |
Generally Awesome Person
Posts: 1,082
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Multi-plugin package
Is there a way to define a plugin package that includes multiple different plugins? I'd like to add KePub metadata reading and writing to the device plugin to resolve a bug and I'm going I can do it in the existing package so people can upgrade and get it without needing a new plugin package.
|
05-25-2015, 04:08 PM | #2 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, a single zip file can contain only a single plugin.
|
Advert | |
|
05-25-2015, 04:14 PM | #3 |
Generally Awesome Person
Posts: 1,082
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Is it OK if the single plugin is of multiple types? Something like this:
Code:
class KEPUBMetadataPlugin(MetadataReaderPlugin, MetadataWriterPlugin): |
05-25-2015, 04:37 PM | #4 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I'm afraid not. It is strictly one plugin per zip file.
|
05-25-2015, 04:53 PM | #5 |
Well trained by Cats
Posts: 30,451
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Dependencies
Maybe the Add PI routine could check for (PI) Dependencies and require that they be installed first. (The PI also needs to check that they are not later removed) |
Advert | |
|
05-25-2015, 05:21 PM | #6 |
Generally Awesome Person
Posts: 1,082
Karma: 2178847
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Oh well, I tried
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 02:25 AM |
Storing plugin data for multi-machine usage | kiwidude | Development | 13 | 06-18-2013 08:13 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM |