Code refactoring, added clear button

This commit is contained in:
2025-03-13 11:22:17 +01:00
parent 5d4aa7e2a3
commit 6880f60d14
12 changed files with 93 additions and 12 deletions

View File

@@ -8,3 +8,5 @@ type Metadata struct {
PlaylistTitle string `json:"title"`
Type string `json:"_type"`
}
func (m *Metadata) IsPlaylist() bool { return m.Type == "playlist" }