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). 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 ```console
root@raspberrypi:/home/pi# raspi-config root@raspberrypi:/home/pi# raspi-config
``` ```
@ -10,11 +10,11 @@ configure
* locales * locales
* network * network
* force audio output on jack and not hdmi * force audio output on jack and not hdmi
2. Update, upgrade and install mpd ### 2. Update, upgrade and install mpd
```console ```console
root@raspberrypi:/home/pi# apt update && apt upgrade -y && apt install mpc mpd && systemctl enable mpd 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 ```console
root@raspberrypi:/home/pi# nano /var/lib/mpd/playlists/radios.m3u 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 #Sing-Sing
http://stream.sing-sing.org:8000/singsing128 http://stream.sing-sing.org:8000/singsing128
``` ```
4. Ajust sound volume (100%)<br/> ### 4. Ajust sound volume
`alsamixer` ```console
5. Create bash script who autoplay radios on boot pi@raspberrypi:~ $ alsamixer
```
put 100% !!!
### 5. Create bash script who autoplay radios on boot
```console ```console
pi@raspberrypi:~ $ nano /home/pi/autoplay.sh pi@raspberrypi:~ $ nano /home/pi/autoplay.sh
``` ```
@ -43,7 +46,7 @@ else
mpc play mpc play
fi fi
``` ```
6. Add crontab ### 6. Add crontab
```console ```console
pi@raspberrypi:~ $ crontab -e pi@raspberrypi:~ $ crontab -e
``` ```