TitleCardMaker
TitleCardMaker copied to clipboard
Easier custom source file specification, overhaul and create new styles, allow for default values in templates, other changes and fixes
Major Changes
- Allow for custom source file specifications via
seasonsorepisode_rangesattributes to take format strings- Can use
{season_number},{episode_number}, or{abs_number}keys - for example:
episode_ranges: s1e1-s1e25: source: s1e{episode_number}-custom.jpg- Will utilize
s1e1-custom.jpg,s1e2-custom.jpg, etc., source files
- Can use
- Overhaul styles (both
unwatched_styleandwatched_style) to be much more versatile- Allow blur, art, and grayscale style modifiers to combine with other styles
- All allowed styles are
art,art blur,art blur grayscale,art grayscale,blur,blur grayscale,blur unique,blur grayscale unique,grayscale,grayscale unique, andunique(and any re-ordering of these)
- Allow for default values in templates via
defaults- for example:templates: gundam: card_type: gundam extras: logo: ./source/<<alt_title>> (<<year>>)/logo.png defaults: alt_title: <<title>>- This would would allow
alt_titleto be manually overwritten, but if not provided it will default to the series title
- This would would allow
- Don't compare show records between versions of TitleCardMaker
- If the version of TCM that your record database was created with does not match the version of TCM you are currently running, then the record database is deleted to be remade
- This prevents TCM from falsely remaking a lot of cards if a version change results in a non-YAML change
Major Fixes
- Automatically forget records before attempting to import cards with
fixer.py- Closes #274
Minor Changes
- Add new
grayscalestyle option- Add
--grayscaleargument tomini_maker.py - Closes #276
- Add
- Optionally darken
LandscapeTitleCardviadarkenextra- Defaults to false (disabled), but can be specified as
allto darken the entire image, orboxto darken only the bounding box
- Defaults to false (disabled), but can be specified as
- Parse
box_adjustmentsextra inLandscapeTitleCardto adjust the x/y coordinates of the bounding box, for example:Mr. Robot (2015): card_type: landscape extras: add_bounding_box: true box_adjustments: -10 20 -15 40 # top, right, bottom, left bounds - Optionally add logos to movie posters
- Create
--movie-logoargument which takes a path to a logo file - Closes #271
- Create
- Auto-assign the template name under
<<template_name>>instead of<<name>>to prevent confusion with the series name which is<<title>> - Make
OlivierTitleCardabout 40% faster by not writing intermediate images - Make
LogoTitleCardabout 5x faster by adding text as composite layers, not standalone images - Create explicit
archive_variationseven if series archiving is disabled - Reformat all progress bars
Minor Fixes
- Handle (invalid) non-string episode range keys/labels in
episode_ranges - Disable caching in Tautulli web interface
- Correctly filter episodes without cards in summary creation if specials are ignored in summary creation
- Correct preference file inititialization for docker users using the fixer/mini maker
- Handle explicit
kanji_vertical_shiftwithmini_maker.py - Set explicit sRGB colorspace in style/resize to handle black and white source images
To-Do's
- [x] Document better custom source file specification
- [x] Document new
unwatched_styleandwatched_styleoptions - [x] Document template defaults
- [x] Document new
--grayscaleargument formini_maker.py - [x] Document
darkenextra forLandscapeTitlecard- [x] Add example images
- [x] Document
box_adjustmentsextra forLandscapeTitleCard- [x] Add example images
- [x] Document
--movie-logoargument formini_maker.py - [x] Update version number