[mythtv-users] IPTV recorder - simultaneous stream recording

Stephen Worthington stephen_agent at jsw.gen.nz
Tue Jun 12 17:52:52 UTC 2018


On Wed, 13 Jun 2018 05:10:03 +1200, you wrote:

>On Tue, 12 Jun 2018 16:00:07 +0100, you wrote:
>
>>Hi,
>>
>>I have asked this question in a couple of IRC channels for mythtv and was
>>advised to ask my question here.
>>
>>Does anybody familiar with the IPTV recorder code know if the (seemingly)
>>broken behaviour in 0.28 has been changed in 0.29?
>>
>>Specifically, under 0.28, if I set up an IPTV recorder, it works for only 1
>>simultaneous recording, even if I set up multiple encoders.  It doesn't
>>help to set-up multiple IPTV recorders either, because the chanid in
>>iptv_channel is apparently derived from the string concatenation of
>>"sourceid"."channelnum", so even if I can make the URLs different, it
>>doesn't seem to help me solve this problem because the last URL for a given
>>chanid gets entered into iptv_channel table for a given chanid in the DB.
>>If it is sorted in 0.29 then I'll compile from a deb-src of 0.29 for my
>>Debian stable system.

I think I have worked out something that will make MythTV do what you
want.  Create two IPTV tuners (with 2 multirec tuners each), but put
each on a different source.  Create two .m3u files, each with the same
channels in it.  In one file, all the channels get the same URL - the
URL for the first HDMI to network encoder box.  Load that for the
first source.  Copy the .m3u file and change the URL for all the
channels to the one for the second HDMI encoder box.  Load that for
the second source.  Now you should have two channel table entries for
each channel, one for each sourceid.  I think you will also get two
iptv_channel table entries for each channel as well, one with each
URL, as the same channel in each source will have a different chanid
value.


More information about the mythtv-users mailing list