[mythtv-commits] Ticket #12254: MythGame settings not initialized in the database

MythTV noreply at mythtv.org
Thu Aug 28 15:58:37 UTC 2014


#12254: MythGame settings not initialized in the database
-------------------------------+-------------------------
 Reporter:  jjiglesias@…       |          Owner:
     Type:  Patch - Bug Fix    |         Status:  new
 Priority:  minor              |      Milestone:  unknown
Component:  Plugin - MythGame  |        Version:  0.27.3
 Severity:  low                |     Resolution:
 Keywords:                     |  Ticket locked:  0
-------------------------------+-------------------------

Comment (by mdean):

 Plugin settings should not be initialized in MythTV (core) dbcheck.
 Rather it's up to the plugin to create necessary settings.  This can be
 done either by calling a function in mythplugin_init() to check and pre-
 populate settings (so it is done when the frontend is started on a
 particular host) or by handling non-existent settings within the code that
 uses them (either by specifying default values in the GetSetting() calls
 or by using a conditional to check values).

 Furthermore, fixes should be made in MythGame itself, not in a packaging
 script used only by debian-based system packagers.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12254#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list