add features
This commit is contained in:
@@ -16,6 +16,7 @@ const (
|
||||
Playlists
|
||||
Tracks
|
||||
Radios
|
||||
Podcasts
|
||||
)
|
||||
|
||||
func (p PageName) String() string {
|
||||
@@ -44,6 +45,8 @@ func (p PageName) String() string {
|
||||
return "All Tracks"
|
||||
case Radios:
|
||||
return "Internet Radio Stations"
|
||||
case Podcasts:
|
||||
return "Podcasts"
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
@@ -102,6 +105,8 @@ func RadiosRoute() Route {
|
||||
return Route{Page: Radios}
|
||||
}
|
||||
|
||||
func PodcastsRoute() Route { return Route{Page: Podcasts} }
|
||||
|
||||
func NowPlayingRoute() Route {
|
||||
return Route{Page: NowPlaying}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user