Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rust] Add Queue (server-side playlist) implementation
- Add Queue struct - Add API for adding tracks to the queue - Refactors and collection navigation: - Switch to only symphonia backends (can reverse this) - Add Factori for tests - Rename playlist to queue - Refactor Collection into struct so that we can add methods - Refactor CollectionBuilder into it's own module - Define 'all_tracks()' and 'get_tracks_under()' methods on Collection - Add JSON errors for e.g. 404 - Add once_cell and refactor build_test_app to fix Sled locking problems **TODO:** - Complete 'data' API: - Build out category, artist, album, track GET endpoints - /categories - /categories/:category - /categories/:category/artists/:artist etc Should we use IDs? hash of the path? - RwLock instead of mutex (should be safe to read)
- Loading branch information