Can&#39;t say I have any problem channels any more, I can set manual records for two chans on the same mplex, either two virtual cards on the same physical card or two separate cards.<div><br><div>wanna send me a dump of your inputgroup table?<br>
<br><div class="gmail_quote">On 6 November 2010 13:04, Another Sillyname <span dir="ltr">&lt;<a href="mailto:anothersname@googlemail.com">anothersname@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 6 November 2010 09:25, William Uther<br>
&lt;<a href="mailto:willu.mailingLists@cse.unsw.edu.au">willu.mailingLists@cse.unsw.edu.au</a>&gt; wrote:<br>
</div><div><div></div><div class="h5">&gt; Hi,<br>
&gt;  I&#39;ve been having problems recording from two channels in a multiplex since that capability was first introduced.  To be clear - some recordings work, but others don&#39;t.  I&#39;ve recently asked on the users mailing list, but noone there seems to be able to help.  I&#39;m looking to debug it, but would like some help with the code, please :).<br>

&gt;<br>
&gt; First some setup info:<br>
&gt;<br>
&gt; I am running 0.23.0+fixes from ubuntu 10.04.  I have two DVB-T tuners.  Each is set up to record up to two programs if they&#39;re on the same multiplex.  This gives me four cardids, 1 and 2 are on adaptor0 and 3 and 4 are on adaptor1.<br>

&gt;<br>
&gt; Channels ABC1 and ABC2 are on the same multiplex.<br>
&gt;<br>
&gt; First, here is a schedule that works:<br>
&gt;<br>
&gt;  6:58-7:45pm Big Bang Theory on Go!       (note pre-roll and post roll for a 30 min show)<br>
&gt;  7:30-8:25pm Big Bang Theory on Go!<br>
&gt;<br>
&gt; These can be scheduled on cardids 1 and 2 and everything will record fine.  So it seems to be fine if it is recording the same channel from the multiplex on two cardids.<br>
&gt;<br>
&gt; And here is a schedule that doesn&#39;t work:<br>
&gt;<br>
&gt;  7:00-7:30pm ABC News (that&#39;s Australian ABC, not US ABC :) on ABC1<br>
&gt;  7:15-7:35pm Daily Show on ABC2<br>
&gt;  7:30-8:00pm The 7:30 Report on ABC1<br>
&gt;  7:35-8:00pm Colbert Report on ABC2<br>
&gt;<br>
&gt; This is normally scheduled with the ABC1 shows being recorded by cardid 1 and the ABC2 shows by cardid 2.  i.e. all four shows are actually being recorded on the same DVB-T adaptor.<br>
&gt;<br>
&gt; This fails - when a show starts recording on the other card, the show currently recording gets stopped prematurely.  i.e. I end up getting this:<br>
&gt;<br>
&gt;  7:00-7:15pm ABC News on ABC1<br>
&gt;  7:15-7:30pm Daily Show on ABC2<br>
&gt;  7:30-7:35pm The 7:30 Report on ABC1<br>
&gt;  7:35-8:00pm Colbert Report on ABC2<br>
&gt;<br>
&gt; If I turn on the &#39;record&#39; logging then I see:<br>
&gt;<br>
&gt; 2010-11-05 19:15:02.713 TVRec(1): StartRecording(The Daily Show with Jon Stewart)<br>
&gt; 2010-11-05 19:15:02.811 TVRec(1): Checking input group recorders - begin<br>
&gt; 2010-11-05 19:15:02.924 TVRec(1): Attempting to stop card 2 in state RecordingOnly<br>
&gt; 2010-11-05 19:15:03.033 TVRec(2): Changing from RecordingOnly to None<br>
&gt; 2010-11-05 19:15:03.144 TVRec(2): ClearFlags(FrontendReady,CancelNextRecording,) -&gt; RunMainLoop,RecorderRunning,RingBufferReady,<br>
&gt; 2010-11-05 19:15:03.354 TVRec(2): Request: Program(no) channel() input() flags(CloseRec,KillRingBuffer,)<br>
&gt; 2010-11-05 19:15:03.465 ProgramInfo(): Updated pathname &#39;&#39;:&#39;&#39; -&gt; &#39;1203_20101105185800.mpg&#39;<br>
&gt; 2010-11-05 19:15:03.587 TVRec(2): FinishedRecording(ABC News) in recgroup: Default<br>
&gt; 2010-11-05 19:15:03.645 Finished recording ABC News: channel 1203<br>
&gt; 2010-11-05 19:15:03.733 scheduler: Finished recording: ABC News: channel 1203<br>
&gt;<br>
&gt; So you can see that starting to record on cardid1 has caused cardid2 to stop.  This is happening in TVRec::StartRecording() about line 586 of tv_rec.cpp.  According to my channel table, ABC1 and ABC2 have the same multiplex id, but different service ids.  All my cards have the same source id.<br>

&gt;<br>
&gt; Does anyone have any idea what might be going wrong?<br>
&gt;<br>
&gt; Will      :-}<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mythtv-dev mailing list<br>
&gt; <a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br>
&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br>
&gt;<br>
<br>
</div></div>What card are you using?<br>
<br>
What happens if you do &#39;forced&#39; manual records using cardid 1 and<br>
cardid 2 on the same mux (i.e. Go into live tv --&gt; Menu --&gt; Switch<br>
Input --&gt; Cardid 1 ) then choose the &#39;problem&#39; channel and press<br>
record to force that cardid to record that channel.  Then go back into<br>
menu and choose the other input and repeat.<br>
<div><div></div><div class="h5">_______________________________________________<br>
mythtv-dev mailing list<br>
<a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br>
</div></div></blockquote></div><br></div></div>