<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Aug 9, 2015 at 5:24 AM, José Silva <span dir="ltr"><<a href="mailto:jsantossilva@hotmail.com" target="_blank">jsantossilva@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to use System Events and Import Recorder to interface an Hauppauge HDPVR2 GE plus to mythtv. Hauppauge supplies a software package that is not really a driver. The most I can get is a TestApp that works like this:<br>
<br>
./HDPVR2-testApp -f video.ts # there are two bin and a settings files that must reside in the same dir<br>
<br>
So, I want to start this test app by EventCmdRecStarted at System events, giving it the %DIR%/%FILE% parameters supplied and it works with LiveTV:<br>
<br>
cd /home/mythtv/bin/hdpvr2;./HDPVR2-testApp -f %DIR%/%FILE%<br>
<br>
But in regular recordings I'm getting this log extract:<br>
<br>
Aug 9 12:51:25 golfinho mythbackend: mythbackend[3504]: I TVRecEvent tv_rec.cpp:4130 (TuningNewRecorder) TVRec[2]: rec->GetPathname(): '/home/user/Data/mythtv/recordings/5082_20150809115100.mpg'<br>
<br>
Aug 9 12:51:26 golfinho mythbackend: mythbackend[3504]: W SystemEvent mythsystemevent.cpp:55 (run) MythSystemEventHandler: Command 'cd /home/mythtv/bin/hdpvr2;./HDPVR2-testApp -f GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/golfinho/5082_20150809115100.mpg' returned 139<br>
<br>
Aug 9 12:51:27 golfinho mythbackend: mythbackend[3504]: E HttpServer56 programinfo.cpp:2358 (GetPlaybackURL) ProgramInfo(5082_20150809115100.mpg): GetPlaybackURL: '5082_20150809115100.mpg' should be local, but it can not be found.<br>
<br>
So, clearly the path has been established on first log, so it exists, but second line says that %DIR% has been replaced by something else. %FILE% is correct.<br><br></blockquote><div>Could you try using the EventCmdRecStartedWriting event instead?</div><div><br></div><div>Jim</div></div><br></div></div>