-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.example.json
91 lines (91 loc) · 1.71 KB
/
config.example.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"ports": {
"http": 8080,
"helper": 5000
},
"station": {
"name": "Radio Name Here",
"description": "Your Description",
"url": "Give him a website",
"public": false
},
"icy": {
"meta_int": 2048
},
"output": {
"samplerate": 44100,
"channels": 2
},
"mp3": {
"enabled": true,
"bitrate": 192,
"normalize": false
},
"opus": {
"enabled": true,
"bitrate": 256
},
"hls": {
"enabled": false,
"segment_length": 5,
"segment_list_length": 6
},
"telegram": {
"token": "YOUR_TELEGRAM_TOKEN",
"apiServer": "https://api.telegram.org",
"startMessage": "Bot Startup Message",
"admin": [ "YOUR_TELEGRAM_USERNAME" ],
"logForward": "@log_channel_here",
"playList": "@play_list_channel_here"
},
"discord": {
"enabled": false,
"bitrate": 256,
"debug": false,
"token": "YOUR_DISCORD_TOKEN",
"startMessage": "",
"admin": [ "DISCORD_USER_ID"],
"streamOptions": {
"seek": 0,
"volume": 1,
"passes": 1
},
"guild": {
"ROOM_ID_HERE" : {
"logForward": "CHATROOM_ID",
"audioChannel": "VOICECHANNEL_ID",
"playList": "CHATROOM_ID"
}
}
},
"timed_broadcast": {
"enabled": true,
"advertisment_track": false,
"advertisment": "Your advertisment message",
"timeFormat": "h A"
},
"http": {
"host": "example.com",
"allowCrossOrigin": true,
"originWhiteList": [
"http://output.jsbin.com",
"https://output.jsbin.com",
"http://fiddle.jshell.net",
"https://fiddle.jshell.net"
],
"__comment__": "empty list means allow all origin"
},
"url_handles": [
"soundcloud",
"youtube"
],
"queueSize": 20,
"loopSize": 20,
"debug": {
"logMemoryUsage": false,
"useJavascriptMixer": false
},
"albumArt": {
"key": "12eb93b01d6313cd01b756768ffb3f0d"
}
}