mirror of
https://github.com/riwiwa/muzi.git
synced 2026-02-28 11:56:57 -08:00
add scrobbling through listenbrainz-like endpoint and lastfm-like endpoint
This commit is contained in:
2
main.go
2
main.go
@@ -6,6 +6,7 @@ import (
|
||||
"os"
|
||||
|
||||
"muzi/db"
|
||||
"muzi/scrobble"
|
||||
"muzi/web"
|
||||
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
@@ -28,5 +29,6 @@ func main() {
|
||||
|
||||
check("ensuring all tables exist", db.CreateAllTables())
|
||||
check("cleaning expired sessions", db.CleanupExpiredSessions())
|
||||
scrobble.StartSpotifyPoller()
|
||||
web.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user