How to highlight current selected channel in browse list?

Topics related to Sirius and XM Radio support via the MLSatRadio plugin.
Wysocki
Intermediate
Intermediate
Posts: 403
Joined: Mon Feb 03, 2003 10:50 pm
Location: Los Angeles Area
Contact:

How to highlight current selected channel in browse list?

Postby Wysocki » Tue Apr 19, 2011 6:00 pm

I'd like to be able to highlight the currently selected channel in the browse list. Either by changing the background color behind the artist/song or changing the font color, etc. I thought about using states (channel # equal to currentchannel#) or changing a graphic based upon the current channel # but I'm stuck. Anyone have any ideas on ways to do this?

User avatar
mcascio
Founder
Founder
Posts: 8270
Joined: Tue Jan 28, 2003 4:03 pm
Location: Kenosha, Wi
Contact:

Re: How to highlight current selected channel in browse list?

Postby mcascio » Tue Apr 19, 2011 8:31 pm

Put this in the label:
{{mlsatradio_{{mlsatradio_servicename_{{clientname}}}}_{{mlsatradio_3_channelnum_{{clientname}}}}_channel}}

Then put this in the local Off STATE Value field for the same button:
{{mlsatradio_radio_{{mlsatradio_activeradio_{{clientname}}}}_channel}}

Then adjust the Off state tint or alpha to show that it is the currently playing channel.
Mario Cascio
Cinemar, Inc.
http://www.cinemaronline.com


Return to “MLSatRadio”

Who is online

Users browsing this forum: No registered users and 1 guest