[mythtv] [mythtv-commits] Ticket #1772: Allow Multiple Channelsfrom 1 Transponder...

Daniel Kristjansson danielk at cuymedia.net
Mon May 15 13:19:00 UTC 2006

On Mon, 2006-05-15 at 22:50 +1000, Aaron McCarthy wrote:
> I'm not sure how the channel information is stored in the data for analog 
> inputs.  The mplexid field of the channel table can be NULL.  I will have to 
> check if I have implemented it like this.  If mplexid not NULL then the card 
> used for recording should be shared with other recordings on the same 
> mplexid.  If mplexid is NULL then never share with recordings on other 
> channels, but allow sharing with recordings on the same channel.

The mplexid can be set to a value other than 0 for analog
sources. It is uncommon, but is used for when someone needs
to tune to a frequency that doesn't fit in freqid, or if
they want EIT collected for their OTA analog channels.

But you can check two values in mplexid to determine if this is
not a DTV channel (((atscsrcid % 256) == 0) && (serviceid < 0)).

BTW Any multi-recording patch will need to handle LiveTV and
partially overlapping programs in order to be accepted. This
shouldn't be too hard, but some possible implementations are
not compatible with this goal.

It would be nice to be able to roughly limit the number of bytes
per seconds written to disk by scheduled recordings, but this is
not essential for the first pass.

-- Daniel

More information about the mythtv-dev mailing list