aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video.js')
-rw-r--r--server/models/video.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 0f60b6cd4..b9999c8f6 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -47,22 +47,22 @@ VideoSchema.path('thumbnail').validate(function (value) {
47VideoSchema.path('tags').validate(customVideosValidators.isVideoTagsValid) 47VideoSchema.path('tags').validate(customVideosValidators.isVideoTagsValid)
48 48
49VideoSchema.methods = { 49VideoSchema.methods = {
50 isOwned: isOwned, 50 isOwned,
51 toFormatedJSON: toFormatedJSON, 51 toFormatedJSON,
52 toRemoteJSON: toRemoteJSON 52 toRemoteJSON
53} 53}
54 54
55VideoSchema.statics = { 55VideoSchema.statics = {
56 getDurationFromFile: getDurationFromFile, 56 getDurationFromFile,
57 listForApi: listForApi, 57 listForApi,
58 listByUrlAndMagnet: listByUrlAndMagnet, 58 listByUrlAndMagnet,
59 listByUrls: listByUrls, 59 listByUrls,
60 listOwned: listOwned, 60 listOwned,
61 listOwnedByAuthor: listOwnedByAuthor, 61 listOwnedByAuthor,
62 listRemotes: listRemotes, 62 listRemotes,
63 load: load, 63 load,
64 search: search, 64 search,
65 seedAllExisting: seedAllExisting 65 seedAllExisting
66} 66}
67 67
68VideoSchema.pre('remove', function (next) { 68VideoSchema.pre('remove', function (next) {