From a30906e887602a227da2a5230bd3f412cf47a2f5 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Mon, 2 Dec 2013 22:59:52 +0100 Subject: [PATCH] Support for a closingsong by config --- config.py | 2 +- seopardy.conf.dist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 8cca1e1..6db983b 100644 --- a/config.py +++ b/config.py @@ -26,7 +26,7 @@ def _check_missing_keys(conf, sec, mandatory, users_choice=[]): def check_config(conf): main_keys = ["music", "savedir", "playerInput"] - music_keys = ["startSong", "questionSong"] + music_keys = ["startSong", "questionSong", "closingSong"] _check_missing_keys(conf, "main", main_keys) _check_missing_keys(conf["music"], "music", music_keys) diff --git a/seopardy.conf.dist b/seopardy.conf.dist index 753cf84..af0ee5d 100644 --- a/seopardy.conf.dist +++ b/seopardy.conf.dist @@ -16,6 +16,7 @@ music: startSong: path/to/theme_song.mp3 questionSong: path/to/question_song.mp3 + closingSong: null # change to path, default is /tmp/seopardy/ savedir: /tmp/seopardy/