[mythtv-commits] Ticket #4049: Remove libsensors dependency and add "Miscellaneous Status Information"

MythTV mythtv at cvs.mythtv.org
Thu Oct 4 19:59:51 UTC 2007


#4049: Remove libsensors dependency and add "Miscellaneous Status Information"
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  ijr    
     Type:  enhancement                       |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythtv                            |     Version:  head   
 Severity:  medium                            |     Mlocked:  0      
----------------------------------------------+-----------------------------
 The attached patch, mythtv-miscellaneous_status_info.patch , removes the
 libsensors dependency (and ACPI temperature information) from MythTV and
 adds new functionality allowing a user-defined "Miscellaneous" status
 information section on the backend status page.

 The patch changes Myth to optionally (by default disabled) execute a user-
 specified script to retrieve delimited data which is placed into the
 "display" (for HTML output), "name", and "value" (for "machine-parsing")
 attributes of an "Information" element.  The "Information" elements are
 grouped within a new "Miscellaneous" element of the XML document.  The
 display value is written without modification to the HTML status document
 (followed by a line break tag, if necessary).

 Details are provided in the contrib/misc_status_info/README file (provided
 in the patch).

 Also attached is a patch, mythtv-miscellaneous_status_info-
 example_scripts.patch , which adds two example scripts.  The first,
 myth_sensors.sh, provides sensors data on the backend status page
 (screenshot at http://misc.thirdcontact.com/MythTV/MiscellaneousStatusInfo
 /MiscellaneousStatusInformation-sensors.png ).  The second,
 myth_recent_recordings.pl , provides a list of the most recent recordings
 (screenshot at http://misc.thirdcontact.com/MythTV/MiscellaneousStatusInfo
 /MiscellaneousStatusInformation-RecentRecordings.png ).  Note that
 myth_recent_recordings.pl can also do plain-text output (i.e. for use in a
 script to provide an e-mail update of recordings) and allows specifying
 how many recordings to list.  Note, also, the SVN properties change for
 the scripts (they should be executable--I don't know if that must be done
 manually after applying the patch).

 Reasoning behind changes:
 * Some users had instability in the backend due to the libsensors
 dependency ( http://www.gossamer-
 threads.com/lists/mythtv/dev/286232#286232 and http://www.gossamer-
 threads.com/lists/mythtv/users/286863#286863 )
 * Some users wanted to add additional sensors data to the backend status
 page ( #3502 , plus many mentions on the lists)
 * Some users find that lm-sensors data is more reliable/precise than ACPI
 data; yet the old Myth implementation always used ACPI in preference to
 lm-sensors.
 * The sensors data isn't all that useful on systems with remote
 backends/frontends.
 * The new functionality allows each user to customize the page as desired.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4049>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list