[mythtv] Adding RunningStatus information to DVB EIT processing

Stuart Auchterlonie stuarta at squashedfrog.net
Thu Aug 25 10:16:44 UTC 2016


On 24/08/16 18:23, Roger James wrote:
> Hi Stuart,
> 
> I had quick look at David's patch. Has has added EIT parsing to tv_rec.
> My feeling is that the maintenance of our copy of the EIT table object
> should be kept in eitscanner and that should pass on internal EIT status
> changes to the scheduler and if required to the active recorders as well.
> 
> The EIT stuff is complex already and spreading it further seems to me a
> bad design decision.
> 

That sounds like a very good idea

> My thinking at the moment is a two stage implementation firstly to sort
> out handling of running status information in the EIT table object
> itself. Then at a later stage add parsing of the running status table to
> get more timely running status information.
> 

Good plan


Regards
Stuart


> Roger
> 
> Roger
> 
> 
> On 24 August 2016 4:46:21 pm Stuart Auchterlonie
> <stuarta at squashedfrog.net> wrote:
> 
>> On 24/08/16 16:29, roger wrote:
>>> Hi StuartA, Dekarl, et al.
>>>
>>> Have any of you guys been thinking more about adding DVB Running Status
>>> information to our EIT processing. In some discussions on EIT tables we
>>> had a long time ago, I mentioned that I was thinking of looking into it.
>>> It has got to the top of my list again :-)
>>>
>>> Running Status is used in a number of areas of the DVB spec, but the one
>>> of interest is the running status contained in the EIT. This gives the
>>> on air status of an EIT entry.
>>>
>>> 0 - undefined
>>> 1 - not running
>>> 2 - starts in a few seconds
>>> 3 - pausing
>>> 4 - running
>>> 5 - service off air
>>> 6,7 - reserved for future use
>>>
>>> So I think it might be a good idea to use the scheduled start time from
>>> the EIT to cold start the backend (idle shutdown/wakeup) and the running
>>> status to start the recording or stop recording. State 2 is specifically
>>> provided for this purpose. State 3 is intended for multi part events
>>> e.g. a long film interrupted by the news (It may also be useful for
>>> marking commercial breaks).
>>>
>>> DVB also provides a Running Status table. This table is intended to
>>> provide near real time updating to the running status field of
>>> individual EIT entries.
>>>
>>> I have more thoughts on this, but I would like get feedback first.
>>>
>>> Any comments?
>>>
>>>
>>
>> There has been some work done on this already by David Matthews.
>> See https://code.mythtv.org/trac/ticket/10101
>>
>> Might be a good starting point?
>>
>>
>> Regards
>> Stuart
>>
>>
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-dev mailing list