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

Deal with too-many-branches #11

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

Deal with too-many-branches

https://github.com/pablosambuco/CastStatusServer/blob/308acb101ae09b6ba1534e4b0494fe3ee7b1f161/caststatusserver.py#L101

                status (MediaStatus): respuesta del cast con el cambio de estado
            """
            # TODO Deal with too-many-branches
            # labels mejora

            cast = str(listener.cast.device.friendly_name)
            aux_list = listener.__class__.__name__

1ab52aac26c23ece729b6451c172897632df4bb2

github-actions[bot] commented 3 years ago

Closed in d975a27a4b726f7e97443fcbfe91d8a62c9e81e1

pablosambuco commented 3 years ago

Se crearon metodos y funciones para realizar la logica que necesitaba tantos branches