mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 14:00:21 +00:00
[75] fix rating source
This commit is contained in:
parent
aac454b993
commit
6868826dd7
2 changed files with 2 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -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…
Reference in a new issue