Skip to content

Commit

Permalink
Release v1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist authored Jun 3, 2024
2 parents 8345c83 + ee52825 commit 1d682fd
Show file tree
Hide file tree
Showing 87 changed files with 5,521 additions and 1,181 deletions.
26 changes: 13 additions & 13 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ verify_ssl = true
name = "pypi"

[packages]
regex = "==2023.10.3"
num2words = "==0.5.12"
regex = "==2024.5.15"
num2words = "==0.5.13"
pyyaml = "==6.0.1"
requests = "==2.31.0"
titlecase = "==2.4"
tqdm = "==4.66.1"
fonttools = "==4.43.0"
plexapi = "==4.15.4"
tenacity = "==8.2.3"
requests = "==2.32.3"
titlecase = "==2.4.1"
tqdm = "==4.66.4"
fonttools = "==4.53.0"
plexapi = "==4.15.13"
tenacity = "==8.3.0"
tinydb = "==4.8.0"
schedule = "==1.2.1"
tmdbapis = "==1.2.0"
"ruamel.yaml" = "==0.17.21"
schedule = "==1.2.2"
tmdbapis = "==1.2.16"
"ruamel.yaml" = "==0.17.40"
imagesize = "==1.4.1"
pillow = "==10.0.1"
pillow = "==10.3.0"

[dev-packages]
ruff = "*"

[requires]
python_version = "3.9"
python_version = "3.11"
507 changes: 264 additions & 243 deletions Pipfile.lock

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

