-
Notifications
You must be signed in to change notification settings - Fork 12
Problems you might encounter
This project is made to ease the installation of Libretime on your vps or local machine. In this wiki page will be described some issues you may run into and how to possibly fix them. For installation, check the README and sample installation.
Libretime expects you to visit its web content on port 80 by default and can prevent you from visiting it from any other port/URL because the URL is not in the allowed CORS URLs. You have two tested solutions to work around this:
- Load it up to port 80 a first time, install and in Settings > General you should changed the allowed CORS URLs. Add
http://localhost
/libretime.example.org
/ ... (See screenshot below).
- Refer to issue #7, where tweaking the Docker
EXPOSE
,airtime.conf
and also allowed CORS URLs did the trick.
With this docker image, you have the ability to change the files in usr/local/lib/python3.7/dist-packages/airtime_playout-1.0-py3.7.egg/liquidsoap
, and mostly one called ls_script.liq
which you can edit to change rotations, ads, fail-over behaviors. You don't have to edit it from inside the container as it is exposed (ex: can access from ${USERDIR}/docker/libretime/liquidsoap
in the sample docker-compose.yml
).
The important information is that you need to restart airtime-liquidsoap when doing so. The easiest way of doing that is by running docker exec libretime sh /libre_start.sh
.