View Single Post
Old 01-23-2024, 03:54 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,832
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Last edit to the index was 2024-01-21 at 13:18 (my time) by Kiwidude.

Observation: the following code is not in the __init_.py module as it is in every other plugin I've peeked into. AFAIK the plugin updater uses those variables to populate the list of gettable plugins in Preferences->Plugins. I suspect it expects to find them in __init__.py.

Code:
PLUGIN_VERSION = (1, 0, 0)
PLUGIN_MINIMUM_CALIBRE_VERSION = (6, 5, 0)
PLUGIN_AUTHOR = "0x6f677548 (Hugo Batista)"
PLUGIN_SUPPORTED_PLATFORMS = ["windows", "osx", "linux"]
PLUGIN_FILE_TYPES = set(["epub"])
PLUGIN_FILE_TYPE = "epub"
PLUGIN_NAME = "IntelliReading.com - Epub Metaguider"
PLUGIN_DESCRIPTION = "Converts epub files to a metaguided format, improving your focus and reading speed."
When they do show up in the Get Plugins list, how is the user expected to know which one is which if all three plugins have the same plugin_name… and plugin_description.

BR

Last edited by BetterRed; 01-23-2024 at 04:12 AM.
BetterRed is offline   Reply With Quote