Skip to content

Instantly share code, notes, and snippets.

@ermshiperete
Last active March 29, 2024 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ermshiperete/f5bcc7f625da101e740c483f945415e3 to your computer and use it in GitHub Desktop.
Save ermshiperete/f5bcc7f625da101e740c483f945415e3 to your computer and use it in GitHub Desktop.
Gottesdienste

Gottesdienst.yml

Lists services of Kirchengemeinde Niederdresselndorf that are streamed live.

Installation

Add a git pre-commit hook that verifies the .yml file:

cd .git/hooks
ln -s ../../precommit.py pre-commit

Format

Example:

2022-08-28:
    name: eXtrakt-Gottesdienst
    announce: 'What to call "the service" in the phone intro'
    artist: Preacher

Possible fields

field description
name Name of the service. Default: Gottesdienst
announce What to call the service in the phone intro. Default: name
artist Preacher of the sermon. Default: Rainer Heuschneider
2024-03-31:
name: Ostergottesdienst
artist: Pfr. Jens Brakensiek
2024-04-14:
artist: Superintendent Peter-Thomas Stuberg
2024-04-28:
name: eXtrakt-JuGo
announce: Extrakt-Jugendgottesdienst
2024-06-09:
artist: Pfr. Rainer Heuschneider
2024-06-24:
name: eXtrakt-JuGo
announce: Extrakt-Jugendgottesdienst
2024-06-30:
name: Goldene Konfirmation
announce: Gottesdienst mit der Goldenenen Konfirmation
artist: Pfr. Rainer Heuschneider
#!/usr/bin/python3
import yaml
yml_file = 'Gottesdienst.yml'
with open(yml_file, 'r') as f:
yaml.load(f, Loader=yaml.FullLoader)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment