[mythtv-users] Events at the beginning of a recording
Hika van den Hoven
hikavdh at gmail.com
Wed Jan 25 17:29:02 UTC 2023
Hoi Jan,
Wednesday, January 25, 2023, 5:31:36 PM, you wrote:
> On 24/01/2023 20:46, Ian Cameron wrote:
>> As far as I know, the recording pending events are fired
>> asynchronously. There is no waiting for them to finish, rather, they
>> are expected to have successfully done their job before MythTV starts
>> recording (including the pre-roll). On my system I consistently see
>> recording pending events triggered at 94, 60 and 29 seconds before the
>> pre-roll is due to start.
> I don't see that. What I see is as follows:
> Only one recording-pending event is triggered, not three as you observe
> on your system.
> The order I see is as follows:
> 1. The recording-started event is triggered first, almost simultaneously
> with the mythexternalrecorder's tuner command (at "second 0").
> 2. The recording-pending event is triggered next, at "second 5". So 5
> seconds after the recording has already started.
> Do you know whether these timings are parameters that I may have
> misconfigured in the database? My database is quite old and has been
> upgraded many times over the 15+ years that it has been in use.
> Also, assuming I can get these events into the correct order, my
> situation is that I need to power up the set-top box, and it takes quite
> some time to boot to a condition in which it is able to accept infrared
> commands (i.e. able to change channels).
> Cheers, Jan
Am I correct that you are working on conserving electricity by only
powering up devices when needed?
I am currently working on a network management tool to achieve just
that and am now implementing a eg-pms2-lan with switchable power
sockets to among others manage my hdhomrun.
I use the mythtv api to extract a recording schedule for those tuners
to determine when to switch on or off.
Use "Dvr/GetUpcomingList" and "Dvr/GetEncoderList" to get the upcoming
and pending recordings.
I can give you the Mythtv API python module based on Stephen
Worthington's gaps program.
I'm afraid it will take some more time before I can publish the entire
package.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list