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