Skip to content

Proxy Plug website #51

@ylt

Description

@ylt

This a short cut to getting basic management before #50 is implemented. Playlist management is currently not possible, and the best interface is plug itself.

An easy solution for this would be to proxy plug itself. All API calls are using relative URL's except for the websocket which is given in page itself (which can be modified while serving it).

The main complexity is that Wallace is using an API which abstracts away the underlying protocol.
We need to catch all the http requests and the websocket requests and call the relevant methods on the Plugged API.
Anything not handled, we can just pass on to the web API directly by using the cookie jar - this however runs the risk of Plugged not being synchronised with the current state.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions