[addon] add quality exclude filter config option

This commit is contained in:
TheBeastLT
2021-03-07 18:56:41 +01:00
parent 2db68129de
commit 1c9ef4097b
8 changed files with 151 additions and 40 deletions

View File

@@ -60,7 +60,7 @@ function toStreamInfo(record) {
function getQuality(record, torrentInfo, fileInfo) {
const resolution = fileInfo.resolution || torrentInfo.resolution || record.torrent.resolution;
const source = fileInfo.source || torrentInfo.source;
if (['CAM', 'TeleSync'].includes(source)) {
if (['CAM', 'TeleSync', 'TeleCine'].includes(source)) {
return source;
}
return resolution || source;