itsToggle / plex_debrid

Plex torrent streaming through Debrid Services
1.5k stars 128 forks source link

Plex Debrid was not able to find the best quality torrents for TV Show "Person of Interest" #606

Open AhmedNSidd opened 10 months ago

AhmedNSidd commented 10 months ago

Overview

I ran into this issue for the TV Show, Person of Interest. I simply used Plex Debrid as one would expect, and added the show to the watch list. However, instead of grabbing the best quality version, it instead grabbed a multi-season pack, even though the multi-season pack was of a lower bitrate than the individual seasons pack.

Expected Behaviour

I would have expected Plex Debrid would have gotten the individual Seasons Pack that were REMUXes instead of the multi-season packs which weren't.

Workaround

I just manually scraped the expected torrents, and that seemed to work fine.

Initial Investigation

Whether this is a bug, or not, I'm not quite sure of. Maybe the logic that's written in content/classes.py is not resilient enough to have solved this situation, and some enhancement is needed. Again, I'm not sure. I intend to do further investigation into this ticket to try to understand what could have caused this issue.

Appendix

The Torrents Plex Debrid Grabbed

The Torrents Plex Debrid was supposed to grab

Version Settings

Triggers:
A) retries     requirement :  <=  48
B) media type  requirement : shows

Rules:
1) cache status  requirement :   cached
2) resolution    requirement :       <=  2160
3) resolution    preference  :  highest
4) size          requirement :       >=  0.1
5) title         preference  :  include  (REMUX)
6) title         preference  :  include  (BluRay|BluRay|Bluray|bluray)
7) bitrate       preference  :  highest

Logs

