diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 14:58:28 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 14:58:28 +0200 |
commit | a96aed15188174c50885dda0df3164a67295e11f (patch) | |
tree | 7e3941324614e52a2f6ab7755224ab8ae8f8c19f /shared/models/videos | |
parent | bda65bdc9f3ce7d4b6e97cb9afaca25b71added3 (diff) | |
download | PeerTube-a96aed15188174c50885dda0df3164a67295e11f.tar.gz PeerTube-a96aed15188174c50885dda0df3164a67295e11f.tar.zst PeerTube-a96aed15188174c50885dda0df3164a67295e11f.zip |
Add ability to download a video from direct link or torrent file
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index bbcada845..8e47ac069 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -3,6 +3,8 @@ export interface VideoFile { | |||
3 | resolution: number | 3 | resolution: number |
4 | resolutionLabel: string | 4 | resolutionLabel: string |
5 | size: number // Bytes | 5 | size: number // Bytes |
6 | torrentUrl: string | ||
7 | fileUrl: string | ||
6 | } | 8 | } |
7 | 9 | ||
8 | export interface Video { | 10 | export interface Video { |