[mythtv-commits] Ticket #12328: EventCmdRecStartedWriting/REC_STARTED_WRITING not working for V4L tuners
MythTV
noreply at mythtv.org
Fri Apr 17 12:33:26 UTC 2015
#12328: EventCmdRecStartedWriting/REC_STARTED_WRITING not working for V4L tuners
-------------------------------------------------+-------------------------
Reporter: kmpatel@… | Owner:
Type: Bug Report - General | Status:
| infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.27.4
Severity: medium | Resolution:
Keywords: event, handlers, v4l, | Ticket locked: 0
REC_STARTED_WRITING, |
EventCmdRecStartedWriting |
-------------------------------------------------+-------------------------
Comment (by kmpatel@…):
Yeah, I don't have this problem with a HDHomeRun tuner, just the V4L.
As requested. I've attached a file showing the output of "mythbackend -v
network"
Also, illustration of the problem on a backend with a V4L tuner. I have 4
event test handlers, shown below:
{{{
+---------------------------+-----------------------------------------------------------------------------------------+
| value | data
|
+---------------------------+-----------------------------------------------------------------------------------------+
| EventCmdRecFinished | echo `date +"%F %T"` "<-- recording
finished: %FILE% %TITLE%" >> /tmp/backend.event.log |
| EventCmdRecPending | echo `date +"%F %T"` "<-- recording pending:
%FILE% %TITLE%" >> /tmp/backend.event.log |
| EventCmdRecStarted | echo `date +"%F %T"` "<-- recording
starting: %FILE% %TITLE%" >> /tmp/backend.event.log |
| EventCmdRecStartedWriting | echo `date +"%F %T"` "<-- writing file:
%FILE% %TITLE%" >> /tmp/backend.event.log |
+---------------------------+-----------------------------------------------------------------------------------------+
}}}
As you can see below, however, that during the recording period (between
7:28 and 8:02) there is no output for "EventCmdRecStartedWriting". But
the event handler is configured properly, as witnessed by the manual use
of mythutil --systemevent REC_STARTED_WRITING a few minutes later @
08:14:55.
{{{
2015-04-17 07:28:30 <-- recording pending: Big Cat Diary
2015-04-17 07:29:00 <-- recording pending: Big Cat Diary
2015-04-17 07:29:30 <-- recording starting: 9130_20150417113000.nuv Big
Cat Diary
2015-04-17 07:29:32 <-- recording pending: 9130_20150417113000.nuv Big Cat
Diary
2015-04-17 08:02:00 <-- recording finished: 9130_20150417113000.nuv Big
Cat Diary
2015-04-17 08:14:55 <-- writing file: %FILE% %TITLE%
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12328#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list