diff options
Diffstat (limited to 'server/lib/videos.ts')
-rw-r--r-- | server/lib/videos.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/server/lib/videos.ts b/server/lib/videos.ts deleted file mode 100644 index 22e9afbf9..000000000 --- a/server/lib/videos.ts +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | import { isStreamingPlaylist, MStreamingPlaylistVideo, MVideo } from '@server/typings/models' | ||
2 | |||
3 | function extractVideo (videoOrPlaylist: MVideo | MStreamingPlaylistVideo) { | ||
4 | return isStreamingPlaylist(videoOrPlaylist) | ||
5 | ? videoOrPlaylist.Video | ||
6 | : videoOrPlaylist | ||
7 | } | ||
8 | |||
9 | export { | ||
10 | extractVideo | ||
11 | } | ||