Skip to content

Error: 'Config' object has no attribute 'get_movie_show_or_collection' #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
calboi91 opened this issue Feb 11, 2021 · 3 comments · Fixed by #16
Closed

Error: 'Config' object has no attribute 'get_movie_show_or_collection' #15

calboi91 opened this issue Feb 11, 2021 · 3 comments · Fixed by #16
Assignees
Labels
bug Bug is with Plex Meta Manager

Comments

@calboi91
Copy link

I am getting the error when using tmdb_background. The TMDb ID is correct, as it works for other fields that use it. It happens for all collections that have this attribute.

[2021-02-11 07:50:42,840] [util.py:575]               [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "/home9/calboi/Plex-Meta-Manager/modules/config.py", line 564, in update_libraries
                                                                 |     elif method_name == "tmdb_background":                              backgrounds_found.append(("url", "{}{}".format(self.TMDb.image_url, self.get_movie_show_or_collection(util.regex_first_int(collections[c][m], "TMDb ID"), library.is_movie).poster_path), method_name))
                                                                 | AttributeError: 'Config' object has no attribute 'get_movie_show_or_collection'
                                                                 | 
[2021-02-11 07:50:42,840] [config.py:1029]            [ERROR]    | Unknown Error: 'Config' object has no attribute 'get_movie_show_or_collection'

Also, is it possible to add collection details from a movie or show? If I have a collection built with tmdb_collection using a collection ID, it gives me the following error when I set the tmdb_poster using a show ID: No Movie or Collection found for TMDb ID ###.

@meisnate12
Copy link
Member

i got a fix for your issue and it is not currently possible to do that with the ID but you can always just give the collection a direct link to the tmdb poster using url_poster

meisnate12 added a commit that referenced this issue Feb 11, 2021
@meisnate12 meisnate12 mentioned this issue Feb 11, 2021
@calboi91
Copy link
Author

Thanks for the quick fix.

So it is not possible for tmdb_summary and tmdb_background too? For background, I can also use a direct link, but for summary, is there another way to link besides copy/pasting the text into the .yml file?

@meisnate12
Copy link
Member

There is not currently another way other then just copying to text

@meisnate12 meisnate12 self-assigned this Feb 11, 2021
@meisnate12 meisnate12 added the bug Bug is with Plex Meta Manager label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants