diff --git a/addon/lib/streamInfo.js b/addon/lib/streamInfo.js index 59436ac..fff5d11 100644 --- a/addon/lib/streamInfo.js +++ b/addon/lib/streamInfo.js @@ -16,7 +16,8 @@ export function toStreamInfo(record) { || Math.abs(record.size / record.torrent.size - 1) < SIZE_DELTA || record.title.includes(record.torrent.title); const quality = getQuality(record, torrentInfo, fileInfo); - const hdrProfiles = torrentInfo.hdr || fileInfo.hdr || [] + const three3Quality = fileInfo.threeD || torrentInfo.threeD; + const hdrProfiles = torrentInfo.hdr || fileInfo.hdr || []; const title = joinDetailParts( [ joinDetailParts([record.torrent.title.replace(/[, ]+/g, ' ')]), @@ -34,7 +35,7 @@ export function toStreamInfo(record) { const name = joinDetailParts( [ joinDetailParts([ADDON_NAME]), - joinDetailParts([quality, joinDetailParts(hdrProfiles, '', ' | ')]) + joinDetailParts([quality, three3Quality, joinDetailParts(hdrProfiles, '', ' | ')]) ], '', '\n' diff --git a/addon/package-lock.json b/addon/package-lock.json index 6e0b34e..6f27c89 100644 --- a/addon/package-lock.json +++ b/addon/package-lock.json @@ -23,7 +23,7 @@ "named-queue": "^2.2.1", "offcloud-api": "^1.0.2", "p-limit": "^5.0.0", - "parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#022408972c2a040f846331a912a6a8487746a654", + "parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#c0017e29973d9e8608b813d1a0b86244cd098752", "pg": "^8.10.0", "premiumize-api": "^1.0.3", "prom-client": "^12.0.0", @@ -1450,9 +1450,8 @@ }, "node_modules/parse-torrent-title": { "version": "1.3.0", - "resolved": "git+ssh://git@github.com/TheBeastLT/parse-torrent-title.git#022408972c2a040f846331a912a6a8487746a654", - "integrity": "sha512-Ja7OfUtTb5UKvcjHLh/va3LGZdE/CiJP6it8lxPWf/N9+4aq1hQGwXw1dnJss5dIINQo4ufyDnT2mOIP+ii/pA==", - "license": "MIT", + "resolved": "git+ssh://git@github.com/TheBeastLT/parse-torrent-title.git#c0017e29973d9e8608b813d1a0b86244cd098752", + "integrity": "sha512-YZwYWz7zepeO1kbGoYJh+U/fsKJDZzoBHXXDfUEDN2i0Dhb2035/y3GAKq+jVuYgXwFYEWUAxdWwezFnaDTazQ==", "dependencies": { "moment": "^2.24.0" }, diff --git a/addon/package.json b/addon/package.json index 328d3ce..3f93479 100644 --- a/addon/package.json +++ b/addon/package.json @@ -23,7 +23,7 @@ "named-queue": "^2.2.1", "offcloud-api": "^1.0.2", "p-limit": "^5.0.0", - "parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#022408972c2a040f846331a912a6a8487746a654", + "parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#c0017e29973d9e8608b813d1a0b86244cd098752", "pg": "^8.10.0", "premiumize-api": "^1.0.3", "prom-client": "^12.0.0",