radio/config/station.yaml
profit 3d635b742c Initial commit: self-hosted personal radio station
Flask + React web UI with audio player, podcast queue, feed management,
episode browser, music library, schedule viewer, and log tail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 19:01:33 -07:00

68 lines
1.4 KiB
YAML

# Local Radio Station Configuration
station:
name: "Local Radio"
description: "Personal automated radio station"
icecast:
host: "localhost"
port: 8000
source_password: "localradio_source"
mount: "/stream"
audio:
# Output format: "mp3" or "opus"
format: "mp3"
# Bitrate in kbps (for mp3: 128, 192, 256, 320; for opus: 64-256)
bitrate: 320
samplerate: 44100
channels: 2
music:
base_path: "/opt/localradio/media/music"
fallback_path: "/opt/localradio/media/fallback"
# File extensions to include
extensions:
- "*.mp3"
- "*.flac"
- "*.ogg"
- "*.opus"
- "*.m4a"
- "*.wav"
# Schedule blocks define which music folder plays at what times.
# Times are in 24-hour format. Each block specifies:
# days: list of weekday numbers (1=Monday ... 7=Sunday)
# start: HH:MM
# end: HH:MM
# folder: subfolder name under music.base_path
schedule:
- name: "Weekday Morning"
days: [1, 2, 3, 4, 5]
start: "06:00"
end: "12:00"
folder: "morning"
- name: "Weekday Afternoon"
days: [1, 2, 3, 4, 5]
start: "12:00"
end: "18:00"
folder: "day"
- name: "Weekday Evening & Night"
days: [1, 2, 3, 4, 5]
start: "18:00"
end: "06:00"
folder: "night"
- name: "Weekend"
days: [6, 7]
start: "00:00"
end: "23:59"
folder: "weekend"
podcasts:
queue_dir: "/opt/localradio/state/queue"
download_dir: "/opt/localradio/media/podcasts"
db_path: "/opt/localradio/state/radio.db"