[mythtv-users] How to check if a tuner is in use

Hika van den Hoven hikavdh at gmail.com
Mon Oct 13 21:05:21 UTC 2014


Hoi Dick,

Monday, October 13, 2014, 10:53:14 PM, you wrote:

> On 10/13/2014 12:09 PM, Hika van den       Hoven wrote:


>   
> Hoi All,

>  How do I check if a tuner is in use by Mythtv. This so I can check in
>  my radio script if the tuner is available.
>  Can I find that in the database or is there a command. Or do I have
>  to check through the logs?
>   
>   
>      Last night I happened upon another way to look at this using  
> MythWeb. The status of the tuners appeared in the Encoder Status    
> section of Backend Status. I have an HDHOMERUN Prime with three    
> tuners. Right now nothing is recording so that section reads:
>   
>   
> Encoder Status
>      Encoder 1 [ HDHOMERUN : 192.168.0.108-1 ] is local on    
> ThinkCentre-M58p and is not recording.
>      Encoder 3 [ HDHOMERUN : 192.168.0.108-2 ] is local on    
> ThinkCentre-M58p and is not recording.
>      Encoder 5 [ HDHOMERUN : 192.168.0.108-0 ] is local on    
> ThinkCentre-M58p and is not recording.
>   
>   
Thanks, if I read it correctly it's what Bill's script queries. The
other uses a Mythtv system call (MythBE) and only queries the database
to get names and priorities.
Again a reason to learn more about python.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list