git clone https://github.com/mottobug/mp3pi
cd mp3pi
./setup.sh
echo "KERNEL=="wlan*", ACTION=="add", RUN+="/sbin/iwconfig wlan0 power off"" > /etc/udev/rules.d/10-wlan-powersavings-off.rules
add "lcd_rotate=2" to /boot/config.txt
add "avoid_warnings=1" to /boot/config.txt
apt-get install plymouth
plymouth-set-default-theme tribar
Add "quiet splash" to the kernel cmdline /boot/cmdline.txt
add "consoleblank=0" /boot/cmdline.txt
nmcli device wifi list
nmcli device wifi connect "SSID" password "WLANPSK"
Wifi connect to hidden AP:
nmcli c add type wifi con-name ifname wlan0 ssid nmcli device wifi connect "SSID" password "WLANPSK" hidden yes
curl -A "User-Agent: XBMC Addon Radio" 'http://radio.de/info/menu/broadcastsofcategory?category=_top' | jq "." > radio.de.json
jq '[.[]|select(.name=="NDR 2" or .name=="RADIO BOB!")]' < radio.de.json