Skip to content

Instantly share code, notes, and snippets.

@ermshiperete
Last active October 12, 2025 12:06
Show Gist options
  • Select an option

  • Save ermshiperete/f5bcc7f625da101e740c483f945415e3 to your computer and use it in GitHub Desktop.

Select an option

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-10-12:
name: eXtrakt-Gottesdienst
start: '11:00'
artist: 'Björn Edelmann'
2025-11-09:
name: '11.15 Uhr Gottesdienst'
announce: '11 Uhr 15 Gottesdienst'
artist: 'Pfr. Rainer Heuschneider'
start: '11:15'
2025-11-23:
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-12-14:
name: eXtrakt-Gottesdienst
start: '18:00'
2025-12-24:
name: Heiligabend-Gottesdienst
artist: 'Pfr. Rainer Heuschneider'
start: '16:30'
2025-12-25:
name: Weihnachts-Gottesdienst
artist: 'Pfr. Rainer Heuschneider'
start: '10:00'
2025-12-31:
name: Silvester-Gottesdienst
artist: 'Pfr. Rainer Heuschneider'
start: '17: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