aboutsummaryrefslogtreecommitdiff
path: root/spotify.go
Commit message (Collapse)AuthorAgeFilesLines
* update dependenciesFlorian Fischer2023-07-311-4/+4
| | | | Switch to my own librespot-golang fork.
* implement advanced search for the spotify backendFlorian Fischer2023-07-231-28/+88
| | | | | The librespot API does not allow advanced search therefore we filter the results according to our advanced patterns.
* fix applyTimeBonus by always using Song pointersFlorian Fischer2023-07-221-3/+3
| | | | | | | | | | | 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/+12
|
* introduce Player interface to allow multiple player implementationsFlorian Fischer2023-07-011-1/+1
|
* add more verbose logging around loading tracks from spotifyFlorian Fischer2023-05-311-0/+2
|
* use llog instead of fmt debuggingFlorian Fischer2023-05-281-12/+9
|
* allow YAML parsing of the spotify configFlorian Fischer2023-05-211-10/+17
|
* implement YAML config and admin connectionsFlorian Fischer2023-05-211-7/+14
|
* add OnSongFinished backend hook allowing to remove uploaded songsFlorian Fischer2023-05-211-0/+2
|
* use llog instead of logFlorian Fischer2023-05-211-2/+3
|
* intermediate commitFlorian Fischer2022-07-261-105/+8
| | | | | | | * 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
* WIP spotify playback commitFlorian Fischer2022-07-211-6/+113
| | | | | * display spotify search results in search overlay * synchronously play songs added from search
* intermediate commitFlorian Fischer2022-07-211-0/+24
| | | | | | | | | * 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
* initial WIP commitFlorian Fischer2022-07-211-0/+77