Support for a closingsong by config

This commit is contained in:
Sebastian Lohff 2013-12-02 22:59:52 +01:00
parent 97c2440635
commit a30906e887
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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/