mirror of
https://git.um-react.app/um/cli.git
synced 2025-11-28 03:33:02 +00:00
feat(qmc): allow retrieve metadata online
This commit is contained in:
@@ -45,6 +45,10 @@ func (r *Result) GetArtists() []string {
|
||||
return artists
|
||||
}
|
||||
|
||||
func (r *Result) HasMetadata() bool {
|
||||
return r.GetTitle() != "" || r.GetAlbum() != "" || len(r.GetArtists()) > 0
|
||||
}
|
||||
|
||||
type Format struct {
|
||||
Filename string `json:"filename"`
|
||||
NbStreams int `json:"nb_streams"`
|
||||
|
||||
Reference in New Issue
Block a user