diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 10:21:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 57f879a540551c3b958b0991c8e1e3657a4481d8 (patch) | |
tree | cd9283dec9ef0b7fee116c93c36650de188ad892 /shared/extra-utils/server | |
parent | 6910f20f114b5bd020258a3a9a3f2117819a60c2 (diff) | |
download | PeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.tar.gz PeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.tar.zst PeerTube-57f879a540551c3b958b0991c8e1e3657a4481d8.zip |
Introduce streaming playlists command
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 5 |
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' |
31 | import { ConfigCommand } from './config-command' | 32 | import { ConfigCommand } from './config-command' |
32 | import { ContactFormCommand } from './contact-form-command' | 33 | import { 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 | ||
122 | function parallelTests () { | 124 | function 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 | }) |