forked from stunndard/goicy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoicy.ini
128 lines (92 loc) · 2.79 KB
/
goicy.ini
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[server]
; server type
; must be either 'icecast' or 'shoutcast'
server = icecast
; icecast/shoutcast host and port
host = 127.0.0.1
port = 8000
; icecast mountpoint
; valid only for icecast servers
; has no meaning if server is 'shoutcast'
mount = test
; icecast/shoutcast source password
password = hackme
; how many times goicy should try to reconnect to a server before giving up
connectionattempts = 5
;------
[stream]
; stream type
; must be 'file' or 'ffmpeg'
streamtype = ffmpeg
; stream format
; mp3 or aac
format = aac
; stream name
name = lost in space station
; stream description
description = get lost in space!
; stream url
url = http://radio.goicy
; stream genre
genre = h ego z
; set public to 1 to publish your stream in icecast/shoutcast
; yp directory, 0 otherwise
public = 0
;------
[ffmpeg]
; path to the ffmpeg executable
; can be just ffmpeg or ffmpeg.exe if ffmpeg is in PATH
; ffmpeg should be configured with --enable libfdk_aaac
ffmpeg = ffmpeg-hi10-heaac
; whether to reencode stream with ffmpeg or not
; will only work if stream type is 'ffmpeg' above
; 0 = can be useful when you need to stream some ffmpeg source as is, without reencoding, for example https, icecast or any other input supported by ffmpeg
; if it is 0, then the below parameters don't do nothing and the format will be the same as the source
; you still need to properly set the stream format to 'mpeg' or 'aac' above
; 1 = ffmpeg will always reencode your source and stream it as the below format
reencode = 1
; sample rate in Hz
samplerate = 44100
; channels
; 1 = mono, 2 stereo
channels = 2
; ffmpeg bitrate for MPEG or AAC
bitrate = 192000
; AAC profile
; must be 'lc', 'he', 'hev2'
; valid only for stream format AAC
aacprofile = lc
;------
[playlist]
; playlist type. must be 'internal' or 'lua'
playlisttype = internal
; playlist file.
; if playlisttype is 'internal', then playlist is a file
; with track file names, one file on a string
; if playlisttype is 'lua', then playlist is a lua script with some predefined
; functions that are called by goicy
playlist = /some/path/playlist.txt
; random play order flag, 1 for random, 0 for sequential
; only valid if playlisttype is 'internal'
; has no meaning if playlisttype is 'lua'
playrandom = 0
;-------
[misc]
; pid file for the goicy daemon. works on linux only
; ignored totally on windows
pidfile = /var/run/goicy.pid
; send-ahead buffer size in seconds
buffersize = 3
; whether to update stream metadata from ID3 tags.
; 1 to enable, 0 to disable updating.
updatemetadata = 1
; script file
script = script.lua
; nowplay temporary file. used to resume play from the same track
; between subsequent goicy runs.
npfile = np.tmp
; goicy log file
logfile = /some/path/goicy.log
; logging verbosity
; set to 0 for normal log, or 1 to be more verbose
loglevel = 1