[75] fix rating source

pull/1536/head
meisnate12 1 year ago
parent aac454b993
commit 6868826dd7

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

@ -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"

Loading…
Cancel
Save