work beginning on adding browse-by-genre

This commit is contained in:
Drew Weymouth
2023-01-07 13:02:48 -08:00
parent 3f6d815ca6
commit 9122c4e7b9
3 changed files with 125 additions and 8 deletions
+6
View File
@@ -12,6 +12,8 @@ const (
Albums
Artist
Artists
Genre
Genres
Playlist
Playlists
)
@@ -33,6 +35,10 @@ func AlbumRoute(albumID string) Route {
return Route{Page: Album, Arg: albumID}
}
func GenreRoute(genre string) Route {
return Route{Page: Genre, Arg: genre}
}
type NavigationHandler interface {
SetPage(Page)
}