add manual scrobbling

This commit is contained in:
2026-03-03 00:20:46 -08:00
parent a9d048a633
commit 0dbbaf38ad
5 changed files with 342 additions and 0 deletions

View File

@@ -129,6 +129,8 @@ func Start() {
r.Post("/import/spotify", importSpotifyHandler)
r.Get("/import/lastfm/progress", importLastFMProgressHandler)
r.Get("/import/spotify/progress", importSpotifyProgressHandler)
r.Get("/scrobble", scrobblePageHandler())
r.Post("/scrobble", scrobbleSubmitHandler())
r.Handle("/2.0", scrobble.NewLastFMHandler())
r.Handle("/2.0/", scrobble.NewLastFMHandler())