morning-report/config/config.example.json5
Cory Sanin 7f45387dac
All checks were successful
NPM Audit Check / Check NPM audit (push) Successful in -2m17s
add weather class
2025-08-23 03:04:28 -05:00

125 lines
2.7 KiB
Plaintext

{
"programs": [
[
"intro music",
"intro",
"hi's and low's",
"notable weather",
"signoff"
]
],
"segments": {
"intro": [
"intro 1",
"intro 2"
],
"hi's and low's": [
"hilo 1",
"hilo 2"
],
"notable weather": [
"rain 1",
"rain 2",
"storm 1",
"storm 2",
"snow 1",
"hail 1"
],
"signoff": [
"signoff 1",
"signoff 2"
]
},
"sequences": {
"intro music": {
"tracks": [
"audio/intro_music.flac"
]
},
"intro 1": {
"tracks": [
"audio/intro_01.flac"
]
},
"intro 2": {
"tracks": [
"audio/intro_02.flac"
]
},
"hilo 1": {
"tracks": [
"audio/hi_01.flac",
"%cory hi",
"audio/lo_01.flac",
"%cory lo"
]
},
"hilo 2": {
"tracks": [
"audio/hi_02.flac",
"%cory hi",
"audio/lo_02.flac",
"%cory lo"
]
},
"rain 1": {
"condition": "weather == rain",
"tracks": [
"audio/rain1.flac"
]
},
"rain 2": {
"condition": "weather == rain",
"tracks": [
"audio/rain2.flac"
]
},
"storm 1": {
"condition": "weather == storm",
"tracks": [
"audio/storm1.flac"
]
},
"storm 2": {
"condition": "weather == storm",
"tracks": [
"audio/storm2.flac"
]
},
"snow 1": {
"condition": "weather == snow",
"tracks": [
"audio/snow1.flac"
]
},
"hail 1": {
"condition": "weather == hail",
"tracks": [
"audio/hail1.flac"
]
},
"signoff 1": {
"tracks": [
"audio/signoff_01.flac"
]
},
"signoff 2": {
"tracks": [
"audio/signoff_02.flac"
]
}
},
"voices": {
"cory": {
"directory": "audio/voice/cory/",
"extension": "flac"
}
},
"weather": {
// Provide an OpenWeatherMap API key
// https://openweathermap.org/price
"key": "not0a0real0key00281f631aef6ad3a1",
"city": "chicago"
}
}