Browse Source

Support for a closingsong by config

Sebastian Lohff 6 years ago
parent
commit
a30906e887
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      config.py
  2. 1
    0
      seopardy.conf.dist

+ 1
- 1
config.py View File

@@ -26,7 +26,7 @@ def _check_missing_keys(conf, sec, mandatory, users_choice=[]):
26 26
 
27 27
 def check_config(conf):
28 28
 	main_keys = ["music", "savedir", "playerInput"]
29
-	music_keys = ["startSong", "questionSong"]
29
+	music_keys = ["startSong", "questionSong", "closingSong"]
30 30
 
31 31
 	_check_missing_keys(conf, "main", main_keys)
32 32
 	_check_missing_keys(conf["music"], "music", music_keys)

+ 1
- 0
seopardy.conf.dist View File

@@ -16,6 +16,7 @@
16 16
 music:
17 17
     startSong:       path/to/theme_song.mp3
18 18
     questionSong:    path/to/question_song.mp3
19
+    closingSong:     null
19 20
 
20 21
 # change to path, default is /tmp/seopardy/
21 22
 savedir: /tmp/seopardy/

Loading…
Cancel
Save