<br><br><div class="gmail_quote">On Sun, Aug 15, 2010 at 12:22 PM, Chad Oppliger <span dir="ltr"><<a href="mailto:chadopp@gmail.com">chadopp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Sun, Aug 15, 2010 at 9:07 AM, Chris Kapp <<a href="mailto:chris.kapp@gmail.com">chris.kapp@gmail.com</a>> wrote:<br>
><br><br>
<br>
</div></div>Thanks for the feedback and update Chris. I will update the code.<br>
Since my db was so small I wasn't running into the loading problem.<br>
<font color="#888888"><br>
Chad<br>
</font><div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Hey Chad,</div><div>Thanks for making the changes Chad. I was having an issue with the "All TV Shows" after updating to your new version. The following has made an improvement.</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Edit: /usr/share/mythtv/mythweb/</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "></span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">modules/episode/show.php</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">change line (50): $recordedshow[] = $row1['title'];</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">to be: $recordedshow[] = str_replace(' ', '', strtolower($row1['title']));</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Edit: /usr/share/mythtv/mythweb/modules/episode/tmpl/default/show.php</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">I changed the entire function:</span></div><div> function in_array_cin($strItem, $arItems) {</div>
<div> foreach ($arItems as $strValue) </div><div> if (str_replace(' ', '', strtolower($strItem)) == str_replace(' ', '', strtolower($strValue))) return TRUE;</div>
<div> return FALSE;</div><div> }</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> </span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">to be:</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><span class="Apple-tab-span" style="white-space:pre">        </span>function in_array_cin($strItem, $arItems) {</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>return in_array(str_replace(' ', '', strtolower($strItem)), $arItems);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div>
<div><br></div><div>I believe these changes should accomplish the same thing.</div></span></div></div>