[mythtv-users] MythTV Player 1.1.5 available to all on Google Play Store

Frank Phillips frankalso at gmail.com
Thu Apr 16 03:57:36 UTC 2015


On Wed, Apr 15, 2015 at 10:25 PM, Bill Meek <keemllib at gmail.com> wrote:

> On 04/15/2015 10:15 PM, dennis wrote:
>
>>
>> On the topic of the streaming directory never getting cleaned up.
>>
>> 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
>> out of the streaming directory.   It also removes the entry from the
>> livestream table.  This assumes the SQL parameters are set in the
>> /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
>> works for me).  Just thought I would share.
>>
>
> Just FYI:
>
> Since you've got the id from livestream, you can delete both
> the files and the DB record with one command:
>
>     curl --data Id=$id yourHostName:6544/Content/RemoveLiveStream
>

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150415/865ddc68/attachment.html>


More information about the mythtv-users mailing list