<br><br><div><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">Michael T. Dean</b> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 09/15/06 00:57, Tim Scholl wrote:<br><br>&gt; After a new install I have one channel that displays the incorrect<br>&gt; icon.&nbsp;&nbsp;When I look at the url for the icon file it is correct, but the<br>&gt; wrong one displays.
<br>&gt;<br>&gt; I have a copy of the icon file, not being a database guru, how can I<br>&gt; point the database to the correct icon?<br>&gt;<br>&gt; Thanks in advance.<br><br><br>I'm guessing--since you said &quot;url&quot;--you're talking about MythWeb (for
<br>future reference, that would be important inforamation).&nbsp;&nbsp;If so, just<br>delete everything from the &quot;data/tv_icons&quot; directory underneath MythWeb<br>and let it fix itself.<br><br>Mike</blockquote><div><br>Actually I was refering to the program guide, but also displays wrong in Mythweb as well.&nbsp; 
<br><br>I did a query on the channel table&nbsp;&nbsp; <span style="font-weight: bold;">select * from channel where channum=&quot;31&quot;;</span><br>and the bad entry looks like this:<br><br>2031 | 31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 31&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 | SPIKETV&nbsp; | SPIKE TV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | /home/mythtv/.mythtv/channels/etv.jpg
<br><br>The etv.jpg is for the following entry E! Entertainment<br><br>The query&nbsp;&nbsp; <span style="font-weight: bold;"><span style="font-weight: bold;"></span>select * from channel where channum=&quot;51&quot;;</span><br>returns this with no icon information.
<br><br>2051 | 51&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 51&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 | ETV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | E! Entertainment Television&nbsp; |<br><br>This listing has no icon file listed in the database.<br><br>I did run&nbsp;&nbsp;&nbsp;&nbsp; mkiconmap.pl --grab --share=/tmp --out=iconmap.xml
<br></div>and&nbsp;&nbsp;&nbsp;&nbsp; mythfilldatabase --import-icon-map iconmap.xml --update-icon-map again but if didn't make any changes.&nbsp; <br><br>I really need the syntax for a <span style="font-weight: bold;">replace</span> and specify the correct jpg name
<br><br>&nbsp;and the syntax for&nbsp; an <span style="font-weight: bold;">insert</span> to put the path and icon name into the other entry. <br><br>Hope that helps clarify my problem<br><br>Thanks. <br><br>Tim<br></div><br><br>&nbsp;<br>
Tim Scholl