mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-15 14:48:41 +01:00
Merge branch 'master' into lyrics-source-provenance
This commit is contained in:
commit
1bb4cac843
276 changed files with 6978 additions and 2329 deletions
|
|
@ -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) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue