Opened 14 years ago

Closed 14 years ago

#931 closed defect (fixed)

non-existing plugins may appear in frontend menu

Reported by: buzz <buzz@…> 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.

Change History (1)

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.