bbrown430 / plex-poster-set-helper

A tool to help upload sets of posters from ThePosterDB and MediUX to your Plex server in seconds!
52 stars 10 forks source link

Update to support a local file server instead of ThePosterDB #32

Open jeffreyswiggins opened 3 weeks ago

jeffreyswiggins commented 3 weeks ago

So could this be modified to support a local http/s type file server that could be running on my network storing copies of I have stored on the artwork I have downloaded from the sites as a backups. I have started using these scripts to write them to my Plex Metadate data and remove them from its direct file store and just storing them in another file store location as backup in case another "PosterDB Outage" happens for months so I have access to the original data. When I try to point the script to use somethings like the DUFS docker container to a local http:// address (I do not want it externally published ) I get an error of:

plexapi.exceptions.BadRequest: (406) not_acceptable; http://xxxxx.xxxxxx.local:32400/library/metadata/1142869/posters?url=http%3A%2F%2Flocal.site.address%3A4688%2Fsata1%2F57Seconds.2023%2F57Seconds.jpg Not Acceptable

406 Not Acceptable

I would love to use this to simply write the local store I have to my Plex Metadata and going forward just use another trick I have for downloading the artwork from those sites in more of an automated way and to this file store and use this to just "set them" into plex metadata.

Just thought i gets this nice script working again. I know it works MediUX for now but who knows for how long they allow that

bbrown430 commented 2 weeks ago

@jeffreyswiggins I am not sure if this is the same as what you are suggesting but in the latest commit I have added support for local HTML files. For instance, you can now pass the path of an HTML file, e.g. posters/marvel.html and it will function as expected.