Merge /fml/ag-raetsch/home/maan/scm/paraslash_meins/paraslash
[paraslash.git] / fade.ggo
1 section "general options"
2 #########################
3
4 option "mode" o
5 #~~~~~~~~~~~~~~
6
7 "{sleep|fade|snooze}"
8         string default="sleep"
9         optional
10
11 option "config_file" c
12 #~~~~~~~~~~~~~~~~~~~~~
13  "(default='~/.paraslash/fade.conf')"
14         string typestr="filename"
15         optional
16
17 option "mixer_device" m
18 #~~~~~~~~~~~~~~~~~~~~~~
19  "mixer device file"
20         string typestr="device"
21         default="/dev/mixer"
22         optional
23
24 section "sleep options (only relevant in sleep mode)"
25 #####################################################
26
27 option "sleep_ivol" -
28 #~~~~~~~~~~~~~~~~~~~~
29  "set initial volume before doing anything else"
30         int typestr="volume"
31         default="60"
32         optional
33
34 option "fa_stream" -
35 #~~~~~~~~~~~~~~~~~~~
36  "fall asleep stream. Change to this stream
37 right after setting the volume"
38
39         string typestr="streamname"
40         default="fa"
41         optional
42
43 option "fa_fade" -
44 #~~~~~~~~~~~~~~~~~
45  "fall asleep fading time, no fading if set
46 to 0"
47         int typestr="seconds"
48         default="1800"
49         optional
50
51 option "fa_vol" -
52 #~~~~~~~~~~~~~~~~
53  "volume to fade to"
54         int typestr="volume"
55         default="20"
56         optional
57
58 option "sleep_stream" -
59 #~~~~~~~~~~~~~~~~~~~~~~
60  "change to this stream after fading, stop
61 playing if unset"
62         string typestr="streamname"
63         default="sleep"
64         optional
65
66 option "wake_hour" H
67 #~~~~~~~~~~~~~~~~~~~
68  "(0-23)"
69         int typestr="hour"
70         default="8"
71         optional
72
73 option "wake_min" M
74 #~~~~~~~~~~~~~~~~~~
75 "(0-59)"
76         int typestr="seconds"
77         default="0"
78         optional
79
80 option "wake_stream" -
81 #~~~~~~~~~~~~~~~~~~~~~
82  "change to this stream on waketime"
83         string typestr="streamname"
84         default="wake"
85         optional
86
87 option "wake_fade" -
88 #~~~~~~~~~~~~~~~~~~~
89  "no fading in if set to 0"
90         int typestr="seconds"
91         default="1200"
92         optional
93
94 option "wake_vol" -
95 #~~~~~~~~~~~~~~~~~~
96  "vol to fade to at waketime"
97         int typestr="volume"
98         default="80"
99         optional
100
101 section "snooze options"
102 ########################
103
104 option "snooze_out_fade" -
105 #~~~~~~~~~~~~~~~~~~~~~~~~~
106  "fade out time"
107         int typestr="seconds"
108         default="30"
109         optional
110
111 option "snooze_out_vol" -
112 #~~~~~~~~~~~~~~~~~~~~~~~~
113  "vol to fade to before snooze"
114         int typestr="volume"
115         default="20"
116         optional
117
118 option "snooze_time" -
119 #~~~~~~~~~~~~~~~~~~~~~
120  "delay"
121         int typestr="seconds"
122         default="600"
123         optional
124
125 option "snooze_in_fade" -
126 #~~~~~~~~~~~~~~~~~~~~~~~~
127  "fade in time"
128         int typestr="seconds"
129         default="180"
130         optional
131
132 option "snooze_in_vol" -
133 #~~~~~~~~~~~~~~~~~~~~~~~
134  "vol to fade to after snooze"
135         int typestr="volume"
136         default="80"
137         optional
138
139 section "fade options"
140 ######################
141
142 option "fade_vol" f
143 #~~~~~~~~~~~~~~~~~~
144  "volume to fade to"
145         int typestr="volume"
146         default="50"
147         optional
148
149 option "fade_time" t
150 #~~~~~~~~~~~~~~~~~~~
151  "time to fade in"
152         int typestr="seconds"
153         default="5"
154         optional