mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-21 20:13:05 +00:00
updated tmdb names
This commit is contained in:
parent
9e40fac993
commit
f33a95de2b
2 changed files with 670 additions and 111 deletions
File diff suppressed because it is too large
Load diff
|
@ -146,13 +146,13 @@ class TMDbAPI:
|
|||
if method in ["tmdb_company", "tmdb_network", "tmdb_keyword"]:
|
||||
tmdb_id = int(data)
|
||||
if method == "tmdb_company":
|
||||
tmdb_name = str(self.get_company(tmdb_id))
|
||||
tmdb_name = str(self.get_company(tmdb_id).name)
|
||||
attrs = {"with_companies": tmdb_id}
|
||||
elif method == "tmdb_network":
|
||||
tmdb_name = str(self.get_network(tmdb_id))
|
||||
tmdb_name = str(self.get_network(tmdb_id).name)
|
||||
attrs = {"with_networks": tmdb_id}
|
||||
elif method == "tmdb_keyword":
|
||||
tmdb_name = str(self.get_keyword(tmdb_id))
|
||||
tmdb_name = str(self.get_keyword(tmdb_id).name)
|
||||
attrs = {"with_keywords": tmdb_id}
|
||||
limit = 0
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue