This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
radiod.conf.boombox
127 lines (97 loc) · 3.27 KB
/
radiod.conf.boombox
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
# Raspberry Pi Internet Radio Configuration File (26 pin version)
# $Id: radiod.conf.boombox,v 1.1 2017/09/06 09:10:20 bob Exp $
# Configuration file for version 5.4 onwards
[RADIOD]
# loglevel is CRITICAL,ERROR,WARNING,INFO,DEBUG or NONE
loglevel=DEBUG
# Startup option either RADIO or MEDIA (USB stick) or AUTO
startup=AUTO
# Set date format, US format = %H:%M %m/%d/%Y
dateformat=%H:%M %d/%m/%Y
# Volume range 10, 20, 25, 50 or 100
volume_range=20
# MPD port number (Do not change unless MPD reconfigured)
mpdport=6600
# Remote control communication host and port Default localhost 5100
remote_control_host=localhost
remote_control_port=5100
# Remote control UDP server listen host either 0.0.0.0 (All interfaces) or localhost
remote_listen_host=localhost
# Output LED for remote control, default GPIO 11 (pin 23) or
# GPIO 13 (pin 33) for AdaFruit plate or PiFace CAD (40 pin RPi needed)
# remote_led=0 is no output LED
remote_led=11
# Display playlist number in brackets yes or no
display_playlist_number=no
# Station name source, either from the stream (stream) or use playlist names (list)
station_names=list
# Background colours (If supported) See Adafruit RGB plate
# options OFF, RED, GREEN, BLUE, YELLOW, TEAL, VIOLET, WHITE
bg_color=WHITE
mute_color=VIOLET
shutdown_color=TEAL
error_color=RED
search_color=GREEN
info_color=BLUE
menu_color=YELLOW
source_color=TEAL
sleep_color=OFF
# The i2cbackpack is either ADAFRUIT or PCF8574
#i2c_backpack=PCF8574
i2c_backpack=ADAFRUIT
# The i2c_address overides the default i2c address. 0x00 = use default
# Some backpacks use other addresses such as 0x3F, then set i2c_address=0x3F
i2c_address=0x00
# Speech for visually impaired or blind listeners, yes or no
# Needs espeak package - sudo apt-get install espeak
speech=no
# Speech volume as a percentage of the normal MPD volume
speech_volume=60
# Verbose - yes = each station change is spoken
verbose=no
# MPD version 0.16 requires the mpc load command to use the playlist extension
# so set to yes, MPD version 0.19 does not use the playlist extension so
# set it to no
use_playlist_extensions=no
# Down switch GPIO setting, if using a HiFiberry/IQAudio DAC+ set to 10
down_switch=17
#down_switch=10
# Other switch settings
menu_switch=25
mute_switch=4
up_switch=18
left_switch=14
right_switch=15
# LCD GPIO connections
lcd_select=7
lcd_enable=8
lcd_data4=27
lcd_data5=22
lcd_data6=23
lcd_data7=24
# If using IQAudio set lcd_data5 to use another GPIO
#lcd_data5=6
# LCD screen width, 0 use program default. Usual settings 16 or 20
lcd_width=0
# Some rotary switches do not work well with the standard rotary class
# Rotary encoder driver. Set to "alternative" to use the alternative rotary encoder class
rotary_class=standard
#rotary_class=alternative
# The following settings are only used by the retro_radio.py program
# Uncomment to use - change GPIO assignments as required
# RGB Status LED GPIO settings
#rgb_green=27
#rgb_red=23
#rgb_blue=22
# Menu rotary switch GPIO settings (retro_radio.py only)
# Uncomment to use - change GPIO assignments as required
#menu_switch_value_1=24
#menu_switch_value_2=8
#menu_switch_value_4=7
[AIRPLAY]
# Airplay activation yes or no
airplay=yes
# Mixer preset volume for radio and media player (Not Airplay)
mixer_volume=85
# Mixer volume ID (Airplay)
mixer_volume_id=6