Skip to content
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

Delete available_artworks key even if it is empty to avoid error in setArt #1041

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antonsoroko
Copy link

we should delete available_artworks key even if it is empty to avoid error in setArt:

[plugin.video.elementum] item["art"]: {'poster': 'https://image.tmdb.org/t/p/w780/8Z4n4wDCV2EdW9AT0H81gGOKBg1.jpg', 'available_artworks': {}}
EXCEPTION: argument "value" for method "setArt" must be unicode or str

search in movies for "flash", some movies do not have any art or have only 1 poster, thus available_artworks was empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant