-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_config.yaml
66 lines (63 loc) · 1.91 KB
/
example_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Configuration of the memcache servers
memcache:
servers:
- localhost:11211
# Configuration for the SQL database
database:
# Database type, can either be 'mysql', 'postgresql', or 'sqlite'
type: mysql
# Server host
host: 127.0.0.1
# Server port
port: 3306
# Database name, or SQLite database file
name: radiosite
# Database user to login as
user: wessie
# Database password to use with the login
password: hackme
# Scattered options for the audio media.
media:
# Path to the directory with music files
directory: /my/music/directory
streamer:
icecast:
# Icecast port
port: 8000
# Icecast host
host: localhost
# Icecast password
passwd: hackme
# Icecast user
user: AFK
# Mountpoint to use
mount: /main.mp3
# Format of the audio, can be MP3 and OGG
format: MP3
# Protocol to use, icecast uses HTTP
protocol: HTTP
# The following are all optional
# Icecast genre to send
genre: Weeaboo
# URL to send to icecast
url: http://r-a-d.io/
# Description for the stream
description: Request at the site!
# Name of the stream
name: R/a/dio
# Channels in the audio data
channels: 2
# Bitrate/Quality of the stream
quality: 4
bitrate: 192
# Samplerate of the stream
samplerate: 44100
rpc:
# The host.. often localhost yes
host: localhost
# The port the RPC should be hosted on
port: 65432
# Note: Both of the above values are also used when connected, so if you run a piece of
# hanyuu somewhere else and need to connect to a streamer RPC this should be the
# information required for that.
# Warning: The above is very bad since we don't use any authentication for the RPC.