[mythtv-commits] Ticket #13114: Import Recorder Fix
MythTV
noreply at mythtv.org
Fri Oct 27 14:21:49 UTC 2017
#13114: Import Recorder Fix
--------------------------------+--------------------------
Reporter: devmonkey@… | Owner: pbennett
Type: Patch - Bug Fix | Status: accepted
Priority: minor | Milestone: 30.0
Component: MythTV - Recording | Version: 0.28.1
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+--------------------------
Comment (by pbennett):
Setup - With latest master (Pre-30), and on v29, the import recorder setup
takes you to a file browser to select the import file. You cannot select a
file that does not exist. You can type in a file name that does not exist
and as soon as you move out of the input field, the file name you typed is
cleared out and replaced by "/". However, that is all good, because with
the file name as "/" it is a file that does not exist and it works as
hoped.
I created by own shell script to record from DVB using zap as you
suggested. Without your patch, the recording never gets going. With your
patch it is recording successfully, just like a normal input card.
Attached is my script that has to be used in the recording started event.
I found that using the recording ended event does not work. I had hoped to
use a script there to end the recording when MythTV decided the recording
was ended. However MythTV did not sent the end recording event until I
first killed the ffmpeg, even if it was several minutes past the recording
end time. So I switched to timing and killing the recording from inside
the start recording event and adding "&" to the start recording event
invocation so that it continues running through the entire recording.
I did not fully understand your python script. Do you have a check in
there for the card id? I added that in my script because you do not want
the import to start up when recording from other types of cards on the
system, for example I have a ceton tuner as well, which is recorded in the
normal way.
Live TV is a problem. It starts recording perfectly on the backend, but
the frontend freezes forever. I would like to have that working as well.
It should work, Live TV is perfectly capable of handling tuners that are
slow to tune. It may be that the frontend expects always to find some data
in the file, if you tune a channel you normally immediately get a file of
some 500 bytes, not 0 bytes as we see when starting with import recorder.
Note Live TV does work with import recorder if you just use a file copy in
the import script so that the file is there by the time the frontend looks
for it.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13114#comment:14>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list