Skip to content

Remove the requirement for a browser to be pointed to the web app in order for the playlist to work #25

@JonathanDCohen

Description

@JonathanDCohen

Currently the playlist state is stored in the React component for the front-end UI. This means that, if you have a field installation of Pixelblazes with Firestorm which you'd like to have shuffle through a playlist, you need a browser somewhere pointed at the Firestorm UI. I've fixed this in my installation by pointing the built-in Chromium browser on my RPi to localhost, but it's not a great solution. This also means that if there are two different browsers pointed at the Firestorm UI, they'll compete with each other.

This feels like a layering violation to me. The playlist state should live in the API server and be manipulated with the REST API. This way no browser-looking-at-localhost hack is needed and multiple people can control Firestorm at the same time without conflicting with each other.

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