View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Customized program guide
PostPosted: Mon Jun 07, 2004 4:32 pm 
Offline
Joined: Wed Mar 10, 2004 6:40 pm
Posts: 54
I use the program guide to review upcoming programs and I have always been disappointed whith the way the colors were implemented. Lately, I also noticed that the categories associated with the new Zap2it program listings weren’t even matching the labels in the ui.xml file which meant that all of the categories that weren’t specified were being rendered as the default color. Well, I looked around to see if anyone had posted an updated ui.xml file and couldn’t find one. So, I set out to update the file myself. I went to the Zap2it web site and found a PDF which listed all of the program categories (there are 204 of them) and then I set out to fix the ui.xml file. Well, I have finished my implementation and I thought others might like to have a copy of it.

To use this information, you need to paste it into the ui.xml file for the theme you are using with MythTV. You can find the themes in the /usr/share/mythtv/themes directory. Just edit the ui.xml file. Then there are 2 places which need to be deleted and then the following lines pasted in to replace the deleted lines. Look for the section of the code that starts with <container name="guide"> then if you examine the code below and you review the ui.xml file, it will be obvious which lines you need to replace.

Remember, backup your ui.xml file. If your program guide doesn’t open after you paste in the lines just copy the original file back.

Here are the lines… (I hope others find this useful)






<catcolor category="Action" color="maroon"></catcolor>
<catcolor category="Adventure" color="maroon"></catcolor>
<catcolor category="Western" color="maroon"></catcolor>

<catcolor category="Adults only" color="thistle3"></catcolor>

<catcolor category="Aerobics" color="sienna"></catcolor>
<catcolor category="Exercise" color="sienna"></catcolor>
<catcolor category="Health" color="sienna"></catcolor>
<catcolor category="Self improvement" color="sienna"></catcolor>

<catcolor category="Agriculture" color="#33ff99"></catcolor>
<catcolor category="Animals" color="#33ff99"></catcolor>

<catcolor category="Animated" color="rosybrown3"></catcolor>
<catcolor category="Anime" color="rosybrown3"></catcolor>

<!-- No color assigned to any of the sports -->
<!-- Archery Arm wrestling Auto Auto racing Aviation Badminton Baseball Basketball Beach soccer Biathlon Bicycle Bicycle racing Billiards Boat Boat racing Bobsled Bodybuilding Bowling Boxing Bullfighting Canoe Cricket Curling Darts Dog racing Dog show Dog sled Drag racing Equestrian Fencing Field hockey Figure skating Fishing Football Gaelic football Golf Handball Hockey Horse Hunting Hurling Hydroplane racing Indoor soccer Intl basketball Intl hockey Intl soccer Kayaking Lacrosse Luge Martial arts Motorcycle Motorcycle racing Motorsports Mountain biking Outdoors Playoff sports Polo Pool Pro wrestling Racquet Ringuette Rodeo Roller derby Rowing Rugby Running Sailing Shooting Skateboarding Skating Skeleton Skiing Snooker Snowboarding Snowmobile Soccer Softball Speed skating Sports event Sports non-event Sports talk Squash Sumo wrestling Surfing Swimming Table tennis Tennis Track/field Triathlon Water polo Water skiing Watersports Weightlifting Wrestling Yacht racing -->

<catcolor category="Cooking" color="tan3"></catcolor>

<catcolor category="Art" color="grey62"></catcolor>
<catcolor category="Arts/crafts" color="grey62"></catcolor>
<catcolor category="Ballet" color="grey62"></catcolor>
<catcolor category="Dance" color="grey62"></catcolor>
<catcolor category="Fashion" color="grey62"></catcolor>
<catcolor category="Opera" color="grey62"></catcolor>
<catcolor category="Performing arts" color="grey62"></catcolor>
<catcolor category="Theater" color="grey62"></catcolor>

<catcolor category="Beach volleyball" color="DarkCyan"></catcolor>
<catcolor category="Cheerleading" color="DarkCyan"></catcolor>
<catcolor category="Diving" color="DarkCyan"></catcolor>
<catcolor category="Gymnastics" color="DarkCyan"></catcolor>
<catcolor category="Volleyball" color="DarkCyan"></catcolor>

