[mythtv-users] v0.28 and SystemEvents

Klaus Becker colonius at free.fr
Thu Mar 15 10:38:28 UTC 2018


Le jeudi 15 mars 2018, 23:22:58 CET Stephen Worthington a écrit :
> On Thu, 15 Mar 2018 00:28:49 -0500, you wrote:
> >Long ago (a couple years back anyway :)
> >
> >I used to use System Events (playback{start,stop,pause} to pop the
> >mythfrontend process into elevated cgroups while playing recordings.
> >
> >With systemd, I just assign it and leave it nowadays.
> >
> >I just tried to setup an event for RecordingFinished :
> >| EventCmdRecFinished  | /12TB/mythtv/mythlink.sh "%CHANID%" "%STARTTIME%"
> >| backend-0 |
> >
> >I restarted the backend (and frontend since I provisioned it from there),
> >and it is not taking effect.
> >
> >Before I deleted the playback events I used, my logs were full of the
> >events with no extra logging turned on.  I have not used them since 0.27
> >probably, but this is driving me nuts.
> >
> >Anyone use these that could tell me I am doing something stupid somewhere?
> >I do not remember a tick box anywhere to turn them on or off (nor can I
> >find one)..  There is nothing logged at all post recording.
> >
> >Thanks
> >
> >-Greg
> 
> I am getting EventCmdRecFinished calls to my Python program correctly
> in v29:
> 
> MariaDB [mythconverg]> select * from settings where value like
> 'EventCmdRecF%';
> +---------------------+------------------------------------------+----------
> +
> | value               | data                                     | hostname
> | |
> 
> +---------------------+------------------------------------------+----------
> +
> | EventCmdRecFinished | /usr/local/bin/mythsgu event RecFinished | mypvr   
> | |
> 
> +---------------------+------------------------------------------+----------
> + 1 row in set (0.00 sec)
> 
> Mar 15 22:39:00 mypvr mythbackend: mythbackend[31016]: I CoreContext
> mythsystemevent.cpp:308 (customEvent) MythSystemEventHandler: Starting
> thread for command '/usr/local/bin/mythsgu event RecFinished'
> Mar 15 22:39:00 mypvr mythbackend: mythbackend[31016]: W SystemEvent
> mythsystemevent.cpp:55 (run) MythSystemEventHandler: Finished
> '/usr/local/bin/mythsgu event RecFinished' result 126
> 
> Are the permissions right on /12TB/mythtv/mythlink.sh?


Hi Stephen,

I have:

MariaDB [mythconverg]> select * from settings where value like 'EventCmdRecF
%';
Empty set (0.00 sec)


I have no mythlink.sh anywhere, I searched with ls and locate after running 
updatdb.

I use MythTV 0.28.2 in Debian Stretch.

Bye

Klaus



More information about the mythtv-users mailing list