optimised templates, broke tracks, improved music gateway UX. we ball
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
6ec813dd58
commit
18c13699af
17 changed files with 593 additions and 496 deletions
|
@ -619,7 +619,7 @@ var placeholders = []MusicRelease{
|
|||
},
|
||||
}
|
||||
|
||||
func GetAlbum(id string) (MusicRelease, bool) {
|
||||
func GetRelease(id string) (MusicRelease, bool) {
|
||||
for _, album := range placeholders {
|
||||
if album.Id == id {
|
||||
return album, true
|
||||
|
@ -628,7 +628,7 @@ func GetAlbum(id string) (MusicRelease, bool) {
|
|||
return MusicRelease{}, false
|
||||
}
|
||||
|
||||
func QueryAllAlbums() ([]MusicRelease) {
|
||||
func QueryAllMusic() ([]MusicRelease) {
|
||||
return placeholders
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue