Closed tillkruss closed 1 week ago
Currently the statistics.percentOfEpisodes number appears invalid.
statistics.percentOfEpisodes
2 out of 4 seasons are 100%, but the series' percentOfEpisodes shows 85% for some reason.
percentOfEpisodes
[ { "title": "Couples Therapy (2019)", "alternateTitles": [ { "title": "Couples Therapy", "seasonNumber": -1 } ], "sortTitle": "couples therapy 2019", "status": "continuing", "ended": false, "overview": "Couples Therapy unlocks a hidden world: other people's relationships. Far from reality-show caricatures, this is true documentary filmmaking that brings viewers into the authentic and visceral experience of weekly therapy with four couples. World-class therapist Dr. Orna Guralnik deftly guides the couples through the minefield of honest confrontation with each other and with themselves, revealing the real-life struggles - and extraordinary breakthroughs - typically hidden behind closed doors.", "previousAiring": "2023-05-20T00:00:00Z", "network": "Showtime", "airTime": "20:00", "images": [ { "coverType": "banner", "url": "/MediaCover/327/banner.jpg?lastWrite=638602185113834913", "remoteUrl": "https://artworks.thetvdb.com/banners/graphical/5d4bafe47565f.jpg" }, { "coverType": "poster", "url": "/MediaCover/327/poster.jpg?lastWrite=638602185114224918", "remoteUrl": "https://artworks.thetvdb.com/banners/v4/series/367813/posters/60846c6493782.jpg" }, { "coverType": "fanart", "url": "/MediaCover/327/fanart.jpg?lastWrite=638602185114634923", "remoteUrl": "https://artworks.thetvdb.com/banners/fanart/original/5d4badf3c6594.jpg" }, { "coverType": "clearlogo", "url": "/MediaCover/327/clearlogo.png?lastWrite=638602185114844925", "remoteUrl": "https://artworks.thetvdb.com/banners/v4/series/367813/clearlogo/626d5ff051338.png" } ], "originalLanguage": { "id": 1, "name": "English" }, "seasons": [ { "seasonNumber": 0, "monitored": false, "statistics": { "episodeFileCount": 0, "episodeCount": 0, "totalEpisodeCount": 1, "sizeOnDisk": 0, "releaseGroups": [], "percentOfEpisodes": 0 } }, { "seasonNumber": 1, "monitored": true, "statistics": { "previousAiring": "2019-11-02T00:00:00Z", "episodeFileCount": 9, "episodeCount": 9, "totalEpisodeCount": 9, "sizeOnDisk": 18101269124, "releaseGroups": [ "NTb" ], "percentOfEpisodes": 100 } }, { "seasonNumber": 2, "monitored": false, "statistics": { "episodeFileCount": 0, "episodeCount": 0, "totalEpisodeCount": 9, "sizeOnDisk": 0, "releaseGroups": [], "percentOfEpisodes": 0 } }, { "seasonNumber": 3, "monitored": false, "statistics": { "previousAiring": "2023-05-20T00:00:00Z", "episodeFileCount": 0, "episodeCount": 3, "totalEpisodeCount": 18, "sizeOnDisk": 0, "releaseGroups": [], "percentOfEpisodes": 0 } }, { "seasonNumber": 4, "monitored": false, "statistics": { "episodeFileCount": 9, "episodeCount": 9, "totalEpisodeCount": 9, "sizeOnDisk": 18240588717, "releaseGroups": [ "EDITH" ], "percentOfEpisodes": 100 } } ], "year": 2019, "path": "/volume2/Media/TV Series/Couples Therapy (2019)", "qualityProfileId": 1, "seasonFolder": true, "monitored": true, "monitorNewItems": "none", "useSceneNumbering": false, "runtime": 27, "tvdbId": 367813, "tvRageId": 0, "tvMazeId": 43299, "tmdbId": 91820, "firstAired": "2019-09-06T00:00:00Z", "lastAired": "2024-06-02T00:00:00Z", "seriesType": "standard", "cleanTitle": "couplestherapy2019", "imdbId": "tt10665386", "titleSlug": "couples-therapy-2019", "rootFolderPath": "/volume2/Media/TV Series/", "certification": "TV-MA", "genres": [ "Documentary", "Reality" ], "tags": [], "added": "2024-06-17T03:30:49Z", "ratings": { "votes": 1501, "value": 8.3 }, "statistics": { "seasonCount": 4, "episodeFileCount": 18, "episodeCount": 21, "totalEpisodeCount": 46, "sizeOnDisk": 36341857841, "releaseGroups": [ "NTb", "EDITH" ], "percentOfEpisodes": 85.71428571428571428571428571 }, "languageProfileId": 1, "id": 327 } ]
Show 100% if all monitored seasons are 100%.
No response
- OS: 4.0.9.2244-ls255 by linuxserver.io - Sonarr: 4.0.9.2244 - Docker Install: Yes - Using Reverse Proxy: No - Browser: Chrome - Database: Sqlite 3.45.3
Main
Can provide if needed.
18 files with episodes/monitored, 21 total episodes monitored/with files, thus you have 85% of the episodes.
Is there an existing issue for this?
Current Behavior
Currently the
statistics.percentOfEpisodes
number appears invalid.2 out of 4 seasons are 100%, but the series'
percentOfEpisodes
shows 85% for some reason.Expected Behavior
Show 100% if all monitored seasons are 100%.
Steps To Reproduce
No response
Environment
What branch are you running?
Main
Trace Logs?
Can provide if needed.
Anything else?
No response