<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I am trying to use the MythTV API to
kill the LiveTV session. Note, i can't query the FrontEnd since it
is already off the network (power failure). <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">First step is to get the tuner status,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">$curl
192.168.1.12:6544/Dvr/GetEncoderList | sed
"s/></>\n</g"|grep RecordedId<br>
% Total % Received % Xferd Average Speed Time Time
Time Current<br>
Dload Upload Total Spent
Left Speed<br>
100 9096 100 9096 0 0 10701 0 --:--:-- --:--:--
--:--:-- 10688<br>
<RecordedId>0</RecordedId><br>
<RecordedId>6499</RecordedId><br>
<RecordedId>0</RecordedId><br>
<RecordedId>0</RecordedId><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">One if the tuner is shown as currently
recording and this is what I want to end. However, if i try to
delete this recording (thereby freeing the tuner) I get an error,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><span
style="color:#000000;background-color:#ffffff;">$curl
192.168.1.12:6544/Dvr/DeleteRecording?RecordedId=6499
</span><br>
<?xml version="1.0"
encoding="utf-8"?><detail><errorCode>401</errorCode><errorDescription>Invalid
Action</errorDescription></detail><!DOCTYPE
html><HTML><HEAD><TITLE>Error
404</TITLE><META HTTP-EQUIV="Conte<br>
nt-Type" CONTENT="text/html;
charset=ISO-8859-1"></HEAD><BODY><H1>404 Not
Found.</H1></BODY></HTML><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">How can i delete the current LiveTV
session?</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thanks</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 4/12/19 2:14 PM, Rajil Saraswat
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFoaQoBKiFb4S4J0sOJCxia_pD55M2u3K6QqCSDhkP=Kr0uYOg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Hello,
<div dir="auto">Is it possible to kill/quit live tv session
using cli interface? </div>
<div dir="auto"><br>
</div>
<div dir="auto">I have a separate frontend and backend. The
frontend sometimes locks up (due to power failure) but the
backend continues to engage the tuner. I would like to free up
the tuner using a script for such situations. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>