forked from bobrathbone/piradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
radiod.conf.retro
128 lines (99 loc) · 3.52 KB
/
radiod.conf.retro
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
# Raspberry Pi Internet Radio Configuration File (40 Pin version)
# $Id: radiod.conf.retro,v 1.2 2017/05/19 10:34:21 bob Exp $
# Configuration file for version 5.4 onwards
# 40 pin version to support IQ Audio and other sound cards
[RADIOD]
# loglevel is CRITICAL,ERROR,WARNING,INFO,DEBUG or NONE
loglevel=DEBUG
# Startup option either RADIO or MEDIA (USB stick)
startup=RADIO
# 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=50
# 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=0
# 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=yes
# 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
# Switch settings for 40 pin version (support for IQAudio)
menu_switch=25
mute_switch=4
up_switch=17
down_switch=10
left_switch=14
right_switch=15
# Auxillary switch GPIO, 0 = not used
aux_switch=0
# LCD GPIO connections for 40 pin version of the radio
#lcd_select=7
#lcd_enable=8
#lcd_data4=5
#lcd_data5=6
#lcd_data6=12
#lcd_data7=13
# 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_red=23
rgb_green=27
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 if using sound card
# Set to 0 if using onboard audio or USB sound dongle.
# If using a sound card set to 100% initially and adjust as neccessary
mixer_volume=90
# Mixer volume ID (Airplay) Use command 'amixer controls | grep -i volume'
# to identify mixer volume control ID
mixer_volume_id=1