[mythtv-users] Events at the beginning of a recording
Paul Harrison
mythtv at mythqml.net
Sun Feb 5 11:27:12 UTC 2023
On 05/02/2023 09:25, Jan Ceuleers wrote:
> On 04/02/2023 08:04, Jan Ceuleers wrote:
>> I upgraded to fixes/33, but I still see the incorrect ordering.
>>
>> <190>Feb 4 07:50:50 mythtv[2909935]:
>> /home/mythtv/system-events/recording-started called with parameters 32
>> 20230204075100 by PID 2909935
>> /home/mythtv/tuner_command[2909943] hdmicap1.xperim.be 121
>> <190>Feb 4 07:50:50 mythtv[2909938]: /home/mythtv/tuner_command called
>> with parameters hdmicap1.xperim.be 121 by PID 2909938
>> /home/mythtv/tuner_command[2909946] hdmicap1.xperim.be 121
>> <190>Feb 4 07:50:50 mythtv[2909938]: /home/mythtv/tuner_command called
>> with parameters hdmicap1.xperim.be 121 by PID 2909938
>> /home/mythtv/tuner_command[2909946] hdmicap1.xperim.be 121
>> <190>Feb 4 07:50:50 mythtv[2909951]:
>> /home/mythtv/system-events/recording-pending called with parameters 32
>> 20230204075100 -241 by PID 2909951
>> /home/mythtv/have_video_lock: hdmicap1.xperim.be returns 0
>> /home/mythtv/start_streaming hdmicap1.xperim.be
>> /home/mythtv/start_streaming: URL
>> http://192.168.1.69/dev/info.cgi?action=streaminfo&rtp=on&multicast=on&mcastaddr=192.168.1.60
>>
>> /home/mythtv/blast_arduino.sh: 1 121
>> /home/mythtv/tuner_command[2909946]: exit 0
>>
>> This log is produced by my own scripts, including the recording-pending
>> and recording-started scripts, as well as various scripts invoked
>> through mythexternrecorder configuration.
>>
>> As you can see the recording pending event is fired during the same
>> second as the recording started event, but later, and with a negative
>> SECS parameter (-241 in the above example). This log is for a recording
>> that was due to start (according to the schedule data) at 7:55am, with
>> zero preroll in the recording rule itself, with RecordPreRoll set to
>> 250, and with WakeUpThreshold set to 5.
>>
>> Perhaps the fix hasn't made it into the mythbuntu ppa yet; will test
>> again tomorrow.
> Klaas,
>
> This problem is not resolved for me. Based on the name of the package
> that I now have installed (which includes a git hash) I believe that I
> am running with your patch, but I still see out-of-order events very
> much like the log I posted yesterday.
>
> Should I open an issue?
>
> root at dracor:~# dpkg -l | grep myth
> ii libmyth
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 amd64 Common
> library code for MythTV and add-on modules (runtime)
> ii libmyth-python
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all Python
> library to access some MythTV features
> ii libmythes-1.2-0:amd64
> 2:1.2.4-3build1 amd64 simple
> thesaurus library
> ii libmythtv-perl
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all Perl
> library to access some MythTV features
> rc mythbuntu-bare-client 2.7.2
> all Mythbuntu Bare
> Client
> rc mythbuntu-common 0.78.2
> all Mythbuntu
> application support functions
> rc mythbuntu-control-centre 0.64.1
> all Mythbuntu
> Configuration Application
> ii mythes-en-us
> 1:6.4.3-1 all English
> (USA) Thesaurus for LibreOffice
> ii mythtv
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all
> Personal video recorder application (client and server)
> ii mythtv-backend
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 amd64
> Personal video recorder application (server)
> ii mythtv-backend-master
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all
> Metapackage to setup and configure a "Master Backend" profile of MythTV
> ii mythtv-common
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 amd64
> Personal video recorder application (common data)
> ii mythtv-database
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all
> Personal video recorder application (database)
> ii mythtv-frontend
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 amd64
> Personal video recorder application (client)
> ii mythtv-transcode-utils
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 amd64
> Utilities used for transcoding MythTV tasks
> ii mythweb
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all Web
> interface add-on module for MythTV
> ii php-mythtv
> 2:33.0+fixes.202302042148.761e7b05f7~ubuntu20.04.1 all PHP
> Bindings for MythTV
>
> Note that 761e7b05f7 is the current head in fixes/33.
>
>
> Thanks, Jan
Can you please show us what events you get and in what order without any
other logging so we can see what you mean?
It's possible the mythexternrecorder does things differently and messes
with the timings?
Paul H.
More information about the mythtv-users
mailing list