changed genre scanning to parse multiple genres, updated db to accommodate.
This commit is contained in:
@@ -45,6 +45,11 @@ type FileType struct {
|
||||
Extension string
|
||||
}
|
||||
|
||||
type Genre struct {
|
||||
ID int64
|
||||
Name string
|
||||
}
|
||||
|
||||
type PlayerState struct {
|
||||
ID int64
|
||||
Volume int64
|
||||
@@ -95,6 +100,12 @@ type Recording struct {
|
||||
Comment sql.NullString
|
||||
}
|
||||
|
||||
type RecordingGenre struct {
|
||||
ID int64
|
||||
RecordingID int64
|
||||
GenreID int64
|
||||
}
|
||||
|
||||
type ReleaseGroup struct {
|
||||
ID int64
|
||||
Name string
|
||||
|
||||
Reference in New Issue
Block a user