feat: fix metadata embedding

This commit is contained in:
2026-02-19 18:49:55 +01:00
parent 129695f823
commit 6d27cc4502
8 changed files with 165 additions and 52 deletions

View File

@@ -121,3 +121,13 @@ func FileExists(file string) (bool, error) {
return false, err
}
func (app *App) InitSpotifyClient() error {
app.SpotifyClient = NewSpotifyClient()
if err := app.SpotifyClient.Initialize(); err != nil {
return errors.New("Unable to fetch Spotify metadata.")
}
return nil
}