def setOptimizedForIPTV(self, status, wifiInterfaceId=1, timeout=1):
        """Set if the Wifi interface is optimized for IP TV

        :param bool status: set if Wifi interface should be optimized
        :param int wifiInterfaceId: the id of the Wifi interface
        :param float timeout: the timeout to wait for the action to be executed

        .. seealso:: :meth:`~simpletr64.actions.Fritz.isOptimizedForIPTV`
        """
        namespace = Fritz.getServiceType("setOptimizedForIPTV") + str(wifiInterfaceId)
        uri = self.getControlURL(namespace)

        if status:
            setStatus = 1
        else:
            setStatus = 0

        arguments = {"timeout": timeout, "NewX_AVM-DE_IPTVoptimize": setStatus}

        self.execute(uri, namespace, "X_AVM-DE_SetIPTVOptimized", **arguments)
def setOptimizedForIPTV ( self , status , wifiInterfaceId = 1 , timeout = 1 ) : namespace = Fritz . getServiceType ( "setOptimizedForIPTV" ) + str ( wifiInterfaceId ) uri = self . getControlURL ( namespace ) if status : setStatus = 1 else : setStatus = 0 arguments = { "timeout" : timeout , "NewX_AVM-DE_IPTVoptimize" : setStatus } self . execute ( uri , namespace , "X_AVM-DE_SetIPTVOptimized" , ** arguments )
Set if the Wifi interface is optimized for IP TV

        :param bool status: set if Wifi interface should be optimized
        :param int wifiInterfaceId: the id of the Wifi interface
        :param float timeout: the timeout to wait for the action to be executed

        .. seealso:: :meth:`~simpletr64.actions.Fritz.isOptimizedForIPTV`