<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 29/04/2010, at 5:59 PM, Solor Vox wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 29 April 2010 17:00, Steven Ellis &lt;<a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a>&gt; wrote:<br><blockquote type="cite"><blockquote type="cite">Nice start. Thanks for the work.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">One initial problem is using the cid's the data for TV One and TV 2 are<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">mapped to the same channel.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The list of unique cids is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://basefm.co.nz">crid://basefm.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://c42.co.nz">crid://c42.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://c4tv.co.nz">crid://c4tv.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://chinesetv8.co.nz">crid://chinesetv8.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://kordiasolutions.com">crid://kordiasolutions.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://maoritelevision.com">crid://maoritelevision.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://parliament.nz">crid://parliament.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://primetv.co.nz">crid://primetv.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://radionzconcert.co.nz">crid://radionzconcert.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://radionznational.co.nz">crid://radionznational.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://tv3.co.nz">crid://tv3.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://tv3plus1.co.nz">crid://tv3plus1.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://tvcentral.co.nz">crid://tvcentral.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="crid://tvnz.co.nz">crid://tvnz.co.nz</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">You would probably be better creating a map based on the SID, eg<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1200 = tvone<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1201 = tv2<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Another thought. 3rd field in the file is the channel name. You just need<br></blockquote><blockquote type="cite">an array from channel name -&gt; xmltv id.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You could also use this array to output the start data mapping channel id<br></blockquote><blockquote type="cite">to channel name.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Steve<br></blockquote><br>Thanks Steve,<br><br>Seems that more then just tv1 and 2 were mapped, all 4 (1,2,6, and 7)<br>channels are mapped to the same crid in the MHEG stream. &nbsp;I added 5<br>lines that seem to work well for me. &nbsp;Updated the svn copy with the<br>fix. &nbsp;Although I have been thinking about adding an array to remap all<br>crids so you wouldn't have to reconfigure mythtv.<br><br></div></blockquote><br></div><div>Great. I'll do an SVN pull for a look at your changes.</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>Steven Ellis - Technical Director<br>OpenMedia Limited<br>email &nbsp;&nbsp;-&nbsp;<a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a><br>website -&nbsp;<a href="http://www.openmedia.co.nz/">http://www.openmedia.co.nz</a><br></div></span>
</div>
<br></body></html>