Icecast-metadata-IRC-announcer/config.yaml.example

31 lines
1015 B
Plaintext
Raw Normal View History

2025-02-23 00:55:11 -08:00
irc:
2025-02-24 11:08:25 -08:00
host: "irc.libera.chat"
port: 6667
nick: "IcecastBot"
user: "icecastbot"
realname: "Icecast IRC Bot"
channel: "#yourchannel"
2025-02-23 00:55:11 -08:00
stream:
2025-02-24 11:08:25 -08:00
url: "https://your.stream.url" # Base URL without /stream or .mp3
endpoint: "/stream" # The endpoint part (e.g. /stream, /radio.mp3)
health_check_interval: 300 # How often to log health status (in seconds)
2025-02-23 00:55:11 -08:00
announce:
2025-02-24 11:08:25 -08:00
format: "\x02Now playing:\x02 {song}" # Format for song announcements
ignore_patterns: # Don't announce songs matching these patterns
2025-02-23 00:55:11 -08:00
- "Unknown"
- "Unable to fetch metadata"
2025-02-24 11:08:25 -08:00
- "Error fetching metadata"
commands:
prefix: "!" # Command prefix (e.g. !np, !help)
require_nick_prefix: false # If true, commands must be prefixed with "botname: " or "botname, "
allow_private_commands: false # If true, allows commands in private messages
admin:
users: # List of users who can use admin commands (use "*" for anyone)
- "*"
logging:
level: "INFO" # Logging level: DEBUG, INFO, WARNING, ERROR, or CRITICAL