diff options
Diffstat (limited to 'shared/models/videos/video-file.model.ts')
-rw-r--r-- | shared/models/videos/video-file.model.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/models/videos/video-file.model.ts b/shared/models/videos/video-file.model.ts index e9839229d..f3d93f0ed 100644 --- a/shared/models/videos/video-file.model.ts +++ b/shared/models/videos/video-file.model.ts | |||
@@ -3,14 +3,20 @@ import { VideoFileMetadata } from './video-file-metadata' | |||
3 | import { VideoResolution } from './video-resolution.enum' | 3 | import { VideoResolution } from './video-resolution.enum' |
4 | 4 | ||
5 | export interface VideoFile { | 5 | export interface VideoFile { |
6 | magnetUri: string | ||
7 | resolution: VideoConstant<VideoResolution> | 6 | resolution: VideoConstant<VideoResolution> |
8 | size: number // Bytes | 7 | size: number // Bytes |
8 | |||
9 | torrentUrl: string | 9 | torrentUrl: string |
10 | torrentDownloadUrl: string | 10 | torrentDownloadUrl: string |
11 | |||
11 | fileUrl: string | 12 | fileUrl: string |
12 | fileDownloadUrl: string | 13 | fileDownloadUrl: string |
14 | |||
13 | fps: number | 15 | fps: number |
16 | |||
14 | metadata?: VideoFileMetadata | 17 | metadata?: VideoFileMetadata |
15 | metadataUrl?: string | 18 | metadataUrl?: string |
19 | |||
20 | // FIXME: deprecated in 3.2 | ||
21 | magnetUri: string | ||
16 | } | 22 | } |