Fix recording through ecasound
This is part 2 of fixing ecasound recordings from line-in. Part 1 restored the User-Interface, part 2 takes care of getting to the point where ecasound gets started, records something and uploads it through rest when done. Part 3 will take care of making sure that the recorded file is mapped to the show and not just stored as a new track. I refactored api_clients to not use urllib2 for posting multipart data since I was loosing my sanity over it and requests seems to have a modern approach to doing this compared to what api_clients was previously doing.
This commit is contained in:
parent
674f17213f
commit
b267036483
5 changed files with 55 additions and 36 deletions
|
@ -87,6 +87,8 @@ yum install -y \
|
|||
fdk-aac \
|
||||
liquidsoap \
|
||||
silan \
|
||||
ecasound \
|
||||
alsa-utils \
|
||||
icecast \
|
||||
python-pip \
|
||||
selinux-policy \
|
||||
|
@ -155,3 +157,6 @@ systemctl restart httpd
|
|||
# icecast needs to be available to everyone
|
||||
sed -i -e 's@<bind-address>127.0.0.1</bind-address>@<bind-address>0.0.0.0</bind-address>@' /etc/icecast.xml
|
||||
systemctl enable --now icecast
|
||||
|
||||
# let em use alsa
|
||||
usermod -a -G audio apache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue