Fetch episode ratings for show libraries
@@ -451,9 +451,10 @@ def find_by_title(self, name: str):
@nocache
def find_with_rating(self):
+ key = "episode.userRating" if self.type == "show" else "userRating"
filters = {
"and": [
- {"userRating>>": -1},
+ {f"{key}>>": -1},
]
}
