<div dir="ltr">On Wed, Apr 15, 2015 at 10:25 PM, Bill Meek <span dir="ltr"><<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 04/15/2015 10:15 PM, dennis wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
On the topic of the streaming directory never getting cleaned up.<br>
<br>
I put together a little shell script that I run from cron on a daily basis.  It looks for streams that are over 1 day old and delete the files<br>
out of the streaming directory.   It also removes the entry from the livestream table.  This assumes the SQL parameters are set in the<br>
/etc/mythtv/config.xml file.  This is a quick hack workaround until it gets officially fixed in the backend.   Run at your own risk ( but it<br>
works for me).  Just thought I would share.<br>
</blockquote>
<br></span>
Just FYI:<br>
<br>
Since you've got the id from livestream, you can delete both<br>
the files and the DB record with one command:<br>
<br>
    curl --data Id=$id yourHostName:6544/Content/<u></u>RemoveLiveStream<span class=""><font color="#888888"><br>
</font></span></blockquote><div><br></div><div>Also, if you can parse the xml or json from Content/GetLiveStreamList you can get the Id of completed, old transcodes without touching the DB.<br></div></div></div></div>