-
Notifications
You must be signed in to change notification settings - Fork 31
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
[FEATURE] Automatically upload collection posters #7
Comments
@arebokert I think that would be awesome. We could possibly have either default collection images defined in the file or have an argument available to specify a collection image file to use (or have it upload by default and have an argument disable this?). Sounds like a good idea to me! |
I have been doing som research on how to do this. fanart.tv's API allows searching for entries using TMDB ids. TMDB has entries for collections, so if we associate TMDB ids with each collection in the |
After some research into the PlexAPI python wrapper you are using, it looks like it doesn't have support yet for changing posters yet. |
@SethGower that's a good idea. I'm thinking the possibility of uploading custom collection art from a local folder should be available, but if no local folder is specified, it downloads the art if the user decides to choose that option. In regards to support in the api wrapper, you are correct. That's why, as I mentioned, I was going to see if I can create a pull request for just that functionality to the wrapper repository before I begin working on using it in this repository. I'll see what I can do but no promises. I am not that used to Python. |
@arebokert OK, Great. Keep me updated, I would love to help you out. I too am not that great at python, but it is better than Java.... |
Changing posters is now in a PR for the Python-PlexAPI. Could you confirm it works for your request? |
Thanks for this! I've been having a look during the past few days and there's one thing I'm wondering. If possible a delete function would be in order. If deleting is not possible, perhaps we could fetch the artwork from the plex server, do a checksum of it and make sure we're not trying to upload the same file over and over every time plex autocollections runs. |
Deleting doesn't seem possible. It seems that Plex already has a type of checksum in place. I'm my limited testing, I couldn't upload the same item twice. I mean I could upload it but Plex didn't show any additional poster, art, theme as a result. |
I was thinking of trying to fill this request on the plex api repository pkkid/python-plexapi#179 and then implement uploading of pictures from a folder to this repository. I have tried the described case in the issue in that repository and it seems to work.
Good idea?
The text was updated successfully, but these errors were encountered: