LinHES Forums http://forum.linhes.org/ |
|
Suggestion: Mythweb - include channel icons on program list http://forum.linhes.org/viewtopic.php?f=6&t=5744 |
Page 1 of 1 |
Author: | jac1d [ Fri Aug 19, 2005 9:08 pm ] |
Post subject: | Suggestion: Mythweb - include channel icons on program list |
HI All, I hate to make another suggestion without being able to provide the code for it. This time I have the code I just don't know which portion gives us what I'm talking about. I apologize in advance, and can try pasting in what I think is the relevant section if someone can interpret it for me. As an edit to MythWeb, a buddy of mine altered the theme so it displays the channel icons along with the # and callsign, so you can graphically see what channel you are viewing. Its a small hack but it is nice eye candy and makes it easier for non-techies to find what they want. If someone can point me to the relevant section that draws that part of the grid in the PHP I can cut and paste the one that has the icon. Thanks. -Jeff |
Author: | tjc [ Fri Aug 19, 2005 9:20 pm ] |
Post subject: | |
It actually used to do this, and stopped sometime in the last couple revs of MythTV. I don't think Cecil has any control over that... ![]() |
Author: | Luthair [ Fri Aug 19, 2005 9:55 pm ] |
Post subject: | |
locate program_listing.php It'll probably be the one in something/mythweb/themes/Default/ |
Author: | jac1d [ Sat Aug 20, 2005 7:48 am ] |
Post subject: | |
As the rest of that particular theme is modified to turn off a bunch of things, I'll wait till I can get a hold of the guy who made the change and get the relevant lines from him. It may not be a KnoppMyth change, but others might like to make the small edit. Non techies love the eye candy factor. ![]() -Jeff |
Author: | tjc [ Sat Aug 20, 2005 10:23 am ] |
Post subject: | |
I just went prowling through that code and it looks like icons should be enabled. I'm now wondering if it's a file access issue or something like that... Still researching, more deatils as I find them... AHA!!! - permissions! The scripts try to copy over any missing icons from where the database says they are in /home/mythtv/.mythtv/channels to /usr/share/mythtv/mythweb/images/icons but since MythWeb runs as a nonprivileged user (www-data) and the directory is owned by root this is impossible. This is actually something that Cecil does have control over and can fix easily. For a quick and dirty fix do this: Code: chmod a+w /usr/share/mythtv/mythweb/images/icons
I'm wondering if the directory should really be owned by root or www-data... |
Author: | jac1d [ Sat Aug 20, 2005 1:33 pm ] |
Post subject: | |
Shazam! That did it! Looks great! Thanks tjc. I'm reminded, once again, of what the Guru who first introduced me to Unix said... "95% of the time on Unix it's file permissons..." How often he's been proven right... -Jeff |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |