mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 04:51:06 +02:00
Add internet radio (#1384)
This commit is contained in:
@@ -71,6 +71,8 @@ const GenreDetailRoute = lazy(
|
||||
|
||||
const FolderListRoute = lazy(() => import('/@/renderer/features/folders/routes/folder-list-route'));
|
||||
|
||||
const RadioListRoute = lazy(() => import('/@/renderer/features/radio/routes/radio-list-route'));
|
||||
|
||||
const SearchRoute = lazy(() => import('/@/renderer/features/search/routes/search-route'));
|
||||
|
||||
const FavoritesRoute = lazy(() => import('/@/renderer/features/favorites/routes/favorites-route'));
|
||||
@@ -154,6 +156,7 @@ export const AppRouter = () => {
|
||||
element={<PlaylistListRoute />}
|
||||
path={AppRoute.PLAYLISTS}
|
||||
/>
|
||||
<Route element={<RadioListRoute />} path={AppRoute.RADIO} />
|
||||
<Route
|
||||
element={<PlaylistDetailSongListRoute />}
|
||||
path={AppRoute.PLAYLISTS_DETAIL_SONGS}
|
||||
|
||||
@@ -25,6 +25,7 @@ export enum AppRoute {
|
||||
PLAYING = '/playing',
|
||||
PLAYLISTS = '/playlists',
|
||||
PLAYLISTS_DETAIL_SONGS = '/playlists/:playlistId/songs',
|
||||
RADIO = '/radio',
|
||||
SEARCH = '/search/:itemType',
|
||||
SERVERS = '/servers',
|
||||
SETTINGS = '/settings',
|
||||
|
||||
Reference in New Issue
Block a user