Great project! can you help to fix the issue to connect the IceCast?
./mqtt-radio.py:60: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instea d.
config = configparser.SafeConfigParser()
Read configuration from /home/pi/studiodisplay/python/../config/raspberrypi.cfg
Traceback (most recent call last):
File "./mqtt-radio.py", line 165, in
mqttclient = paho.Client(client_id=config.get(my_section, 'client_id'))
File "/usr/lib/python3.7/configparser.py", line 780, in get
d = self._unify_values(section, vars)
File "/usr/lib/python3.7/configparser.py", line 1146, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'radio'
Great project! can you help to fix the issue to connect the IceCast?
./mqtt-radio.py:60: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instea d. config = configparser.SafeConfigParser() Read configuration from /home/pi/studiodisplay/python/../config/raspberrypi.cfg Traceback (most recent call last): File "./mqtt-radio.py", line 165, in
mqttclient = paho.Client(client_id=config.get(my_section, 'client_id'))
File "/usr/lib/python3.7/configparser.py", line 780, in get
d = self._unify_values(section, vars)
File "/usr/lib/python3.7/configparser.py", line 1146, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'radio'