Skip to content

feature/improvement: return connect task? #19

Description

@jimduchek

Is there any reason not to (line 135) return the task from ws_connect? I see no other way for me to pick up the exception that gets tossed when the Kodi instance it's connected to closes. Potentially, PyKodi itself should handle it and signal the app that the connection has closed, but I'd need to see how KodiHTTPConnection (which I'm not using) handles disconnects in order to do a 'proper' PR. Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions