Multi user support#4
Open
robocode42 wants to merge 2 commits into
Open
Conversation
- Introduce STREAMRIP_USERS environment variable to define allowed users (comma-separated) - Implement user-specific download directories (e.g., /music/username/) - Add user validation to /api/download and /api/download-from-url endpoints - Update browse_downloads to scope file listing to user-specific directories - Enhance status tracking to include user information and support filtering - Create user selection page at / when STREAMRIP_USERS is configured - Update frontend to extract user from URL path and pass to API endpoints - Add styling for user list page - Update README.md to document new environment variable
Multiple workers have separate in-memory state, causing SSE events to be delivered to the wrong worker. With 1 gevent worker, all SSE connections share the same event queue and download state, ensuring events always reach the connected clients.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add multi-user support with environment variable STREAMRIP_USERS
(comma-separated)
endpoints
directories
filtering
endpoints