(sat_ip, handler)
Loop used to monitor the DVB-S2 frontend on a thread
Loop used to monitor the DVB-S2 frontend on a thread
Loop used to monitor the DVB - S2 frontend on a thread
def _monitoring_thread(sat_ip, handler):
    """Loop used to monitor the DVB-S2 frontend on a thread"""
    while (True):
        time.sleep(1)

        status = sat_ip.fe_stats()

        if (status is None):
            if (not handler.scroll):
                print()
            logger.warning("Failed to fetch the frontend status.")
            continue

        handler.update(status)
def _monitoring_thread ( sat_ip , handler ) : while ( True ) : time . sleep ( 1 ) status = sat_ip . fe_stats ( ) if ( status is None ) : if ( not handler . scroll ) : print ( ) logger . warning ( "Failed to fetch the frontend status." ) continue handler . update ( status )