fscorrupt / posterizarr Goto Github PK
View Code? Open in Web Editor NEW🖼️ Automated poster maker for Plex.
🖼️ Automated poster maker for Plex.
Right now im using the Tautulli docker mode script, so that when a new movie is added, it calls the trigger.py to make posterizarr generate a poster for that one movie or show. What I would like is after that is done, for posterizarr to be able to call an overlay only run on Kometa (Plex Meta Manager) so that the overlays update with new poster, Kometa doesnt do single runs against one movie, but I think just running overlays would suffice.
Describe the solution you'd like
For this to work I think you'd have to allow docker.sock to be mounted, docker cli installed in the image itself maybe, then some form of dumping a script into a scripts folder for posterizarr to run with a trigger
Describe alternatives you've considered
Not sure of others way
Additional context
Add any other context or screenshots about the feature request here.
Check config.json and config.example.json if they differ.
if yes, notify user that he needs to make changes to the json, also add part if they are prerequisites
Ability to authenticate via token with plex.
Currently it loops for all ids.
It could return false posters.
Add a title check or anything else to make sure its the correct movie/show
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I like show posters to be with original English text on them, but I can't choose textless season posters too.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to choose the language level separately for show and season levels. "PreferredLanguageOrder": [""} option would be need separately for posters and seasons.
Describe alternatives you've considered
I would like my show posters to have original English text on them as I only apply borders to show posters, so I need to choose "en" first on the "PreferredLanguageOrder": ["en", "xx", "de"]
option in the config file. At the season level I want textles posters that I apply a gradient overlay, border and season text. So, I would need a "xx" option for seasons first.
Additional context
Add any other context or screenshots about the feature request here.
Add versioning to script,log and notifications, also with a compare what the latest version is.
Make an docker container for the script, also with a scheduler integrated.
This would greatly simplify the usage of PPM.xlsm because the import is expecting these three files in the Logs folder that you pick.
The only time we may not want to create the three csv files is -testing
and -manual
Best would be Apprise
Integrate some sort of validation for parts of the config file, like paths, images and breaking things.
Spinner/progress should be visual and not spam the logs.
If a background image for a movie can't be found online, Plex is not being queried to grab the artwork from Plex.
Is your feature request related to a problem? Please describe.
I would rather fix the source rather than download the generic backdrop as a titlecard. A toggle in the config.json to disable_backdrop_fallback: true
would essentially do this
Describe the solution you'd like
See above
Describe alternatives you've considered
Need to constantly review the log file but if multiple runs have happened, then its really hard to detect when this happens unless you physically view the files. By not downloading them, then when a fix happens online, the file will be downloaded
Additional context
see above
I cleared the movies asset directory to make new posters and it downloaded 500 posters and 491 backgrounds and then moved on to shows (shows/season/episode posters). I then ran the script two more times and it didn't download any more movie posters.
Scriptlog.log Third run
Scriptlog.log Second run
Scriptlog.log First run
Manual switch is interactive now and can only do 1 item.
Appears to happen only with shows, Poster and Background search for movies does not seem to be affected.
Prefer textless then english (xx,en).
After finding a title card with text at favprovider (tmdb) it will no longer display the "Start Title Card Search..." line for the show until it retrieves a textless poster.
Log included, see shows "Dirt Every Day", "The UnXplained", and "Vice". Also seems to happen with poster search (see "The UnXplained").
Scriptlog.log
The idea is that if you turn on CheckAll: true, this overrides the existing "capture only files you are missing" to a mode where it will validate that the processed image is the same as the one already in the assets folder. If different, replace the destination asset artwork.
This automation allows for:
Depending on how this is implemented, you could make it a runtime variable so that people could schedule it 1 time per week while a regular run daily.
Is your feature request related to a problem? Please describe.
To allow people to more easily update their fav provider with artwork, even if 0 art is found there, build up link and add that instead of NA. Maybe see if metadata is available and then build it based on the metadata url, but for the artwork.
Describe the solution you'd like
See above
Describe alternatives you've considered
All manual
Additional context
NA
Add the ability to detect if there already is another posterizarr run.
Currently only the docker schedule does detect this, but it should also detect if a schedule runs and a user then manually triggers a run, cause this then can damage the picture.
Rotation for all exports and logs where the user can decide how long/how many files he wants to keep via a config setting.
UseBackgroundPicture = True
if set to True it will use the shows background picture as TitleCard, if set to False it tries to grab episode image.
Ability to trigger ppm just for a recent item and upload it directly to plex.
with a switch true/false in config and only getting applied on 4k media.
Since the csv headers changed, the summary shows false values (textless)
Also control csv that it reports correct language via api, from time to time it picks different lang that is not specified in prefered lang order (only in imageschoices language) the downloaded poster has any of the preferred lang
If image size is '0' do not proceed with magick and just notify user.
Add the ability to create title cards as well. Include optional text switches for writing 'Season and episode number' and 'episode title' on the poster, similar to what the title card maker already does, along with overlay, border, and color values.
Is your feature request related to a problem? Please describe.
Episodes named TBA as placeholder currently get that name in episode cards and won’t get updated when official name is out.
Describe the solution you'd like
A toggle in config where we could set ignore TBA or even log TBA to a file and later get the card replaced when a different name is available.
Describe alternatives you've considered
The alternative is to totally ignore TBA and only generate the episode cards when a different title is available.
Scriptlog.log
Plex Media Server.log
Ran script at 20:00 so included Plex log from that point (the only two lines in it are the error above).
Logic to Capture output and log if an error/warning occured
Currently it is "Season 1 • Episode 2
Make Season
& Episode
a config setting
A way to run show posters and season posters with different options.
For example:
A user wants to run border, gradient, and no text on all show posters, but at the same time wants to run gradient, no border, and text on season posters. Currently, both season and show posters are ran identically.
Add the default behavior, too skip posters that have truncated text, and log it as error.
Describe the bug
A clear and concise description of what the bug is.
Changing FavProvider in the config file does not effect season searches for posters. When running the script, changing the provider only affects the show/movie poster search. The season posters always falls back to TMDB. You also get the fallback message at the end of the log.
Scriptlog.log
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
After changing FanProvider to a different provider, season posters should come from said fav provider first.
Screenshots & Logs
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Similar like for background/seasons...
Hi, I have an issue where some media directories are not correctly recognized in the scan. It seems that when there is a hyphen -
in the directory tree it breaks correct movie folder recognition. Example:
Structure: /media/movies-3D/moviename (year)/file.mkv
For all movies in the directory movies-3D
Plex Poster Maker will create ONE directory called 3D
, opposed to individual directories for each, moviename (year)
. Consequently, posters for all these movies cannot be placed correctly.
Interestingly, hyphens in the movie name (e.g. Spider-Man (year)
are allowed. Maybe hyphens can be escaped for the whole directory tree? That would be awesome, thanks for any help. Great tool!
Just an option to add stroke or border to your text to break it apart from the poster above the gradient
if 256 char or more reg key exists, contuine, else break.
If a show/movie has a duplicate name (ex. Avatar: The Last Airbender (2024) and Avatar: The Last Airbender (2005)), the script will include the year in the name on a new poster. An option to turn off/remove the year from the title on the poster would be great!
And check to avoid pulling down posters with exif tags from TCM or PMM
Download images for Season 00, or "Specials" same way as it does for regular show seasons.
Describe the bug
Not sure it's actually affecting my library but I get this error on 19 of my movies daily when script runs
To Reproduce
Happens with multiple movies
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & Logs
.7558| Start Poster Search for: X-Men.2000.REMASTERED.1080p.BluRay.H264.AAC-RARBG
[2024-04-21 02:01:16] [WARNING] |L.7560| Can't search on TMDB, missing ID...
[2024-04-21 02:01:16] [INFO] |L.966 | Searching on Fanart.tv for a movie poster
[2024-04-21 02:01:16] [WARNING] |L.1046| No movie match or poster found on Fanart.tv
[2024-04-21 02:01:16] [INFO] |L.1904| Searching on Plex for a Movie Poster
[2024-04-21 02:01:17] [WARNING] |L.1923| Artwork has exif data from posterizarr/pmm/tcm, cant take it...
[2024-04-21 02:01:17] [ERROR] |L.7746| Missing poster URL for: X-Men.2000.REMASTERED.1080p.BluRay.H264.AAC-RARBG
[2024-04-21 02:01:17] [INFO] |L.7747|
Additional context
Add any other context about the problem here.
Currently full url and token gets logged
Add the ability to specify other fields that are queried and then can be used as text to add to the poster.
Currently it checks for poster.jpg, if someone has poster.png it will still download a new poster.
An update to the Test-path in Script is needed to omit this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.