Thursday, July 15, 2021

Raspberry PI Internet Radio

I'm current using the RPI 2b to output internet radio to the headphone jacks, which are then connected to an external amplifier and speakers. Occasionally I switch to HDMI. To get HDMI working on Raspberry Pi 2b. Simply edit /boot/config.txt to get HDMI working by uncomment this line:

hdmi_force_hotplug=1

However, this breaks headphone output. When attempting raspi-config option 7 (advanced) would not switch to headphone from HDMI for audio, so had to comment out above line.

Also, alsa mixer breaks audio controls in mopidy/iris, so need to be commented out in file: /etc/mopidy/mopidy.conf

#[audio]

#mixer = alsamixer

Mopidy still crashes on a regualar basis. There appears to be a deadlock  with http-server (tornado). At the moment, I must  restart the mopidy process on a regular basis using this command:

                sudo systemctl restart mopidy