add TracksPage

This commit is contained in:
Drew Weymouth
2023-04-20 19:24:44 -07:00
parent b21b1ce6ba
commit 5e8c450d76
5 changed files with 102 additions and 1 deletions
+2
View File
@@ -46,6 +46,8 @@ func (r Router) CreatePage(rte controller.Route) Page {
return NewPlaylistPage(rte.Arg, &r.App.Config.PlaylistPage, r.Controller, r.App.ServerManager, r.App.PlaybackManager, r.App.ImageManager)
case controller.Playlists:
return NewPlaylistsPage(r.Controller, r.App.ServerManager)
case controller.Tracks:
return NewTracksPage(r.Controller, &r.App.Config.TracksPage, r.App.LibraryManager)
}
return nil
}