mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-06-17 16:44:40 +02:00
feat: fix metadata embedding
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user