mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
Add genre tables, read multiple-genres from tags
This commit is contained in:
1 parent
1f0314021e
commit
7cd3a8ba67
13 files changed
+205
-53
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package model
|
||||
|
||||
type Genre struct {
|
||||
ID string `json:"id" orm:"column(id)"`
|
||||
Name string
|
||||
SongCount int
|
||||
AlbumCount int
|
||||
@@ -10,4 +11,5 @@ type Genres []Genre
|
||||
|
||||
type GenreRepository interface {
|
||||
GetAll() (Genres, error)
|
||||
Put(m *Genre) error
|
||||
}
|
||||
Reference in new issue
Block a user