This commit is contained in:
sentriz
2024-03-11 19:10:43 +01:00
parent 6b8d6b7184
commit 6ce1fe5a7e
4 changed files with 10 additions and 0 deletions

View File

@@ -557,6 +557,10 @@ func (ir *InternetRadioStation) SID() *specid.ID {
return &specid.ID{Type: specid.InternetRadioStation, Value: ir.ID}
}
func (ir *InternetRadioStation) AbsPath() string {
return ir.StreamURL
}
type ArtistInfo struct {
ID int `gorm:"primary_key" sql:"type:int REFERENCES artists(id) ON DELETE CASCADE"`
CreatedAt time.Time