Skip to content

Instantly share code, notes, and snippets.

@ermshiperete
Last active March 30, 2025 10:40
Show Gist options
  • 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
    start: '11:00'

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
start Start time of service (HH:MM)
2025-04-13:
name: Konfirmation
announce: Konfirmationsgottesdienst
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-04-20:
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-04-27:
name: eXtrakt-Gottesdienst
start: '11:00'
2025-05-11:
name: 'Goldene Konfirmation'
announce: 'Gottesdienst mit Goldener Konfirmation'
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-05-18:
name: '11.15 Uhr Gottesdienst'
announce: '11 Uhr 15 Gottesdienst'
artist: 'Pfr. Rainer Heuschneider'
start: '11:15'
2025-05-25:
name: 'Silberne Konfirmation'
announce: 'Gottesdienst mit Silberner Konfirmation'
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-06-08:
name: Gottesdienst
artist: 'Prädikantin Anne Schnurr'
start: '10:00'
2025-06-15:
name: '11.15 Uhr Gottesdienst'
announce: '11 Uhr 15 Gottesdienst'
artist: 'Pfr. Rainer Heuschneider'
start: '11:15'
2025-06-29:
name: eXtrakt-Gottesdienst
start: '11:00'
#!/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