LinHES Forums http://forum.linhes.org/ |
|
How do I modify the MythTV Status page? http://forum.linhes.org/viewtopic.php?f=6&t=17976 |
Page 1 of 1 |
Author: | soundoff [ Thu Feb 28, 2008 7:44 pm ] |
Post subject: | How do I modify the MythTV Status page? |
I currently get the following output from the status page on mythweb: Disk Usage: * Master Backend: o Total Space: 231,759 MB o Space Used: 223,710 MB o Space Free: 8,049 MB * Total Disk Space: o Total Space: 231,759 MB o Space Used: 223,710 MB o Space Free: 8,049 MB As I only have a single backend system, I don't need both listings. I would like tochange one of them to give me info on my LVM which i use for non myth storage.... can anyone point me in the right direction? Thanks |
Author: | soundoff [ Sun Mar 02, 2008 5:38 am ] |
Post subject: | |
anyone? |
Author: | mogator88 [ Sun Mar 02, 2008 6:06 am ] |
Post subject: | |
Its possible that changing this involves changing the source code. Try posting on the mythtv mailing list (google for it). |
Author: | tjc [ Sun Mar 02, 2008 11:50 am ] |
Post subject: | |
You would need to change the PHP code under the /usr/share/mythtv/mythweb/modules/status directory. It's probably doable, but doesn't look trivial... You'll have to decide if the extra information bothers you enough to be worth the effort. Personally I think this is up there with worrying about whether people break their eggs on the small end or the big end... ![]() |
Author: | soundoff [ Sun Mar 02, 2008 6:44 pm ] |
Post subject: | |
thanks guys. I feared as much.... |
Author: | khrusher [ Mon Mar 03, 2008 9:13 am ] |
Post subject: | |
the status page is a little different then most of the rest of mythweb. While most of mythweb makes PHP/Mysql calls to collect data to display, the status page 'asks' the backend for the information. There is a BackendStatusPort defined in the Settings table, you can get the data by submitting an http request to the port. The request returns a full html stream for display. http://locallost: On my box... http://localhost:6544 You can either mod the server code to generate a different html stream for the request, or parse the resulting html in the $status variable in the code directory referenced above. Cheers |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |