Select Git revision
example.config.py
-
Sofiane Lasri authoredSofiane Lasri authored
example.config.py 796 B
debug = False
filesExtension = ".wav"
blankPauseDuration = 0
musicMinIntroDelay = 5
musicMaxIntroDelay = 15
introFolder = "intro"
adsProbability = 0.25
newsProbability = 0.25
volume = 75
# Regex
idPattern = "((id)|(ID))_([0-9]){2}"
monoSoloPattern = "((mono)|(MONO))_((solo)|(SOLO))"
generalPattern = "(general)|(GENERAL_([0-9]){2})"
musicPatten = "^(?:(?!(" + idPattern + "|" + monoSoloPattern + "|" + generalPattern + "|(.*([A-Z])_([0-9]){2})|intro|to|time)).)+$"
musicIntro = "REPLACEMEWITHMSUICTITLE_([0-9]){2}"
# Radio specific
musicPatterns = ["ID, GENERAL, MUSIC", "ID, MUSIC", "GENERAL, MUSIC",
"ID, GENERAL, MUSIC"]
adsAndNewsPatterns = ["AD, AD, NEWS", "AD, AD", "NEWS", "MONO_SOLO, AD", "AD, MONO_SOLO", "MONO_SOLO, NEWS",
"NEWS, MONO_SOLO"]