2009-10-24, 11:38 PM
I make the following changes to the TV Listing skin each time it is reissued. I think they apply to a large group of users and would like to see them incorporated into the basic TV Listing skin.
The first change is to change the time span to 180 minutes rather than 120 minutes.
[COLOR="Blue"]<NamedValue name="ListingsMinutes" value="180"/>
[/COLOR]
Unfortunately, this does not make all the changes needed for a three hour display. While there are position commands for a two hour display they do not exist for a three hour display. I made the following change to the skin.
[COLOR="Blue"][COLOR="Blue"][SIZE="2"] <CompositeImage name="TimeLine" size="100,4">
<!-- supported parameters are: @statusHighlighting, @visibleDate1, @visibleDate2, @visibleDate3, @timeN -->
<DrawCommonImage name="TextBackground"/>
<DrawImage filename="@statusHighlighting" loc="19,10" size="78,80" />
<!-- <DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="center" valign="center"/> -->
<!-- 2hr
<DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="center" valign="center"/>
<DrawText text="@time1" loc="19,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time2" loc="38.5,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time3" loc="58,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time4" loc="77.5,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/> -->
<!-- 3hr -->
<DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="left" valign="center"/>
<DrawText text="@time1" loc="19,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time2" loc="31.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time3" loc="44.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time4" loc="57.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time5" loc="70.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time6" loc="83,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
</CompositeImage>[/SIZE][/COLOR][/COLOR]
Although I show the entire CompositeImage section, the change I made was to add the 3Hr commands. It would be best if the skin automatically chose the appropriate DrawText commands based on the previous ListingsMinutes parameter but having the commands so the user just has to remove the comment command from the desired statements would be a simple way to make the current skin display three hours of programs.
The second change I make just selects parameters to display a program that is scheduled to be recorded in a solid red box.
<NamedValue name="ShowRecordingStatusColor" value="true"/>
I don't remember whether the following change was also necessary so I am including it to err on the side of caution.
<NamedValue name="ColorizationFlags" value="Default"/>
The third change is to display the channel number and logo. I'm including the whole CompositeImage for the ChannelHeader to show where the changes are made. I use the DrawText to display the channel number and the DrawImage to display the channel logo.
[COLOR="Blue"][SIZE="2"] <CompositeImage name="ChannelHeader" size="14,8.5">
<DrawCommonImage name="TextBackground"/>
<!-- supported parameters are: @icon, @name, @number, @numberName, @noIcon-->
<!-- visible="@noIcon" will only be drawn if there is no icon for the channel available -->
<DrawText text="@number" loc="2,10" size="96,80" textStyle="GeneralTextStyle" align="left" valign="center"/>
<DrawImage filename="@icon" loc="16 ,4" size="92,92" fixedAspectRatio="true"/>
<DrawText text="@name" visible="@noIcon" loc="2,10" size="96,80" textStyle="GeneralTextStyle" align="center" valign="center"/>
</CompositeImage>[/SIZE][/COLOR]
I would like to see the the first change I described added to future releases of the skin. The other two changes I described are to help others who may want to accomplish the same effects.
The first change is to change the time span to 180 minutes rather than 120 minutes.
[COLOR="Blue"]<NamedValue name="ListingsMinutes" value="180"/>
[/COLOR]
Unfortunately, this does not make all the changes needed for a three hour display. While there are position commands for a two hour display they do not exist for a three hour display. I made the following change to the skin.
[COLOR="Blue"][COLOR="Blue"][SIZE="2"] <CompositeImage name="TimeLine" size="100,4">
<!-- supported parameters are: @statusHighlighting, @visibleDate1, @visibleDate2, @visibleDate3, @timeN -->
<DrawCommonImage name="TextBackground"/>
<DrawImage filename="@statusHighlighting" loc="19,10" size="78,80" />
<!-- <DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="center" valign="center"/> -->
<!-- 2hr
<DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="center" valign="center"/>
<DrawText text="@time1" loc="19,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time2" loc="38.5,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time3" loc="58,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time4" loc="77.5,10" size="20,90" textStyle="IconNormal" align="Left" valign="center"/> -->
<!-- 3hr -->
<DrawText text="@visibleDate3" loc="2,5" size="17,90" textStyle="IconNormal" align="left" valign="center"/>
<DrawText text="@time1" loc="19,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time2" loc="31.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time3" loc="44.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time4" loc="57.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time5" loc="70.5,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
<DrawText text="@time6" loc="83,10" size="14,90" textStyle="IconNormal" align="Left" valign="center"/>
</CompositeImage>[/SIZE][/COLOR][/COLOR]
Although I show the entire CompositeImage section, the change I made was to add the 3Hr commands. It would be best if the skin automatically chose the appropriate DrawText commands based on the previous ListingsMinutes parameter but having the commands so the user just has to remove the comment command from the desired statements would be a simple way to make the current skin display three hours of programs.
The second change I make just selects parameters to display a program that is scheduled to be recorded in a solid red box.
<NamedValue name="ShowRecordingStatusColor" value="true"/>
I don't remember whether the following change was also necessary so I am including it to err on the side of caution.
<NamedValue name="ColorizationFlags" value="Default"/>
The third change is to display the channel number and logo. I'm including the whole CompositeImage for the ChannelHeader to show where the changes are made. I use the DrawText to display the channel number and the DrawImage to display the channel logo.
[COLOR="Blue"][SIZE="2"] <CompositeImage name="ChannelHeader" size="14,8.5">
<DrawCommonImage name="TextBackground"/>
<!-- supported parameters are: @icon, @name, @number, @numberName, @noIcon-->
<!-- visible="@noIcon" will only be drawn if there is no icon for the channel available -->
<DrawText text="@number" loc="2,10" size="96,80" textStyle="GeneralTextStyle" align="left" valign="center"/>
<DrawImage filename="@icon" loc="16 ,4" size="92,92" fixedAspectRatio="true"/>
<DrawText text="@name" visible="@noIcon" loc="2,10" size="96,80" textStyle="GeneralTextStyle" align="center" valign="center"/>
</CompositeImage>[/SIZE][/COLOR]
I would like to see the the first change I described added to future releases of the skin. The other two changes I described are to help others who may want to accomplish the same effects.