Opened 18 years ago
Closed 18 years ago
#931 closed defect (fixed)
non-existing plugins may appear in frontend menu
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
NOTE1: Using mythvideo as an example here, applies ot others as well. NOTE2: my system is installed to /usr, latest SVN (8489). NOTE3: no plugins are installed! - just base myth.
if (eg) folder /usr/share/mythtv/mythvideo/ exists (even if empty) menu item appears in frontend 'Utilities/Setup?'->'Videos Manager'. Navigating to that option fails, no warning/output given in GUI.
'mythfrontend -v all' log shows: 2006-01-04 13:14:34.028 MythPlugin::Init() dlerror: /usr/lib/mythtv/plugins/liblibmythvideo.so: cannot open shared object file: No such file or directory 2006-01-04 13:14:34.028 Unable to initialize plugin 'mythvideo'. 2006-01-04 13:14:34.029 Unable to configure plugin 'mythvideo': not initialized
Suggestions for resolution: More thorough/complete test for existance of a plugin than just a 'directory exists' test, or possibly have MythPlugin? init errors displayed to OSD.
(In [8594]) Fix #931. Prevent 'depends' from thinking any file in share/mythtv was a menu file (check for .xml extension), so it mostly only tests for the plugin shared library existance like it used to.