[19/12/23 10:39:47] scraping sources [torrentio,jackett] for query "person.of.interest" ... done
[19/12/23 10:39:47] accepting titles that regex match "[^A-Za-z0-9]*((person.of.interest):?.)(series.|[^A-Za-z0-9]+)?((\(?2011\)?.)|(complete.)|(seasons?.[0-9]+.[0-9]?[0-9]?.?)|(S[0-9]+.S?[0-9]?[0-9]?.?)|(S[0-9]+E[0-9]+))(tt1839578)?" ... done
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04.1080p.BluRay.x264-ROVERS
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S02.1080p.BluRay.REMUX.AVC.DTS.HD.MA.5.1-NOGRP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01.1080p.BluRay.REMUX.AVC.DTS.HD.MA.5.1-NOGRP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01.1080p.BluRay.AV1-PTNX
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S02.1080p.BluRay.AV1-PTNX
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03.1080p.BluRay.x264-ROVERS
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03.1080p.BluRay.AV1-PTNX
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.Season.3.Complete.720p.BluRay.x264.[i_c]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.Season.1.Complete.720p.BluRay.x264.[i_c]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S04.Complete.720p.BrRip.x264-KangMus
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.Season.2.Complete.720p.BluRay.x264.[i_c]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S05.Complete.720p.BrRip.x264-KangMus
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S02.Complete.720p.BrRip.x264-KangMus
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.2011.Season.5.S05.1080p.BluRay.x265.HEVC.10bit.AAC.5.1.English.French.German.Spanish.RZeroX-QxR
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S01.Complete.720p.BrRip.x264-KangMus
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.(2011).Season.3.S03.+.Extras.(1080p.BluRay.x265.HEVC.10bit.AAC.5.1.RZeroX).[QxR]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.(2011).Season.4.S04.+.Extras.(1080p.BluRay.x265.HEVC.10bit.AAC.5.1.RZeroX).[QxR]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.(2011).Season.2.S02.+.Extras.(1080p.BluRay.x265.HEVC.10bit.AAC.5.1.RZeroX).[QxR]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.2011.Season.1.S01.Extras.1080p.BluRay.x265.HEVC.10bit.AAC.5.1.English.German.Italian.RZeroX-QxR
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.Seasons.1.to.5.Mp4.x264.AC3.1080p
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01.Season.1.Complete.720p.HDTV.X264-MRSK
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E13.HDTV.x264.LOL.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E13.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E13.720p.HDTV.X264.DIMENSION.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E12.HDTV.x264.LOL.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E12.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E11.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E11.720p.HDTV.X264.DIMENSION.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E06.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E11.HDTV.x264.LOL.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E05.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E07.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E10.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E16.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E01.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E10.HDTV.x264.LOL.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E09.HDTV.x264.LOL.eztv.mkv
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E03.HDTV.x264.LOL.rarbg
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E12.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E22.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E15.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S05E04.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E17.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E14.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E16.HDTV.x264-LOL[ettv]
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E10.PROPER.HDTV.x264-W4F
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E06.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E08.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E09.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E05.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E01.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E03.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.Season.3.Complete.ChameE
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S04E02.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E20.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E17.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E19.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E18.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E23.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E15.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E16.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E14.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E13.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S02.Season.2.Complete.720p.HDTV.x264.AAC.TheKing
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.Of.Interest.S01.Season.1.Complete.720p.BluRay.x264.AC3.TheKing.(PimpRG)
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S03E12.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01.FRENCH.BDRip.XviD-ANONYM
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E22.HDTV.x264-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E15.HDTV.XviD-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E14.HDTV.XviD-LOL
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E12.HDTV.XviD-ASAP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E04.HDTV.XviD-FQM
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E11.HDTV.XviD-ASAP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E02.HDTV.XviD-ASAP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E03.HDTV.XviD-ASAP
[19/12/23 10:39:56] [jackett] error: resolver couldnt get magnet/torrent for release: Person.of.Interest.S01E01.HDTV.XviD-ASAP
[19/12/23 10:39:56] checking cache status for scraped releases on: [Real Debrid] ... done
[19/12/23 10:40:04] [realdebrid] checking and sorting all release files ... done
[19/12/23 10:40:04] set release bitrate using total show duration: 75h:28m
[19/12/23 10:40:04] 1)  title: Person.of.Interest.Season.1-4.S01-S04.1080p.BluRay.x264-MIXED.[RiCK] | size: 335.67 | bitrate: 12.36 | cached: RD | seeders: 3  | files: +62/-0 | source: [torrentio: 1337x]
[19/12/23 10:40:04] 2)  title: Person.of.Interest.Season.1-4.S01-S04.1080p.BluRay.x264-MIXED.[RiCK] | size: 335.67 | bitrate: 12.36 | cached: RD | seeders: 3  | files: +62/-0 | source: [torrentio: 1337x]
[19/12/23 10:40:04] 3)  title: Person.of.Interest.S01-S05.Complete.Series.1080p.Bluray.x265-HiQ     | size: 117.53 | bitrate: 4.33  | cached: RD | seeders: 7  | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 4)  title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 34 | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 5)  title: Person.of.Interest.S01-S05.BluRay.1080p.x265.HEVC-Qman[UTR]          | size: 69.37  | bitrate: 2.55  | cached: RD | seeders: 9  | files: +75/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 6)  title: Person.of.Interest.S01-S05.BluRay.1080p.x265.HEVC-Qman[UTR]          | size: 69.37  | bitrate: 2.55  | cached: RD | seeders: 9  | files: +75/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 7)  title: .Person.of.Interest.S01-S05.1080p.10bit.BluRay.6CH.x265.             | size: 40.62  | bitrate: 1.5   | cached: RD | seeders: 9  | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 8)  title: Person.of.Interest.Season.1.2.3.4.5.-.threesixtyp                    | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 20 | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 9)  title: Person.of.Interest.Season.1.2.3.4.5.-.threesixtyp                    | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 1  | files: +74/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:04] 10) title: Person.of.Interest.S01.2.3.4.5.-threesixtyp                          | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 4  | files: +74/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:04] 11) title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 13 | files: +74/-0 | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:04] 12) title: Person.Of.Interest.Seasons.1.to.5.Mp4.1080p                          | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 28 | files: +74/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:04] 13) title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 3  | files: +74/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:04] 14) title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 1  | files: +74/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:04] sorting releases for version [Ultra-High Quality Shows] ... done - found 14 releases
[19/12/23 10:40:04] 1)  title: Person.of.Interest.Season.1-4.S01-S04.1080p.BluRay.x264-MIXED.[RiCK] | size: 335.67 | bitrate: 12.36 | cached: RD | seeders: 3  | files: +62/-0 | source: [torrentio: 1337x]
[19/12/23 10:40:04] 2)  title: Person.of.Interest.Season.1-4.S01-S04.1080p.BluRay.x264-MIXED.[RiCK] | size: 335.67 | bitrate: 12.36 | cached: RD | seeders: 3  | files: +62/-0 | source: [torrentio: 1337x]
[19/12/23 10:40:04] 3)  title: Person.of.Interest.S01-S05.Complete.Series.1080p.Bluray.x265-HiQ     | size: 117.53 | bitrate: 4.33  | cached: RD | seeders: 7  | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 4)  title: Person.of.Interest.S01-S05.BluRay.1080p.x265.HEVC-Qman[UTR]          | size: 69.37  | bitrate: 2.55  | cached: RD | seeders: 9  | files: +75/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 5)  title: Person.of.Interest.S01-S05.BluRay.1080p.x265.HEVC-Qman[UTR]          | size: 69.37  | bitrate: 2.55  | cached: RD | seeders: 9  | files: +75/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 6)  title: .Person.of.Interest.S01-S05.1080p.10bit.BluRay.6CH.x265.             | size: 40.62  | bitrate: 1.5   | cached: RD | seeders: 9  | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 7)  title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 34 | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 8)  title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 13 | files: +74/-0 | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:04] 9)  title: Person.Of.Interest.Seasons.1.to.5.Mp4.1080p                          | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 28 | files: +74/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:04] 10) title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 3  | files: +74/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:04] 11) title: Person.Of.Interest.-.Seasons.1.to.5.-.Mp4.x264.AC3.1080p             | size: 140.75 | bitrate: 5.18  | cached: RD | seeders: 1  | files: +74/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:04] 12) title: Person.of.Interest.Season.1.2.3.4.5.-.threesixtyp                    | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 20 | files: +74/-0 | source: [torrentio: ThePirateBay]
[19/12/23 10:40:04] 13) title: Person.of.Interest.Season.1.2.3.4.5.-.threesixtyp                    | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 1  | files: +74/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:04] 14) title: Person.of.Interest.S01.2.3.4.5.-threesixtyp                          | size: 13.96  | bitrate: 0.51  | cached: RD | seeders: 4  | files: +74/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:24] [realdebrid] adding cached release: Person.of.Interest.Season.1-4.S01-S04.1080p.BluRay.x264-MIXED.[RiCK]
[19/12/23 10:40:40] set release bitrate using total season duration: 09h:32m
[19/12/23 10:40:40] 1)  title: Person.of.Interest.S05.1080p.BluRay.x265-                                            | size: 9.5   | bitrate: 2.77  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:40] 2)  title: Person.of.Interest.S05.1080p.BluRay.AV1-PTNX                                         | size: 6.41  | bitrate: 1.87  | cached: RD | seeders: 12 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 3)  title: Person.of.Interest.S05.BDRip.x264-DEMAND[rartv]                                      | size: 4.45  | bitrate: 1.3   | cached:    | seeders: 32 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:40] 4)  title: Person.of.Interest.S05.1080p.BluRay.x265-RARBG                                       | size: 9.5   | bitrate: 2.77  | cached: RD | seeders: 16 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 5)  title: Person.of.Interest.S05.1080p.BluRay.x264-ROVERS[rartv]                               | size: 46.24 | bitrate: 13.47 | cached: RD | seeders: 17 | files: +26/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 6)  title: Person.of.Interest.S05.SweSub-EngSub.1080p.x264-Justiso                              | size: 12.35 | bitrate: 3.6   | cached:    | seeders: 20 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:40] 7)  title: Person.of.Interest.S05.PL.480p.WEB.DL.AC3.2.0.XviD.Ralf                              | size: 8.67  | bitrate: 2.52  | cached:    | seeders: 9  | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:40] 8)  title: Person.of.Interest.(2011).Season.5.S05.(1080p.BluRay.x265.HEVC.1                     | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:40] 9)  title: Person.of.Interest.(2011).S05.S05.(1080p.BluRay.x265.HEVC.1                          | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 4  | files: +13/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:40] 10) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 43 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 11) title: Person.of.Interest.S05.720p.WEB-DL.x264.[i_c]                                        | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 10 | files: +13/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:40] 12) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:40] 13) title: Person.Of.Interest.S05.Complete.720p.BrRip.x264-KangMus                              | size: 4.1   | bitrate: 1.19  | cached: RD | seeders: 16 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 14) title: Person.of.Interest.(2011).Season.5.S05.(1080p.BluRay.x265.HEVC.10bit.AAC.5.1.RZeroX) | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 15 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:40] 15) title: Person.of.Interest.Season.5.720p.BluRay.x264.ShAaNiG                                 | size: 5.4   | bitrate: 1.57  | cached:    | seeders: 10 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:40] 16) title: Person.of.Interest.Season.5.720p.HDTV.x265.ShAaNiG                                   | size: 3.02  | bitrate: 0.88  | cached:    | seeders: 15 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:40] 17) title: Person.of.Interest.S05.1080p.BluRay.x264-ROVERS[cttv]                                | size: 45.73 | bitrate: 13.32 | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:40] 18) title: Person.of.Interest.-.Season.5.-.720p.HDTV.-.x265.HEVC.-.ShAaNiG                      | size: 2.8   | bitrate: 0.82  | cached:    | seeders: 33 | files: +0/-0  | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:40] 19) title: Person.of.Interest.-.Season.5.-.720p.BluRay.-.x264.-.ShAaNiG                         | size: 5.03  | bitrate: 1.46  | cached:    | seeders: 25 | files: +0/-0  | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:40] 20) title: Person.of.Interest.S05.1080p.BluRay.AV1-PTNX                                         | size: 6.41  | bitrate: 1.87  | cached: RD | seeders: 3  | files: +13/-0 | source: [jackett: Isohunt2]
[19/12/23 10:40:40] 21) title: Person.of.Interest.S05.2015.BR.AC3.VFF.ENG.1080p.x265.10Bits.T0M.                    | size: 12.99 | bitrate: 3.79  | cached:    | seeders: 3  | files: +0/-0  | source: [jackett: Isohunt2]
[19/12/23 10:40:40] 22) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 2  | files: +13/-0 | source: [jackett: Isohunt2]
[19/12/23 10:40:41] sorting releases for version [Ultra-High Quality Shows] ... done - found 22 releases
[19/12/23 10:40:41] 1)  title: Person.of.Interest.S05.1080p.BluRay.x264-ROVERS[rartv]                               | size: 46.24 | bitrate: 13.47 | cached: RD | seeders: 17 | files: +26/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 2)  title: Person.of.Interest.S05.1080p.BluRay.x264-ROVERS[cttv]                                | size: 45.73 | bitrate: 13.32 | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:41] 3)  title: Person.of.Interest.(2011).Season.5.S05.(1080p.BluRay.x265.HEVC.1                     | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:41] 4)  title: Person.of.Interest.(2011).S05.S05.(1080p.BluRay.x265.HEVC.1                          | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 4  | files: +13/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:41] 5)  title: Person.of.Interest.(2011).Season.5.S05.(1080p.BluRay.x265.HEVC.10bit.AAC.5.1.RZeroX) | size: 24.53 | bitrate: 7.15  | cached: RD | seeders: 15 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 6)  title: Person.of.Interest.S05.1080p.BluRay.x265-                                            | size: 9.5   | bitrate: 2.77  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:41] 7)  title: Person.of.Interest.S05.1080p.BluRay.x265-RARBG                                       | size: 9.5   | bitrate: 2.77  | cached: RD | seeders: 16 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 8)  title: Person.of.Interest.S05.1080p.BluRay.AV1-PTNX                                         | size: 6.41  | bitrate: 1.87  | cached: RD | seeders: 12 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 9)  title: Person.of.Interest.S05.1080p.BluRay.AV1-PTNX                                         | size: 6.41  | bitrate: 1.87  | cached: RD | seeders: 3  | files: +13/-0 | source: [jackett: Isohunt2]
[19/12/23 10:40:41] 10) title: Person.of.Interest.S05.2015.BR.AC3.VFF.ENG.1080p.x265.10Bits.T0M.                    | size: 12.99 | bitrate: 3.79  | cached:    | seeders: 3  | files: +0/-0  | source: [jackett: Isohunt2]
[19/12/23 10:40:41] 11) title: Person.of.Interest.S05.SweSub-EngSub.1080p.x264-Justiso                              | size: 12.35 | bitrate: 3.6   | cached:    | seeders: 20 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:41] 12) title: Person.of.Interest.Season.5.720p.BluRay.x264.ShAaNiG                                 | size: 5.4   | bitrate: 1.57  | cached:    | seeders: 10 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:41] 13) title: Person.of.Interest.-.Season.5.-.720p.BluRay.-.x264.-.ShAaNiG                         | size: 5.03  | bitrate: 1.46  | cached:    | seeders: 25 | files: +0/-0  | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:41] 14) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 43 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 15) title: Person.of.Interest.S05.720p.WEB-DL.x264.[i_c]                                        | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 10 | files: +13/-0 | source: [jackett: The Pirate Bay]
[19/12/23 10:40:41] 16) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 1  | files: +13/-0 | source: [jackett: Torrentz2eu]
[19/12/23 10:40:41] 17) title: Person.of.Interest.Season.5.Complete.720p.WEB-DL.x264.[i_c]                          | size: 6.84  | bitrate: 1.99  | cached: RD | seeders: 2  | files: +13/-0 | source: [jackett: Isohunt2]
[19/12/23 10:40:41] 18) title: Person.Of.Interest.S05.Complete.720p.BrRip.x264-KangMus                              | size: 4.1   | bitrate: 1.19  | cached: RD | seeders: 16 | files: +13/-0 | source: [jackett: BitSearch]
[19/12/23 10:40:41] 19) title: Person.of.Interest.Season.5.720p.HDTV.x265.ShAaNiG                                   | size: 3.02  | bitrate: 0.88  | cached:    | seeders: 15 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:41] 20) title: Person.of.Interest.-.Season.5.-.720p.HDTV.-.x265.HEVC.-.ShAaNiG                      | size: 2.8   | bitrate: 0.82  | cached:    | seeders: 33 | files: +0/-0  | source: [jackett: kickasstorrents.ws]
[19/12/23 10:40:41] 21) title: Person.of.Interest.S05.PL.480p.WEB.DL.AC3.2.0.XviD.Ralf                              | size: 8.67  | bitrate: 2.52  | cached:    | seeders: 9  | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:41] 22) title: Person.of.Interest.S05.BDRip.x264-DEMAND[rartv]                                      | size: 4.45  | bitrate: 1.3   | cached:    | seeders: 32 | files: +0/-0  | source: [jackett: BitSearch]
[19/12/23 10:40:42] [realdebrid] error: selecting this cached file combination returned a .rar archive - trying a different file combination.
[19/12/23 10:40:47] [realdebrid] adding cached release: Person.of.Interest.S05.1080p.BluRay.x264-ROVERS[rartv]
AhmedNSidd commented 10 months ago

Update

I think I've found out what the issue is. As said in the OP, the question lies in the resiliency of the content/classes.py. Specially in lines 1307 - 1317:

# if all seasons of the show could also be downloaded as single-season packs, compare the quality of the best ranking multi season pack with the lowest quality of the single season packs.
if not download_multi_season_release:
    season_quality = min(season_releases)
    quality = regex.search(
        '(2160|1080|720|480)(?=p|i)', multi_season_releases[0].title, regex.I)
    if quality:
        quality = int(quality.group())
    else:
        quality = 0
    if quality >= season_quality:
        download_multi_season_release = True

The heuristic above is used to determine whether a multi-season pack should be used instead of single season packs. However, this heuristic as proven by the existence of this issue proves that it's not exactly correct / desirable.

One fool-proof way of ensuring that we pick the highest quality is to calculate the average bitrates of the multi-season release vs the average bitrates of the single season releases and compare those two metrics.

Thing is, I'm not sure if we have enough information to calculate those metrics, but I'll figure that out the more I play with this scenario.