[mythtv-users] Trouble getting channel icons.

Marc Chamberlin marc at marcchamberlin.com
Tue Dec 18 08:07:59 UTC 2007


Michael T. Dean wrote:
> On 12/17/2007 02:16 PM, Marc Chamberlin wrote:
>   
>> Thanks Dave, I think you have given me enough info to get over the hump 
>> and get the icons working. Apparently the master_iconmap.xml file does 
>> not have the info necessary to set up the icon logos for the TV stations 
>> in my area.
>>     
>
> Might just be that your callsigns are not the same as those used in the
> master_iconmap.xml file.
>
>   
>>  (to be honest it did find one, but it was for a station that 
>> I cannot watch off the air so I never looked at it...but when I saw it 
>> in the mysql channel table, that told me that things are working 
>> properly, just not filled in.) I found and downloaded the rest of them 
>> from lyngsat and I will now dig into mysql (I hate database languages! 
>> sigh) and see if I can get it populated with the paths to the icons for 
>> each of the TV stations... And you are probably right, I will set this 
>> up in a script so it can be rerun if necessary in the future...
>>     
>
> And, really, it's probably a /lot/ easier just to add the local channels
> into master_iconmap.xml if they truly don't exist.  If you open the file
> in a text editor, it's relatively intuitive format that's used.  First,
> search for your local stations using the editor's Find (i.e. searching
> for WKMG would allow you to find things like WKMG-DT and WKMG-DT2, but
> would not have been matched by mythfilldatabase).  If some don't exist,
> just add them to the end of master_iconmap.xml.
>
> Since the SVN trunk version of MythTV won't be using master_iconmap.xml,
> you won't likely have to ever "merge" your changes into an updated
> iconmap, so really there's no reason to create a script--let
> mythfilldatabase do its job.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
Thanks again Mike, with yours and Daves help I think I am getting out of 
the woods! ;-)  I have now managed to get a few of the network affiliate 
icons to show up. There are a couple of issues that I had to overcome -

1. Apparently Schedules Direct did not set up the call signs for the 
major TV stations in my area. Instead there was a default "Adding 
Channel xx" label for these stations. When you directed me to go back an 
check what MythTVSetup was calling the name/call sign for these stations 
it was "Adding Channel" and I saw the problem immediately and changed 
them by hand. That got things a little further along but not out of the 
woods entirely..

2. There is a mistake in the master_iconmap.xml file that was causing an 
additional problem. The URL/path for ion_media_networks is wrong and 
should be changed from LyngSat-corp/jk/ion_media_networks to 
LyngSat-corp/ii/ion_media_networks  (jk -> ii) throughout the file.

At this point icons started to show up! :-) Now I have a question - 
Would it be possible to configure stations in the master_ iconmap.xml 
file so that I can set the icon directly for a particular TV station 
instead of using the network affiliation icon? For example would this be 
legitimate? -

    <callsigntonetwork>
        <callsign>wkmg</callsign>
        <url>[LyngSat]/tv/ww/wkmg_orlando.jpg</url>
    </callsigntonetwork>

That way I could set the icons to the logo used by TV stations that are not affiliated with one of the big networks... Just thought I would ask before experimenting and possibly breaking something. I haven't found any documentation on this xml file but perhaps it is hiding somewhere.. Anywise it sounds as if this approach is about to be deprecated so probably no matter...  ;-)

   Marc....





More information about the mythtv-users mailing list