mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(routes): add M3uWorkspaceRouteSession providers for playlist routes
This commit is contained in:
1 parent
6c9a40d831
commit
83b6604c41
1 file changed
+4
@@ -1,4 +1,5 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { provideM3uWorkspaceRouteSession } from '@iptvnator/playlist/m3u/feature-player';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
@@ -42,6 +43,7 @@ export const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'playlists/:id/favorites',
|
||||
providers: provideM3uWorkspaceRouteSession(),
|
||||
loadComponent: () =>
|
||||
import('@iptvnator/playlist/m3u/feature-player').then(
|
||||
(c) => c.M3uCollectionRouteComponent
|
||||
@@ -53,6 +55,7 @@ export const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'playlists/:id/recent',
|
||||
providers: provideM3uWorkspaceRouteSession(),
|
||||
loadComponent: () =>
|
||||
import('@iptvnator/playlist/m3u/feature-player').then(
|
||||
(c) => c.M3uCollectionRouteComponent
|
||||
@@ -64,6 +67,7 @@ export const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'playlists/:id/:view',
|
||||
providers: provideM3uWorkspaceRouteSession(),
|
||||
loadComponent: () =>
|
||||
import('@iptvnator/playlist/m3u/feature-player').then(
|
||||
(c) => c.VideoPlayerComponent
|
||||
|
||||
Reference in new issue
Block a user