Code refactoring, added clear button
This commit is contained in:
@@ -8,3 +8,5 @@ type Metadata struct {
|
||||
PlaylistTitle string `json:"title"`
|
||||
Type string `json:"_type"`
|
||||
}
|
||||
|
||||
func (m *Metadata) IsPlaylist() bool { return m.Type == "playlist" }
|
||||
|
||||
Reference in New Issue
Block a user