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

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

Open
jeffreyswiggins opened this issue Jun 8, 2024 · 4 comments
Open

Comments

@jeffreyswiggins
Copy link

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 <title>Not Acceptable</title>

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
Copy link
Owner

@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.

@jeffreyswiggins
Copy link
Author

Sorry it took me a while to respond. Is there a document on how to use this? I looked at the commit, but need a little bit of documentation on the html file. I have an local archive of PNG and JPGs after the The PosterDB multi-month hiatus that are organized and I could create a yaml (or I guess HTML file of local file links) if that is the intention. Just not sure how this is supposed to be utilized.

Thanks

@giantsfan006
Copy link

Just not sure how this is supposed to be utilized.

Ever forget figure it out? I'm looking to do something similar.

@jeffreyswiggins
Copy link
Author

Just not sure how this is supposed to be utilized.

Ever forget figure it out? I'm looking to do something similar.

no... i pulled the latest version and tried a few things but not what i was expecting with the way of results, and the description of local HTML files is. I am assuming it is for me to "build" a HTML file that lists all the files and directory path on my file server like a "file list" and it will use it to pull it. I have not had luck with the file.

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

No branches or pull requests

3 participants