-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
33 lines (20 loc) · 883 Bytes
/
config.py
File metadata and controls
33 lines (20 loc) · 883 Bytes
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
__author__ = 'mbrebion'
pathToMusic="/home/pi/Music/"
radios=[]
radios.append(["France Inter","http://direct.franceinter.fr/live/franceinter-midfi.mp3"])
radios.append(["France Info","http://direct.franceinfo.fr/live/franceinfo-midfi.mp3"])
radios.append(["France Culture","http://direct.franceculture.fr/live/franceculture-midfi.mp3"])
radios.append(["Rire & Chansons","http://cdn.nrjaudio.fm/audio1/fr/30401/mp3_128.mp3?origine=fluxradios"])
# rotaries
rotOne=[11,15,13]
rotTwo=[19,23,21]
buttons=[10,8,16,18]
kind = "small" # small for rpi zero + 2 lines LCD, big for rpi 3B + 4 lines LCD
#lcdLines=4
iTwoCAddr=0x27 # use 0x3f in case of trouble
# param of local player
entries=["radios","localMusic","cd"] # top menus that are available on the device
# host ip address
name="piMain"
# backlight param
blDelay=10 # backlight time in s (negative for unlimited)