[mythtv-users] Time until next recording
nate s
nate.strickland at gmail.com
Sun Oct 31 07:43:01 UTC 2004
my first thought is that you may be able to parse this off mythweb,
though I'd bet there's a more direct way. For seeing if the capture
card is currently in use, I'd think fuser /dev/video# would work.
Where is the recording schedule stored anyways? If it's in the
database, you might be able to get to it like that.
On Sat, 30 Oct 2004 14:02:37 -0600, Poobah <poobah at techsquadron.com> wrote:
>
>
>
> Are there any shell script tools for taking to mythbackend? I have the
> expanding harddrive issue, and need to write a script to shutdown the
> backend occasionally to clear out deleted files. I'd like to not have it
> happen while something is being recorded, and when something isn't scheduled
> to be recorded soon. Something like:
>
>
>
> If CaptureCardsInUse = False then
>
> If NextRecordingMinutes > 10 then
>
> /etc/init.d/mythbackend restart
>
> Fi
>
> Fi
>
>
>
> I've seen this in the backend status page from MythWeb, just curious if it's
> available from the shell.
>
>
>
> Mark Hanson
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
More information about the mythtv-users
mailing list