[75] fix rating source

This commit is contained in:
meisnate12 2023-07-24 10:38:54 -04:00
parent aac454b993
commit 6868826dd7
2 changed files with 2 additions and 4 deletions

View file

@ -1 +1 @@
1.19.0-develop74 1.19.0-develop75

View file

@ -483,9 +483,7 @@ class Plex(Library):
self._account = None self._account = None
self.agent = self.Plex.agent self.agent = self.Plex.agent
self.scanner = self.Plex.scanner self.scanner = self.Plex.scanner
for stg in self.Plex.settings(): self.ratings_source = next((s.value for s in self.Plex.settings() if s.id == "ratingsSource"), "N/A")
if stg.id == 'ratingsSource':
self.ratings_source = stg.value
self.is_movie = self.type == "Movie" self.is_movie = self.type == "Movie"
self.is_show = self.type == "Show" self.is_show = self.type == "Show"
self.is_music = self.type == "Artist" self.is_music = self.type == "Artist"