[howto] vdr-frontend.conf -> prüfen ob TV an ist

  • Moin,


    mein Samsung hat Netzwerk...


    oben beim environment

    Code
    # TV ip and port (comment to disable)
    env tv_ip=192.168.178.21
    export tv_ip
    env tv_port=55000
    export tv_port


    im python Teil eine Funktion zum prüfen...


    und die if-Abfrage um check_tv() ergänzen...

    Code
    # attach frontend if vdr has not been started for a timer or an acpi
        # wakeup event or tv is offline
        if check_tv() and settings.manualstart == True and settings.acpi_wakeup != True and settings.conf['start_always_detached'] == '0':
            resume(frontend.status())


    S.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!