aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-playlist.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video-playlist.ts b/server/models/video/video-playlist.ts
index 51fe04fc4..b38cf9c6a 100644
--- a/server/models/video/video-playlist.ts
+++ b/server/models/video/video-playlist.ts
@@ -490,6 +490,10 @@ export class VideoPlaylistModel extends Model<VideoPlaylistModel> {
490 return join(STATIC_PATHS.THUMBNAILS, this.Thumbnail.filename) 490 return join(STATIC_PATHS.THUMBNAILS, this.Thumbnail.filename)
491 } 491 }
492 492
493 getWatchUrl () {
494 return WEBSERVER.URL + '/videos/watch/playlist/' + this.uuid
495 }
496
493 setAsRefreshed () { 497 setAsRefreshed () {
494 this.changed('updatedAt', true) 498 this.changed('updatedAt', true)
495 499