some syntax fix

This commit is contained in:
aouvrard 2018-06-24 23:12:57 +02:00 committed by GitHub
parent fe11c39e99
commit 2aa2c0cd58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
### UPDATE 06-2018
## UPDATE 06-2018
After many trouble with button management, I try install with just mpd (many mpc client are available on smartphone).
1. Config raspbian 9 post-install :
### 1. Config raspbian 9 post-install :
```console
root@raspberrypi:/home/pi# raspi-config
```
@ -10,11 +10,11 @@ configure
* locales
* network
* force audio output on jack and not hdmi
2. Update, upgrade and install mpd
### 2. Update, upgrade and install mpd
```console
root@raspberrypi:/home/pi# apt update && apt upgrade -y && apt install mpc mpd && systemctl enable mpd
```
3. Add your radio link on new file:
### 3. Add your radio link on new file:
```console
root@raspberrypi:/home/pi# nano /var/lib/mpd/playlists/radios.m3u
```
@ -25,9 +25,12 @@ https://chai5she.cdn.dvmr.fr/franceinter-midfi.mp3
#Sing-Sing
http://stream.sing-sing.org:8000/singsing128
```
4. Ajust sound volume (100%)<br/>
`alsamixer`
5. Create bash script who autoplay radios on boot
### 4. Ajust sound volume
```console
pi@raspberrypi:~ $ alsamixer
```
put 100% !!!
### 5. Create bash script who autoplay radios on boot
```console
pi@raspberrypi:~ $ nano /home/pi/autoplay.sh
```
@ -43,7 +46,7 @@ else
mpc play
fi
```
6. Add crontab
### 6. Add crontab
```console
pi@raspberrypi:~ $ crontab -e
```