aboutsummaryrefslogtreecommitdiff
path: root/backend.go
Commit message (Collapse)AuthorAgeFilesLines
* fix applyTimeBonus by always using Song pointersFlorian Fischer2023-07-221-4/+4
| | | | | | | | | | | Storing song objects in the Songs slice and using pointers to the underlying array slots breaks if the underlying array must be grown. When the array is grown the objects are copied to the new array and the pointers used in queue point to the old objects. This causes that Playlist.applyTimeBonus may not correctly apply to the most recent list of songs. This is fixed by always using Song pointers.
* add more song info and preparations for advanced searchFlorian Fischer2023-07-161-3/+3
|
* introduce Player interface to allow multiple player implementationsFlorian Fischer2023-07-011-3/+3
|
* add OnSongFinished backend hook allowing to remove uploaded songsFlorian Fischer2023-05-211-4/+3
|
* implement local storage backendv0.0.2-alphaFlorian Fischer2022-12-231-0/+29
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.