.priority api

This commit is contained in:
afkarxyz
2026-04-02 08:29:37 +07:00
parent b96fc8d96c
commit 7ce66b4732
4 changed files with 235 additions and 14 deletions
+4
View File
@@ -49,11 +49,15 @@ func (a *App) startup(ctx context.Context) {
if err := backend.InitISRCCacheDB(); err != nil {
fmt.Printf("Failed to init ISRC cache DB: %v\n", err)
}
if err := backend.InitProviderPriorityDB(); err != nil {
fmt.Printf("Failed to init provider priority DB: %v\n", err)
}
}
func (a *App) shutdown(ctx context.Context) {
backend.CloseHistoryDB()
backend.CloseISRCCacheDB()
backend.CloseProviderPriorityDB()
}
type SpotifyMetadataRequest struct {