<catcolor category="Biography" color="goldenrod"></catcolor>
<catcolor category="Documentary" color="goldenrod"></catcolor>
<catcolor category="Historical drama" color="goldenrod"></catcolor>
<catcolor category="History" color="goldenrod"></catcolor>
<catcolor category="Law" color="goldenrod"></catcolor>

<catcolor category="Bus./financial" color="firebrick3"></catcolor>

<catcolor category="Children" color="MediumSlateBlue"></catcolor>
<catcolor category="Children-music" color="MediumSlateBlue"></catcolor>
<catcolor category="Children-special" color="MediumSlateBlue"></catcolor>
<catcolor category="Children-talk" color="MediumSlateBlue"></catcolor>
<catcolor category="Holiday-children" color="MediumSlateBlue"></catcolor>
<catcolor category="Holiday-children special" color="MediumSlateBlue"></catcolor>

<catcolor category="Comedy" color="DarkOrchid"></catcolor>
<catcolor category="Comedy-drama" color="DarkOrchid"></catcolor>
<catcolor category="Musical comedy" color="DarkOrchid"></catcolor>
<catcolor category="Romance-comedy" color="DarkOrchid"></catcolor>
<catcolor category="Standup" color="DarkOrchid"></catcolor>

<catcolor category="Computers" color="CornflowerBlue"></catcolor>
<catcolor category="Environment" color="CornflowerBlue"></catcolor>
<catcolor category="Medical" color="CornflowerBlue"></catcolor>
<catcolor category="Nature" color="CornflowerBlue"></catcolor>
<catcolor category="Science" color="CornflowerBlue"></catcolor>

<catcolor category="Crime" color="SlateGrey"></catcolor>
<catcolor category="Crime drama" color="SlateGrey"></catcolor>
<catcolor category="Docudrama" color="SlateGrey"></catcolor>
<catcolor category="Drama" color="SlateGrey"></catcolor>
<catcolor category="Horror" color="SlateGrey"></catcolor>
<catcolor category="Mystery" color="SlateGrey"></catcolor>
<catcolor category="Romance" color="SlateGrey"></catcolor>
<catcolor category="Suspense" color="SlateGrey"></catcolor>

<catcolor category="Educational" color="orchid"></catcolor>
<catcolor category="Parenting" color="orchid"></catcolor>

<catcolor category="Fantasy" color="ForestGreen"></catcolor>
<catcolor category="Science fiction" color="ForestGreen"></catcolor>

<catcolor category="Home improvement" color="Red"></catcolor>
<catcolor category="House/garden" color="Red"></catcolor>
<catcolor category="How-to" color="Red"></catcolor>

<catcolor category="Music" color="DarkRed"></catcolor>
<catcolor category="Music special" color="DarkRed"></catcolor>
<catcolor category="Music talk" color="DarkRed"></catcolor>

<catcolor category="News" color="DarkOrange3"></catcolor>
<catcolor category="Newsmagazine" color="DarkOrange3"></catcolor>
<catcolor category="Politics" color="DarkOrange3"></catcolor>
<catcolor category="Weather" color="DarkOrange3"></catcolor>

<catcolor category="Sitcom" color="turquoise3"></catcolor>

<catcolor category="Talk" color="MediumTurquoise"></catcolor>

<!-- more categories that don't have a color assigned -->
<!-- Anthology Auction Awards Collectibles Community Consumer Debate Entertainment Event Extreme French Fundraiser Game show Gay/lesbian Holiday Holiday music Holiday music special Holiday special Interview Miniseries Musical Olympics Parade Paranormal Pelota vasca Public affairs Reality Religious Shopping Soap Soap special Soap talk Spanish Special Travel Variety War -->

<!-- Unused colors -->
<!-- Note color is #redgreenblue i.e. #ff0000 is red, #00ff00 is green etc. Which can be used to create more colors -->
<!-- <catcolor category="Crime" color="MediumVioletRed"></catcolor> -->
<!-- <catcolor category="Travel" color="#aa00aa"></catcolor> -->
<!-- <catcolor category="Film" color="Blue"></catcolor> -->


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu