From 9b293cd6a2ce9ed1e1ccd41adbf7f2dbe2da8231 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Dec 2021 11:07:19 +0100 Subject: Update torrent metadata on video update --- shared/extra-utils/videos/videos.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'shared') diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index 4d2784dde..c05c2be6c 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts @@ -217,6 +217,7 @@ async function completeVideoCheck ( expect(torrent.files).to.be.an('array') expect(torrent.files.length).to.equal(1) expect(torrent.files[0].path).to.exist.and.to.not.equal('') + expect(torrent.files[0].name).to.equal(`${videoDetails.name} ${file.resolution.id}p${extension}`) } expect(videoDetails.thumbnailPath).to.exist -- cgit v1.2.3