Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily data push to front end #34

Open
hebron-george opened this issue Jun 2, 2021 · 0 comments
Open

Daily data push to front end #34

hebron-george opened this issue Jun 2, 2021 · 0 comments

Comments

@hebron-george
Copy link
Collaborator

hebron-george commented Jun 2, 2021

Problem

When the daily job runs to collect updates from TrackedPlaylists, we don't have a way of letting the front end know about the new songs without a full refresh of the front end.

The front end pings HYT on page load with POST /shuffle.

When a user uses the front end and leaves the app open in the browser, it won't update the playlist of available songs/videos without a full refresh.

We need a way for the back end to send a message of all the newly updated songs to any front end subscribers.

Related front-end issue: happy-software/shuffle_youtube_playlist#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant