[lbrainz] Add ListenBrainz integration

- Support submitting listens (scrobble) to ListenBrainz.
- Add JSON API endpoints to manage ListenBrainz auth token.
This commit is contained in:
Christian Meffert
2025-01-26 05:57:01 +00:00
parent 9283d0c3c2
commit 7760554cb7
12 changed files with 461 additions and 29 deletions

View File

@@ -72,6 +72,7 @@
#ifdef LASTFM
# include "lastfm.h"
#endif
#include "listenbrainz.h"
#define PIDFILE STATEDIR "/run/" PACKAGE ".pid"
#define WEB_ROOT DATADIR "/htdocs"
@@ -833,6 +834,7 @@ main(int argc, char **argv)
#ifdef LASTFM
lastfm_init();
#endif
listenbrainz_init();
/* Start Remote pairing service */
ret = remote_pairing_init();