An automated title card maker for the Plex, Jellyfin, and Emby media servers. All user documentation is available on the [Wiki](https://github.com/CollinHeist/TitleCardMaker/wiki).

Version 2.0 - the Web UI - has officially entered pre-release, and is currently available for project [Sponsors](https://github.com/sponsors/CollinHeist).
> [!IMPORTANT]
> Version 2.0 - the Web UI - has officially entered pre-release, and is currently available for project [Sponsors](https://github.com/sponsors/CollinHeist).
<img alt="Web UI" src="https://titlecardmaker.com/assets/series_dark.webp"/>

Expand All @@ -31,6 +32,7 @@ TitleCardMaker can be automated such that everything can be done without manual
All configuration/automation of the TitleCardMaker is done via YAML files, and the actual image creation is done using the open-source and free image library called [ImageMagick](https://imagemagick.org/).

## Getting Started
> [!NOTE]
> The [Wiki](https://github.com/CollinHeist/TitleCardMaker/wiki) has very extensive documentation on every feature and customization available in TitleCardMaker. I __highly__ recommend looking here as the first step when troubleshooting or customizing your setup. [The Discord](https://discord.gg/bJ3bHtw8wH) is also a great place to get detailed help.
Read the [Getting Started](https://github.com/CollinHeist/TitleCardMaker/wiki) page on the Wiki for the traditional install, or the [Getting Started on Docker](https://github.com/CollinHeist/TitleCardMaker/wiki/Docker-Tutorial) page to install using Docker.
Expand All @@ -46,15 +48,16 @@ pipenv run python main.py --run

For invocation and configuration details, read [here](https://github.com/CollinHeist/TitleCardMaker/wiki/Running-the-TitleCardMaker).

> [!TIP]
> If you have trouble getting the Maker working, or have a problem, [create an issue on GitHub](https://github.com/CollinHeist/TitleCardMaker/issues/new), or [join the Discord](https://discord.gg/bJ3bHtw8wH) for help.
## Examples
Below are examples of almost all the types of title card that can be created automatically by TitleCardMaker:

### Built-in Card Types
<img alt="Anime" src="https://user-images.githubusercontent.com/17693271/185820454-4e3dca1c-c0df-4fa0-a7a7-81e070aa9e69.jpg" width="32%"/> <img alt="Banner" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/384915b9-cd0c-4e0d-90dc-4b3194c7d4a1" width="32%"> <img alt="Calligraphy" src="https://user-images.githubusercontent.com/17693271/275364823-473521f4-e2e3-4236-a514-49eb186f2872.jpg" width="32%"> <img alt="Comic Book" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/c5f34e46-ec3b-44a9-a563-b9a24db8cd1a" width="32%"/> <img alt="Cutout" src="https://user-images.githubusercontent.com/17693271/212500535-e88daff6-ecc0-4cc8-8627-82069114c7e0.jpg" width="32%"/> <img alt="Divider" src="https://user-images.githubusercontent.com/17693271/232378485-a9a737dc-9faf-47c2-b639-7df3d3ffb194.jpg" width="32%"> <img alt="Fade" src="https://user-images.githubusercontent.com/17693271/214648223-b4f68553-e982-4efa-a16b-9662018b5d40.jpg" width="32%"/> <img alt="Frame" src="https://user-images.githubusercontent.com/17693271/202352614-155a176a-fdb0-4476-9f11-6a3a20533a54.jpg" width="32%"/> <img alt="Inset" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/65d2fac6-c29e-47f2-bdd4-725672c0ace2" width="32%"> <img alt="Landscape" src="https://user-images.githubusercontent.com/17693271/202352137-b411da21-65ce-4bed-991b-90428c71ec34.jpg" width="32%"> <img alt="Logo" src="https://user-images.githubusercontent.com/17693271/172227163-0ee4990a-b0a8-4dbd-91b3-3f57dfe6e732.jpg" width="32%"> <img alt="Marvel" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/8cd0c2b5-bd48-4c58-9e5b-bf1e0ebf322d" width="32%"> <img alt="Olivier" src="https://user-images.githubusercontent.com/17693271/212500009-067f14ff-4f48-4f75-bacd-7311a9aba716.jpg" width="32%"/> <img alt="Overline" src="https://user-images.githubusercontent.com/17693271/277546845-a8de2b70-5d62-4a14-97cd-3ed365054795.jpg" width="32%"> <img alt="Poster" src="https://user-images.githubusercontent.com/17693271/180627387-f72bb58e-e001-4608-b4be-82a26263c628.jpg" width="32%"> <img alt="Roman" src="https://user-images.githubusercontent.com/17693271/203910966-4dde1466-6c7e-4422-923b-1f9222ad49e9.jpg" width="32%"> <img alt="Standard" src="https://user-images.githubusercontent.com/17693271/212500240-ae946f2c-a5c8-4881-85f2-83ccb45bf46e.jpg" width="32%"/> <img alt="Shape" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/fabc3224-c99f-434e-a70a-cfc468eada2a" width="32%"> <img alt="Star Wars" src="https://user-images.githubusercontent.com/17693271/170836059-136fa6eb-40ef-4cd7-9aca-8ad8e0537239.jpg" width="32%"> <img alt="tinted Frame" src="https://user-images.githubusercontent.com/17693271/233257029-8b17ce2e-01ea-4ae3-bc73-54e152be4d31.jpg" width="32%"> <img alt="Tinted Glass" src="https://user-images.githubusercontent.com/17693271/213939482-6018b2be-28c5-42dd-988d-d7b9733fe0e8.jpg" width="32%"> <img alt="White Border" width="32%" src="https://github.com/CollinHeist/TitleCardMaker/assets/17693271/14f25d6a-4be7-4078-97c2-7730ed070508">
<img alt="Anime" src="https://titlecardmaker.com/card_types/assets/anime.webp" width="32%"/> <img alt="Banner" src="https://titlecardmaker.com/card_types/assets/banner.webp" width="32%"> <img alt="Calligraphy" src="https://titlecardmaker.com/card_types/assets/calligraphy.webp" width="32%"> <img alt="Comic Book" src="https://titlecardmaker.com/card_types/assets/comic_book.webp" width="32%"/> <img alt="Cutout" src="https://titlecardmaker.com/card_types/assets/cutout.webp" width="32%"/> <img alt="Divider" src="https://titlecardmaker.com/card_types/assets/divider.webp" width="32%"> <img alt="Fade" src="https://titlecardmaker.com/card_types/assets/fade.webp" width="32%"/> <img alt="Formula1" src="https://titlecardmaker.com/card_types/assets/formula.webp" width="32%"> <img alt="Frame" src="https://titlecardmaker.com/card_types/assets/frame.webp" width="32%"/> <img alt="Graph" src="https://titlecardmaker.com/card_types/assets/graph.webp" width="32%"> <img alt="Inset" src="https://titlecardmaker.com/card_types/assets/inset.webp" width="32%"> <img alt="Landscape" src="https://titlecardmaker.com/card_types/assets/landscape.webp" width="32%"> <img alt="Logo" src="https://titlecardmaker.com/card_types/assets/logo.webp" width="32%"> <img alt="Marvel" src="https://titlecardmaker.com/card_types/assets/marvel.webp" width="32%"> <img alt="Music" src="https://titlecardmaker.com/card_types/assets/music.webp" width="32%"> <img alt="Notification" src="https://titlecardmaker.com/card_types/assets/notification.webp" width="32%"> <img alt="Olivier" src="https://titlecardmaker.com/card_types/assets/olivier.webp" width="32%"/> <img alt="Overline" src="https://titlecardmaker.com/card_types/assets/overline.webp" width="32%"> <img alt="Poster" src="https://titlecardmaker.com/card_types/assets/poster.webp" width="32%"> <img alt="Roman" src="https://titlecardmaker.com/card_types/assets/roman_numeral.webp" width="32%"> <img alt="Standard" src="https://titlecardmaker.com/card_types/assets/standard.webp" width="32%"/> <img alt="Striped" src="https://titlecardmaker.com/card_types/assets/striped.webp" width="32%"> <img alt="Shape" src="https://titlecardmaker.com/card_types/assets/shape.webp" width="32%"> <img alt="Star Wars" src="https://titlecardmaker.com/card_types/assets/star_wars.webp" width="32%"> <img alt="tinted Frame" src="https://titlecardmaker.com/card_types/assets/tinted_frame.webp" width="32%"> <img alt="Tinted Glass" src="https://titlecardmaker.com/card_types/assets/tinted_glass.webp" width="32%"> <img alt="White Border" width="32%" src="https://titlecardmaker.com/card_types/assets/white_border.webp">

> The above cards are, in order, the [anime](https://github.com/CollinHeist/TitleCardMaker/wiki/AnimeTitleCard), [banner](https://github.com/CollinHeist/TitleCardMaker/wiki/BannerTitleCard), [calligraphy](https://github.com/CollinHeist/TitleCardMaker/wiki/CalligraphyTitleCard), [comic book](https://github.com/CollinHeist/TitleCardMaker/wiki/ComicBookTitleCard), [cutout](https://github.com/CollinHeist/TitleCardMaker/wiki/CutoutTitleCard), [divider](https://github.com/CollinHeist/TitleCardMaker/wiki/DividerTitleCard), [fade](https://github.com/CollinHeist/TitleCardMaker/wiki/FadeTitleCard), [frame](https://github.com/CollinHeist/TitleCardMaker/wiki/FrameTitleCard), [inset](https://github.com/CollinHeist/TitleCardMaker/wiki/InsetTitleCard), [landscape](https://github.com/CollinHeist/TitleCardMaker/wiki/LandscapeTitleCard), [logo](https://github.com/CollinHeist/TitleCardMaker/wiki/LogoTitleCard), [marvel](https://github.com/CollinHeist/TitleCardMaker/wiki/MarvelTitleCard), [olivier](https://github.com/CollinHeist/TitleCardMaker/wiki/OlivierTitleCard), [overline](https://github.com/CollinHeist/TitleCardMaker/wiki/OverlineTitleCard), [poster](https://github.com/CollinHeist/TitleCardMaker/wiki/PosterTitleCard), [roman](https://github.com/CollinHeist/TitleCardMaker/wiki/RomanNumeralTitleCard), [standard](https://github.com/CollinHeist/TitleCardMaker/wiki/StandardTitleCard), [shape](https://github.com/CollinHeist/TitleCardMaker/wiki/ShapeTitleCard), [star wars](https://github.com/CollinHeist/TitleCardMaker/wiki/StarWarsTitleCard), [tinted frame](https://github.com/CollinHeist/TitleCardMaker/wiki/TintedFrameTitleCard), [tinted glass](https://github.com/CollinHeist/TitleCardMaker/wiki/TintedGlassTitleCard), and the [white border](https://github.com/CollinHeist/TitleCardMaker/wiki/WhiteBorderTitleCard) title cards - the [textless](https://github.com/CollinHeist/TitleCardMaker/wiki/TextlessTitleCard) card is not shown.
> The above cards are, in order, the [anime](https://github.com/CollinHeist/TitleCardMaker/wiki/AnimeTitleCard), [banner](https://github.com/CollinHeist/TitleCardMaker/wiki/BannerTitleCard), [calligraphy](https://github.com/CollinHeist/TitleCardMaker/wiki/CalligraphyTitleCard), [comic book](https://github.com/CollinHeist/TitleCardMaker/wiki/ComicBookTitleCard), [cutout](https://github.com/CollinHeist/TitleCardMaker/wiki/CutoutTitleCard), [divider](https://github.com/CollinHeist/TitleCardMaker/wiki/DividerTitleCard), [fade](https://github.com/CollinHeist/TitleCardMaker/wiki/FadeTitleCard), [formula 1](https://titlecardmaker.com/card_types/formula/), [frame](https://github.com/CollinHeist/TitleCardMaker/wiki/FrameTitleCard), [graph](https://titlecardmaker.com/card_types/graph/), [inset](https://github.com/CollinHeist/TitleCardMaker/wiki/InsetTitleCard), [landscape](https://github.com/CollinHeist/TitleCardMaker/wiki/LandscapeTitleCard), [logo](https://github.com/CollinHeist/TitleCardMaker/wiki/LogoTitleCard), [marvel](https://github.com/CollinHeist/TitleCardMaker/wiki/MarvelTitleCard), [music](https://titlecardmaker.com/card_types/music/), [notification](https://titlecardmaker.com/card_types/notification/), [olivier](https://github.com/CollinHeist/TitleCardMaker/wiki/OlivierTitleCard), [overline](https://github.com/CollinHeist/TitleCardMaker/wiki/OverlineTitleCard), [poster](https://github.com/CollinHeist/TitleCardMaker/wiki/PosterTitleCard), [roman](https://github.com/CollinHeist/TitleCardMaker/wiki/RomanNumeralTitleCard), [standard](https://github.com/CollinHeist/TitleCardMaker/wiki/StandardTitleCard), [striped](https://titlecardmaker.com/card_types/striped/), [shape](https://github.com/CollinHeist/TitleCardMaker/wiki/ShapeTitleCard), [star wars](https://github.com/CollinHeist/TitleCardMaker/wiki/StarWarsTitleCard), [tinted frame](https://github.com/CollinHeist/TitleCardMaker/wiki/TintedFrameTitleCard), [tinted glass](https://github.com/CollinHeist/TitleCardMaker/wiki/TintedGlassTitleCard), and the [white border](https://github.com/CollinHeist/TitleCardMaker/wiki/WhiteBorderTitleCard) title cards.

<details><summary><h3>User-Created Card Types</h3></summary>

Expand Down
15 changes: 8 additions & 7 deletions mini_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
nargs='+',
default='',
metavar=('TITLE_LINE'),
help="The title text for this card")
help="The title text for this card, each value is a new line")
title_card_group.add_argument(
'--logo',
type=Path,
Expand Down Expand Up @@ -319,7 +319,8 @@
type=str,
default='default',
metavar='SUMMARY_TYPE',
help='Summary type to create - must be "standard" or "sylized"')
choices=('default', 'standard', 'stylized'),
help='Type of summary image to create')

# Argument group for season posters
season_poster_group = parser.add_argument_group(
Expand All @@ -341,8 +342,9 @@
season_poster_group.add_argument(
'--season-text',
type=str,
default='SEASON ONE',
metavar='SEASON_TEXT',
nargs='+',
default=['SEASON ONE'],
metavar=('SEASON_TEXT'),
help='Season text for the created season poster')
season_poster_group.add_argument(
'--season-font',
Expand Down Expand Up @@ -400,8 +402,7 @@
# Execute title card related options
if hasattr(args, 'title_card'):
# Attempt to get local card type, if not, try RemoteCardType
pp._parse_card_type(args.card_type)
CardClass = pp.card_class
CardClass = pp._parse_card_type(args.card_type)
RemoteFile.reset_loaded_database()

# Override unspecified defaults with their class specific defaults
Expand Down Expand Up @@ -583,7 +584,7 @@ class Show:
source=args.season_poster[0],
destination=args.season_poster[1],
logo=logo,
season_text=args.season_text,
season_text='\n'.join(args.season_text),
font=args.season_font,
font_color=args.season_font_color,
font_size=float(args.season_font_size[:-1])/100.0,
Expand Down
Loading

0 comments on commit 1d682fd

Please sign in to comment.