Added Genre and Track Number to getMusicDirectory
This commit is contained in:
@@ -8,6 +8,7 @@ type Album struct {
|
||||
Year int
|
||||
Compilation bool
|
||||
Rating int
|
||||
Genre string
|
||||
}
|
||||
|
||||
type AlbumRepository interface {
|
||||
|
||||
@@ -12,6 +12,8 @@ type MediaFile struct {
|
||||
Artist string
|
||||
AlbumArtist string
|
||||
AlbumId string `parent:"album"`
|
||||
Track int
|
||||
Genre string
|
||||
Compilation bool
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user