[mythtv-users] How to detect whether backend is recording or scheduled?

Paul Harrison mythtv at dsl.pipex.com
Thu Dec 28 19:21:40 UTC 2006


Matthew Wire wrote:
>> I would like to run a command that sets the wakeup time for the next
>>     
>>> scheduled recording and shuts down if a recording is not currently
>>> taking place.
>>>       
>> Have you looked at MythWelcome / MythShutdown?  Unless I misunderstand,
>> it does what you want.
>>     
>
> Unfortunately not.  That's what I thought it did as well.
>
> I currently use MythWelcome but then you must wait for the backend to
> shutdown after an idle timeout.
> MythShutdown allows you to set a wakeup time on the command line but
> cannot retrieve the time of the next scheduled recording or detect
> whether the backend is currently recording.
>
> I think what I may have to do is try and write some code for
> mythshutdown to query the backend for the scheduled wakeup time and
> recording status.  I was hoping there would be an easier way though!
>
> Cheers,
> Matthew
>
>   
Are you sure MythWelcome/MythShutdown  doesn't do what you want? That's 
exactly what it was designed to do!!


Paul H.




More information about the mythtv-users mailing list