diff --git a/frontend/apps/reader/pluginloader.lua b/frontend/apps/reader/pluginloader.lua index 788964f9e..a0d90b580 100644 --- a/frontend/apps/reader/pluginloader.lua +++ b/frontend/apps/reader/pluginloader.lua @@ -26,6 +26,7 @@ function PluginLoader:loadPlugins() package.path = package_path package.cpath = package_cpath if ok then + module.name = module.name or "unknownplugin" module.path = path table.insert(self.plugins, module) end diff --git a/plugins/calibrecompanion.koplugin/main.lua b/plugins/calibrecompanion.koplugin/main.lua index 440c079e8..65eb8d7e4 100644 --- a/plugins/calibrecompanion.koplugin/main.lua +++ b/plugins/calibrecompanion.koplugin/main.lua @@ -22,6 +22,7 @@ local dummy = require("ffi/zeromq_h") More details can be found at calibre/devices/smart_device_app/driver.py. --]] local CalibreCompanion = InputContainer:new{ + name = "calibrecompanion", -- calibre companion local port port = 8134, -- calibre broadcast ports used to find calibre server diff --git a/plugins/evernote.koplugin/main.lua b/plugins/evernote.koplugin/main.lua index 344d53cd5..ed95e2bf1 100644 --- a/plugins/evernote.koplugin/main.lua +++ b/plugins/evernote.koplugin/main.lua @@ -13,6 +13,7 @@ local slt2 = require('slt2') local MyClipping = require("clip") local EvernoteExporter = InputContainer:new{ + name = "evernote", login_title = _("Login to Evernote"), notebook_name = _("Koreader Notes"), evernote_domain = nil, diff --git a/plugins/zsync.koplugin/main.lua b/plugins/zsync.koplugin/main.lua index f815b1456..dd2597e30 100644 --- a/plugins/zsync.koplugin/main.lua +++ b/plugins/zsync.koplugin/main.lua @@ -28,6 +28,7 @@ int rmdir(const char *); local dummy = require("ffi/zeromq_h") local ZSync = InputContainer:new{ + name = "zsync", } function ZSync:init()