aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server/servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-09 10:21:10 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit57f879a540551c3b958b0991c8e1e3657a4481d8 (patch)
treecd9283dec9ef0b7fee116c93c36650de188ad892 /shared/extra-utils/server/servers.ts
parent6910f20f114b5bd020258a3a9a3f2117819a60c2 (diff)
downloadPeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.tar.gz
PeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.tar.zst
PeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.zip
Introduce streaming playlists command
Diffstat (limited to 'shared/extra-utils/server/servers.ts')
-rw-r--r--shared/extra-utils/server/servers.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts
index 95c876110..6a1dadbcc 100644
--- a/shared/extra-utils/server/servers.ts
+++ b/shared/extra-utils/server/servers.ts
@@ -26,7 +26,8 @@ import {
26 ImportsCommand, 26 ImportsCommand,
27 LiveCommand, 27 LiveCommand,
28 PlaylistsCommand, 28 PlaylistsCommand,
29 ServicesCommand 29 ServicesCommand,
30 StreamingPlaylistsCommand
30} from '../videos' 31} from '../videos'
31import { ConfigCommand } from './config-command' 32import { ConfigCommand } from './config-command'
32import { ContactFormCommand } from './contact-form-command' 33import { ContactFormCommand } from './contact-form-command'
@@ -117,6 +118,7 @@ interface ServerInfo {
117 playlistsCommand?: PlaylistsCommand 118 playlistsCommand?: PlaylistsCommand
118 historyCommand?: HistoryCommand 119 historyCommand?: HistoryCommand
119 importsCommand?: ImportsCommand 120 importsCommand?: ImportsCommand
121 streamingPlaylistsCommand?: StreamingPlaylistsCommand
120} 122}
121 123
122function parallelTests () { 124function parallelTests () {
@@ -350,6 +352,7 @@ async function runServer (server: ServerInfo, configOverrideArg?: any, args = []
350 server.playlistsCommand = new PlaylistsCommand(server) 352 server.playlistsCommand = new PlaylistsCommand(server)
351 server.historyCommand = new HistoryCommand(server) 353 server.historyCommand = new HistoryCommand(server)
352 server.importsCommand = new ImportsCommand(server) 354 server.importsCommand = new ImportsCommand(server)
355 server.streamingPlaylistsCommand = new StreamingPlaylistsCommand(server)
353 356
354 res(server) 357 res(server)
355 }) 358 })