jwueller / jellyfin-plugin-onepace

Jellyfin metadata and cover art integration for the https://onepace.net/ project
https://onepace.net/
GNU General Public License v3.0
69 stars 5 forks source link

Able to use the One Pace Discord server images as Arc Posters #4

Closed Aaryaman-1409 closed 1 year ago

Aaryaman-1409 commented 1 year ago

Hey, hope you're doing well. I brought this up the other day in the issues section https://github.com/jwueller/jellyfin-plugin-onepace/issues/1, where I wanted to use the images on the One Pace Discord as the cover art for the arcs. I've just done a bit of tinkering and managed to put something together. It doesn't need to store the image files in the repo or anything, and can directly store the files from discord in the jellyfin cache directory. If the cache is ever cleared and an image is requested, it can also redownload if needed.

There's a new settings page on the Jellyfin plugin dashboard that allows you to change the preference for source of the cover art. The plugin will still grab images from the website, but when choosing which image to save, it will prefer the version specified by the plugin settings page.

Jellyfin doesn't automatically replace images on library scans, so you'll have to go on the One Pace show -> click on refresh metadata -> replace all metadata and tick replace existing images. The process if also easily reversible. If you instead prefer to scrape directly from the website, you can change the plugin settings, and rerun the refresh metadata process. You can also go on a specific season, and do the refresh metadata process for a single arc.

I just have to warn you that I had 0 C# experience prior to this, and trying to decipher the Jellyfin plugin API documentation was a nightmare, so forgive me if the code is trash.