| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bumble up a possible error creating the upload directory | Florian Fischer | 2023-07-31 | 1 | -1/+1 |
| | | |||||
| * | implement initial loading of spotify playlists | Florian Fischer | 2023-07-31 | 1 | -0/+9 |
| | | | | | | | | | Playlist can now be added to the initial play queue with the -playlists command line flag or the playlists yaml key in the config file. To load a spotify playlist the link obtained when sharing the playlist from spotify is used. | ||||
| * | fix applyTimeBonus by always using Song pointers | Florian Fischer | 2023-07-22 | 1 | -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 search | Florian Fischer | 2023-07-16 | 1 | -2/+2 |
| | | |||||
| * | introduce Player interface to allow multiple player implementations | Florian Fischer | 2023-07-01 | 1 | -19/+34 |
| | | |||||
| * | fix double _next call and move mpv termination to Next | Florian Fischer | 2023-06-30 | 1 | -2/+2 |
| | | | | | | Due to an logic error was _next() a second time from runMpv after the mpv subprocess was terminated by the first Next() call. | ||||
| * | add debug message when terminating mpv subprocess | Florian Fischer | 2023-06-30 | 1 | -0/+1 |
| | | |||||
| * | remember the current song before waiting for mpv | Florian Fischer | 2023-06-30 | 1 | -1/+4 |
| | | |||||
| * | serialize player state change though a channel | Florian Fischer | 2023-06-30 | 1 | -51/+118 |
| | | | | | | Only the player.serveCmds and the runMpv goroutines are racing now. But this race should be a benign race. | ||||
| * | support skipping the current song while playback is paused | Florian Fischer | 2023-05-31 | 1 | -10/+23 |
| | | |||||
| * | use an atomic pointer to track the current song | Florian Fischer | 2023-05-31 | 1 | -2/+2 |
| | | | | | | Also fix showing finished songs as current playing on new clients. | ||||
| * | improve mpv argv logging | Florian Fischer | 2023-05-28 | 1 | -1/+1 |
| | | |||||
| * | fix building mpv argv when no mpv flags are configured | Florian Fischer | 2023-05-28 | 1 | -1/+3 |
| | | |||||
| * | fix building mpv argv | Florian Fischer | 2023-05-28 | 1 | -1/+1 |
| | | |||||
| * | refactor playing an uri and from stdin | Florian Fischer | 2023-05-28 | 1 | -10/+17 |
| | | |||||
| * | support custom mpv flags | Florian Fischer | 2023-05-28 | 1 | -1/+11 |
| | | |||||
| * | log the output of a failed mpv execution | Florian Fischer | 2023-05-28 | 1 | -2/+3 |
| | | |||||
| * | continue playback when adding a song to an empty queue | Florian Fischer | 2023-05-21 | 1 | -4/+2 |
| | | | | | | | | 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. | ||||
| * | allow YAML parsing of the spotify config | Florian Fischer | 2023-05-21 | 1 | -1/+1 |
| | | |||||
| * | implement YAML config and admin connections | Florian Fischer | 2023-05-21 | 1 | -1/+1 |
| | | |||||
| * | add OnSongFinished backend hook allowing to remove uploaded songs | Florian Fischer | 2023-05-21 | 1 | -3/+7 |
| | | |||||
| * | misc cleanups | Florian Fischer | 2023-05-21 | 1 | -3/+3 |
| | | | | | Reported-By: myOmikron <git@omikron.dev> | ||||
| * | paralyze searching | Florian Fischer | 2023-05-21 | 1 | -4/+19 |
| | | |||||
| * | implement the upload backend | Florian Fischer | 2023-05-21 | 1 | -1/+3 |
| | | |||||
| * | check errors when signaling the mpv child process | Florian Fischer | 2023-05-21 | 1 | -2/+8 |
| | | |||||
| * | llog: use variable argument list | Florian Fischer | 2022-12-28 | 1 | -6/+5 |
| | | | | | | | | Mirror more closely the fmt interface and reduce the verbosity of the log call sites. Additionally the log message is only created if we are actually going to log it. | ||||
| * | implement youtube search using youtube-dlv0.0.4-alpha | Florian Fischer | 2022-12-27 | 1 | -1/+1 |
| | | |||||
| * | implement local storage backendv0.0.2-alpha | Florian Fischer | 2022-12-23 | 1 | -15/+23 |
| | | | | | | | | | 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. | ||||
| * | use llog in player.go | Florian Fischer | 2022-08-01 | 1 | -11/+13 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2022-07-27 | 1 | -0/+1 |
| | | | | | | | * use more llog * inform clients about their votes when initiating the connection * show song weights | ||||
| * | add youtube backend | Florian Fischer | 2022-07-26 | 1 | -3/+5 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2022-07-26 | 1 | -5/+59 |
| | | | | | | | | * 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 commit | Florian Fischer | 2022-07-21 | 1 | -2/+2 |
| | | | | | | * display spotify search results in search overlay * synchronously play songs added from search | ||||
| * | intermediate commit | Florian Fischer | 2022-07-21 | 1 | -0/+2 |
| | | | | | | | | | | * 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 search | Florian Fischer | 2022-07-21 | 1 | -0/+8 |
| | | |||||
| * | initial WIP commit | Florian Fischer | 2022-07-21 | 1 | -0/+35 |
