feat: add ability to manually scrobble track (#91)

* feat: add button to manually scrobble from ui

* fix: ensure timestamp is in the past, log fix

* test: add integration test
This commit is contained in:
Gabe Farrell 2025-11-18 19:02:28 -05:00 committed by GitHub
parent 1be573e720
commit 300bac0e19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 185 additions and 1 deletions

View file

@ -81,6 +81,7 @@ func bindRoutes(
r.Post("/artists/primary", handlers.SetPrimaryArtistHandler(db))
r.Delete("/album", handlers.DeleteAlbumHandler(db))
r.Delete("/track", handlers.DeleteTrackHandler(db))
r.Post("/listen", handlers.SubmitListenWithIDHandler(db))
r.Delete("/listen", handlers.DeleteListenHandler(db))
r.Post("/aliases", handlers.CreateAliasHandler(db))
r.Post("/aliases/delete", handlers.DeleteAliasHandler(db))