[mythtv-users] MythTV Player 1.1.5 available to all on Google Play Store
Bill Meek
keemllib at gmail.com
Thu Apr 16 03:25:37 UTC 2015
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
--
Bill
More information about the mythtv-users
mailing list