The broadcast playout configuration for Airtime is shown in the file /etc/airtime/liquidsoap.cfg which is automatically generated by the Streams page, found on the System menu of the Airtime administration interface. For this reason, you would not normally edit the configuration manually, as any changes are likely to be overwritten by the administration interface.
Optionally, you may wish to edit the file /etc/airtime/airtime.conf to set the PostgreSQL database host, and the username and password to connect to the database with:
sudo nano /etc/airtime/airtime.conf
You can also set options for RabbitMQ messaging, the Airtime server and SoundCloud uploads in this file, although you should not normally need to adjust the defaults.
[database] host = localhost dbname = airtime dbuser = airtime dbpass = airtime [rabbitmq] host = 127.0.0.1 port = 5672 user = guest password = guest vhost = / [general] api_key = XXXXXXXXXXXXXXXXXXXX web_server_user = www-data airtime_dir = /usr/share/airtime base_url = localhost base_port = 80 ;How many hours ahead of time should Airtime playout engine (PYPO) ;cache scheduled media files. cache_ahead_hours = 1 [monit] monit_user = guest monit_password = airtime [soundcloud] connection_retries = 3 time_between_retries = 60Save and close the file with Ctrl+O and Ctrl+X. If you have changed the database settings, you should now run the command:
to make sure all of Airtime's database configuration files are updated. This command should output the following text to the server console:
Airtime root folder found at /usr/share/airtime Updating /usr/share/airtime/application/configs/application.ini Updating /usr/share/airtime/build/build.properties Updating /usr/share/airtime/build/runtime-conf.xml Success!