Merge branch 'master' into lyrics-source-provenance

This commit is contained in:
Yuuta 2026-09-10 03:25:36 +03:00 • committed by GitHub
commit 1bb4cac843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
276 changed files with 6978 additions and 2329 deletions

View file

@ -224,3 +224,15 @@ type SimilarSongsResponse struct {
// Songs is the list of similar songs.
Songs []types.SongRef `json:"songs"`
}
// MetadataAgentError represents an error type for metadata agent operations.
type MetadataAgentError string
const (
// MetadataAgentErrorRetryLater indicates the provider is throttling; retry later.
// Append ":<seconds>" inside the parentheses to request a specific delay.
MetadataAgentErrorRetryLater MetadataAgentError = "agent(retry_later)"
)
// Error implements the error interface for MetadataAgentError.
func (e MetadataAgentError) Error() string { return string(e) }