1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Remove web video redundancy support

It's not used anymore in the player since several major versions now, so
there's no point in continuing to store these video files
This commit is contained in:
Chocobozzz 2025-01-31 10:13:56 +01:00
parent 23cd92430f
commit 05f105d03f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
32 changed files with 669 additions and 1036 deletions

View file

@ -303,11 +303,8 @@ class FSPruner {
return !!redundancy
}
const file = await VideoFileModel.loadByFilename(basename(filePath))
if (!file) return false
const redundancy = await VideoRedundancyModel.loadLocalByFileId(file.id)
return !!redundancy
// WebTorrent support redundancy has been removed from PeerTube
return false
}
}