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

34 lines
1.2 KiB
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"
quiet_on_start: false # If true, bot starts in quiet mode (no announcements)
2025-02-24 11:08:25 -08:00
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
help: # Help message templates
specific_format: "\x02{prefix}{cmd}\x02: {desc}" # Format for specific command help
list_format: "(\x02{cmd}\x02, {desc})" # Format for commands in list
list_separator: " | " # Separator between commands in list
2025-02-24 11:08:25 -08:00
admin:
users: # List of users who can use admin commands (use "*" for anyone)
- "*"