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