Skip to content
Snippets Groups Projects
Commit 0f899870 authored by David Trattnig's avatar David Trattnig
Browse files

Fixed config file name. Updated info on how to install dependencies.

parent a866db0b
No related branches found
No related tags found
No related merge requests found
# AURA Engine # AURA Engine
This piece of Software is part of 'AURA - AUtomated RAdio'. This piece of Software is part of 'AURA - AUtomated RAdio'.
AURA Engine does: AURA Engine does:
* requesting the programme from an external Source * requesting the programme from an external Source
* switches the soundserver at the correct time to a given source for a specific show * switches the soundserver at the correct time to a given source for a specific show
* records what is broadcasted * records what is broadcasted
* streams to an icecast server * streams to an icecast server
* plays to lineout * plays to lineout
...@@ -77,10 +77,7 @@ sudo apt install \ ...@@ -77,10 +77,7 @@ sudo apt install \
#### Python Packages #### Python Packages
```bash ```bash
sudo pip3 install \ sudo pip3 install -r requirements.txt
Flask Flask-SQLAlchemy \
mysqlclient redis simplejson \
mutagen validators
``` ```
#### Grab the code #### Grab the code
...@@ -91,7 +88,7 @@ git clone https://gitlab.servus.at/autoradio/engine ...@@ -91,7 +88,7 @@ git clone https://gitlab.servus.at/autoradio/engine
#### Set up a database #### Set up a database
##### Command line way ##### Command line way
```bash ```bash
mysql -u root -p mysql -u root -p
...@@ -107,7 +104,7 @@ Log into your phpmyadmin or adminer with correct privileges, create a database a ...@@ -107,7 +104,7 @@ Log into your phpmyadmin or adminer with correct privileges, create a database a
#### Files and Folders #### Files and Folders
* Create the audio folder defined in your aura.ini * Create the audio folder defined in your engine.ini
```bash ```bash
mkdir /var/audio mkdir /var/audio
...@@ -116,7 +113,7 @@ cp {where you cloned the repo}/configuration/engine.ini /etc/aura/engine.ini ...@@ -116,7 +113,7 @@ cp {where you cloned the repo}/configuration/engine.ini /etc/aura/engine.ini
edit engine.ini to your needs edit engine.ini to your needs
``` ```
* Edit settings in aura.ini. Take your time for that. * Edit settings in engine.ini. Take your time for that.
#### aura.py #### aura.py
...@@ -137,7 +134,7 @@ Reference: ...@@ -137,7 +134,7 @@ Reference:
http://savonet.sourceforge.net/doc-svn/reference.html http://savonet.sourceforge.net/doc-svn/reference.html
##### Python ##### Python
Reference: Reference:
https://docs.python.org/3.5/ https://docs.python.org/3.5/
#### Interfaces #### Interfaces
...@@ -185,11 +182,11 @@ Well, this is - at least for me - a hard one. I could not manage to find correct ...@@ -185,11 +182,11 @@ Well, this is - at least for me - a hard one. I could not manage to find correct
**If you experience 'hangs' or other artefacts on the output signal** **If you experience 'hangs' or other artefacts on the output signal**
* reduce the quality (especially, when hangs are on the stream) or * reduce the quality (especially, when hangs are on the stream) or
* install the realtime kernel with * install the realtime kernel with
```bash ```bash
apt install linux-image-rt-amd64 apt install linux-image-rt-amd64
reboot reboot
``` ```
or or
* invest in better hardware * invest in better hardware
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