Skip to content

Instantly share code, notes, and snippets.

@EldonMcGuinness
Last active July 23, 2023 01:53
Show Gist options
  • Save EldonMcGuinness/d43d4ec8200db0b10c07b3f722505048 to your computer and use it in GitHub Desktop.
Save EldonMcGuinness/d43d4ec8200db0b10c07b3f722505048 to your computer and use it in GitHub Desktop.
PMM Colors Based on Status
=================
status.yml
=================
overlays:
airing_shows:
variables: {key: airing, weight: 40, text: AIRING, last: 14, back_color: <<back_color_<<key>>>>}
template: [name: standard, name: status]
returning_shows:
variables: {key: returning, weight: 30, text: RETURNING, back_color: <<back_color_<<key>>>>}
template: [name: standard, name: status]
canceled_shows:
variables: {key: canceled, weight: 20, text: CANCELED, back_color: <<back_color_<<key>>>>}
template: [name: standard, name: status]
ended_shows:
variables: {key: ended, weight: 10, text: ENDED, back_color: <<back_color_<<key>>>>}
template: [name: standard, name: status]
=================
config.yml
=================
libraries:
TV Shows 4K:
overlay_path:
- remove_overlays: false
- reapply_overlay: true
- pmm: status
template_variables:
font_size: 42
font_color: "#ffffff"
back_width: 72
back_height: 72
back_radius: 36
horizontal_align: left
horizontal_offset: 15
vertical_align: top
vertical_offset: 15
text_airing: "A"
text_returning: "R"
text_canceled: "C"
text_ended: "E"
back_color_airing: "#3c763d"
back_color_returning: "#31708f"
back_color_canceled: "#a94442"
back_color_ended: "#8a6d3b"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment