work beginning on adding browse-by-genre
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user