OpenDigitalRadio Encoder Manager is a tools to run and configure ODR Encoder easly with a WebGUI.
Bug fixes
Requirement
New Feature / Change
Bug fixes
apt install python3-cherrypy3 python3-jinja2 python3-serial python3-yaml supervisor python3-pysnmp4
adduser odr
usermod -a -G dialout odr
usermod -a -G audio odr
cd /home/odr/
git clone https://github.com/YoannQueret/ODR-EncoderManager.git
mv /home/odr/ODR-EncoderManager/config.json.sample /home/odr/ODR-EncoderManager/config.json
ln -s /home/odr/ODR-EncoderManager/supervisor-encoder.conf /etc/supervisor/conf.d/odr-encoder.conf
ln -s /home/odr/ODR-EncoderManager/supervisor-gui.conf /etc/supervisor/conf.d/odr-gui.conf
/etc/supervisor/supervisord.conf
and add this section :
[inet_http_server]
port = 8900
username = user ; Auth username
password = pass ; Auth password
/etc/init.d/supervisor restart
supervisorctl reread; supervisorctl update ODR-encoderManager
http://<ip_address>:8080
joe
and password secret
/etc/supervisor/supervisord.conf
and config.json
filesSet DLS / DL+ for all encoder To set a text metadata used for DLS, use http GET or POST on the Encoder Manager API from your automation software.
As an alternative DLS+ tags are automatically activated if you use artist & title parameters:
Many radio automation software can send this information to Encoder Manager API by using a call of this type (for example)
http://{ip}:8080/api/setDLS?dls=%%artist%% - %%title%%
%%artist%% - %%title%% should be replaced with the expression expected from your radio automation software.
At each events on your playlist (when a track start) the radio automation software will send via this url the appropriate metadata to Encoder Manager API. It will be reflected on the DAB signal.
Set DLS / DL+ for specific encoder (from version V4.0.0) If you want to update DLS / DL+ for a specific encoder, you need to find the uniq_id on Encoder > Manage page under Information button
http://{ip}:8080/api/setDLS?dls={artist}-{title}&uniq_id={00000000-0000-0000-0000-000000000000}
Set SLS for all encoder To send slide used for SLS, use http POST on the Encoder Manager API.
curl -X POST -F 'slide_file=@"live.jpg"' http://{ip}:8080/api/setSLS
Set SLS for specific encoder If you want to update SLS for a specific encoder, you need to find the uniq_id on Encoder > Manage page under Information button
curl -X POST -F 'uniq_id={00000000-0000-0000-0000-000000000000}' -F 'slide_file=@"{file.jpg}"' http://{ip}:8080/api/setSLS
odr ALL=(ALL) NOPASSWD: /sbin/shutdown