pablosambuco / caststatusserver

Web app for playing status and basic control of all the chromecast devices in your local network
MIT License
1 stars 0 forks source link

Detectar fin de transmision en chromecasts existentes #7

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

Detectar fin de transmision en chromecasts existentes

Si al terminar el loop, no tengo algunos datos, borro el registro

if listener.cast.is_idle:

del self.status[cast]

https://github.com/pablosambuco/CastStatusServer/blob/7b3621f6e5a604a0e7264a72b3a1a7b6a3632fbc/caststatusserver.py#L185

            self.status[cast]["timestamp"] = now.strftime("%Y-%m-%d %H:%M:%S")

            # TODO Detectar fin de transmision en chromecasts existentes
            #  Si al terminar el loop, no tengo algunos datos, borro el registro
            #  if listener.cast.is_idle:
            #      del self.status[cast]

        def atender(self, wsock):
            """Funcion para atender los mensajes del WebSocket

38383d4c5defaec66290dc10bdc243cce41b68df

github-actions[bot] commented 3 years ago

Closed in e48c175f3867a7acf747c178859d8fe6c5485163

pablosambuco commented 3 years ago

Resuelto junto a #6