Skip to content
Snippets Groups Projects
Commit 922fc083 authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

changes in lqs (up to 5 outs and 5 stream outs possible), adapted requirements and README

parent 43269ad0
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,8 @@ On a debian machine: ...@@ -23,9 +23,8 @@ On a debian machine:
sudo apt install \ sudo apt install \
git \ git \
python3 python3-pip \ python3 python3-pip \
redis-server redis-tools \ redis-server \
liquidsoap liquidsoap-plugin-alsa liquidsoap-plugin-flac liquidsoap-plugin-icecast liquidsoap-plugin-pulseaudio \ liquidsoap liquidsoap-plugin-alsa liquidsoap-plugin-flac liquidsoap-plugin-icecast liquidsoap-plugin-pulseaudio \
libev4 libev-dev \
mariadb-server libmariadbclient-dev \ mariadb-server libmariadbclient-dev \
quelcom quelcom
``` ```
...@@ -35,16 +34,16 @@ sudo apt install \ ...@@ -35,16 +34,16 @@ sudo apt install \
```bash ```bash
sudo pip3 install \ sudo pip3 install \
Flask Flask-Babel Flask-SQLAlchemy Flask-WTF \ Flask Flask-SQLAlchemy \
mysqlclient redis simplejson mutagen mysqlclient redis simplejson \
pyev python-dateutil mutagen validators
``` ```
#### get the code #### Grab the code
git clone https://gitlab.servus.at/autoradio/engine git clone https://gitlab.servus.at/autoradio/engine
#### Set Up a database #### Set up a database
```bash ```bash
mysql -u root -p mysql -u root -p
...@@ -61,7 +60,8 @@ Create the audio folder defined in your aura.ini ...@@ -61,7 +60,8 @@ Create the audio folder defined in your aura.ini
```bash ```bash
mkdir /var/audio mkdir /var/audio
mkdir /etc/aura mkdir /etc/aura
cp {where you cloned the repo}/configuration/aura.ini /etc/aura/aura.ini cp {where you cloned the repo}/configuration/engine.ini /etc/aura/engine.ini
edit engine.ini to your needs
``` ```
edit installation dir and database settings in aura.ini edit installation dir and database settings in aura.ini
...@@ -87,3 +87,21 @@ AURA Engine ist tested with an ASUS Xonar DGX. It should work with every by ALSA ...@@ -87,3 +87,21 @@ AURA Engine ist tested with an ASUS Xonar DGX. It should work with every by ALSA
#### Hard/Soft #### Hard/Soft
When you use ALSA, you will have to play around with ALSA settings. In the folder ./modules/liquidsoap is a scipt called alsa_settings_tester.liq. You can start it with 'liquidsoap -v --debug alsa_settings_tester.liq'. Changing and playing with settings can help you to find correct ALSA settings. When you use ALSA, you will have to play around with ALSA settings. In the folder ./modules/liquidsoap is a scipt called alsa_settings_tester.liq. You can start it with 'liquidsoap -v --debug alsa_settings_tester.liq'. Changing and playing with settings can help you to find correct ALSA settings.
### Recordings
You can configure up to five recorders. You find the settings in the main config file engine.ini. You can choose between wav, flac, ogg or mp3 output
### Streams
You can configure up to five streams. You find the settings in the engine.ini. You can choose between aac, aacplus, fdkaac, flac, mp3, ogg, opus stream
If you experience 'hangs' on the stream
* reduce the quality or
* invest in better hardware or
* install the realtime kernel
```bash
apt install linux-image-rt-amd64
reboot
```
Should be sufficient.
\ No newline at end of file
Flask==0.12.2 Flask==0.12.2
Flask-Babel==0.11.2 Flask-Babel==0.11.2
Flask-SQLAlchemy==2.2 Flask-SQLAlchemy==2.3.2
Flask-WTF==0.14.2
mysqlclient==1.3.7 mysqlclient==1.3.7
redis==2.10.5 redis==2.10.6
simplejson==3.11.1 simplejson==3.11.1
mutagen==1.38 mutagen==1.40
python-dateutil==2.6.0 python-dateutil==2.6.0
validators==0.12.1 validators==0.12.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment