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

@@ -4,12 +4,13 @@ type App struct {
UserAgent string // User agent used for scraping requests
SelectedTidalApiUrl string
Verbose bool
SpotifyClient *SpotifyClient
}
func NewApp() App {
return App{
UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36",
Verbose: false,
Verbose: false,
}
}
@@ -19,5 +20,9 @@ func (app *App) Init() error {
return err
}
if err := app.InitSpotifyClient(); err != nil {
return err
}
return nil
}