aboutsummaryrefslogtreecommitdiff
path: root/web
Commit message (Collapse)AuthorAgeFilesLines
* allow admins to skip or delete songsFlorian Fischer2023-05-311-0/+27
|
* distinguish between search queriesFlorian Fischer2023-05-301-10/+24
| | | | | | | | | | | Introduce a new Id field for events to distinguish between different searches. Since search result reporting is split up a old search could introduce results or terminate the current search. Keep track of a search counter to distinguish between result from the active search and stale ones. Allow to add multiple songs from the current search.
* escape html for search resultsFlorian Fischer2023-05-281-4/+9
|
* select pattern input on clickFlorian Fischer2023-05-281-1/+1
|
* restrict file upload to audio mime typesFlorian Fischer2023-05-281-1/+1
|
* also toggle playpause button label on a stop eventFlorian Fischer2023-05-211-0/+5
|
* continue playback when adding a song to an empty queueFlorian Fischer2023-05-211-1/+0
| | | | | | | Now WRMS only switches the playback state when an admin calls the /playpause endpoint. When the queue runs out of songs the state is kept and continues when a new song is added.
* only add playbutton eventlistener for adminsFlorian Fischer2023-05-211-0/+2
|
* implement YAML config and admin connectionsFlorian Fischer2023-05-211-5/+8
|
* actually handle stop notificationsFlorian Fischer2023-05-211-0/+3
|
* wrap search results in a details elementFlorian Fischer2023-05-211-2/+5
|
* implement incremental search resultsFlorian Fischer2023-05-211-9/+16
| | | | TODO: ensure late search results do not show up for future searches
* add searching indicatorFlorian Fischer2023-05-211-1/+10
|
* fix websocket endpoint urlFlorian Fischer2023-05-211-1/+2
|
* implement the upload backendFlorian Fischer2023-05-211-0/+19
|
* implement local storage backendv0.0.2-alphaFlorian Fischer2022-12-231-8/+7
| | | | | | | | The 'local' backend is able to serve the music from a path specified by '-server-music-dir'. Add command line options to select the server port as well as a list of backends.
* add and handle stop eventFlorian Fischer2022-08-011-0/+5
|
* only display the song weight in the playlistFlorian Fischer2022-08-011-4/+3
|
* intermediate commitFlorian Fischer2022-07-271-2/+16
| | | | | | * use more llog * inform clients about their votes when initiating the connection * show song weights
* add youtube backendFlorian Fischer2022-07-261-3/+9
|
* intermediate commitFlorian Fischer2022-07-261-1/+7
| | | | | | | * use mpv to play songs * fix CurrentSong being a pointer to a changing slot in the playlist array * wire up play and pause * continue playing after a song is finished
* intermediate commitFlorian Fischer2022-07-211-18/+64
| | | | | | | | | * add dummy backend * enable spotify searching * JS: use let instead of var * improve logging * support adding new songs from search * rename Song.Id to Song.Uri
* start implementing song searchFlorian Fischer2022-07-211-1/+16
|
* initial WIP commitFlorian Fischer2022-07-211-0/+211