optimised templates, broke tracks, improved music gateway UX. we ball

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-03-21 05:19:18 +00:00
parent 6ec813dd58
commit 18c13699af
17 changed files with 593 additions and 496 deletions

View file

@ -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
}