aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/models/video/video.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index d33ae8a5a..a43abbc09 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -1195,7 +1195,10 @@ export class VideoModel extends Model<VideoModel> {
1195 const options = { 1195 const options = {
1196 where: { 1196 where: {
1197 remote: false, 1197 remote: false,
1198 isLive: true 1198 isLive: true,
1199 state: {
1200 [Op.ne]: VideoState.LIVE_ENDED
1201 }
1199 }, 1202 },
1200 include: [ 1203 include: [
1201 { 1204 {