diff options
Diffstat (limited to 'client/src/app/videos/shared/video.model.ts')
-rw-r--r-- | client/src/app/videos/shared/video.model.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index f5e16fc13..9ed6a0641 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts | |||
@@ -14,7 +14,8 @@ export class Video implements VideoServerModel { | |||
14 | description: string | 14 | description: string |
15 | duration: number | 15 | duration: number |
16 | durationLabel: string | 16 | durationLabel: string |
17 | id: string | 17 | id: number |
18 | uuid: string | ||
18 | isLocal: boolean | 19 | isLocal: boolean |
19 | magnetUri: string | 20 | magnetUri: string |
20 | name: string | 21 | name: string |
@@ -51,7 +52,8 @@ export class Video implements VideoServerModel { | |||
51 | language: number | 52 | language: number |
52 | description: string, | 53 | description: string, |
53 | duration: number | 54 | duration: number |
54 | id: string, | 55 | id: number, |
56 | uuid: string, | ||
55 | isLocal: boolean, | 57 | isLocal: boolean, |
56 | magnetUri: string, | 58 | magnetUri: string, |
57 | name: string, | 59 | name: string, |
@@ -75,6 +77,7 @@ export class Video implements VideoServerModel { | |||
75 | this.duration = hash.duration | 77 | this.duration = hash.duration |
76 | this.durationLabel = Video.createDurationString(hash.duration) | 78 | this.durationLabel = Video.createDurationString(hash.duration) |
77 | this.id = hash.id | 79 | this.id = hash.id |
80 | this.uuid = hash.uuid | ||
78 | this.isLocal = hash.isLocal | 81 | this.isLocal = hash.isLocal |
79 | this.magnetUri = hash.magnetUri | 82 | this.magnetUri = hash.magnetUri |
80 | this.name = hash.name | 83 | this.name = hash.name |