Enable rivendell setting to push audio metadata to stream

This commit is contained in:
Dave Pedu 2014-12-14 19:17:49 -08:00
parent ba0b5e059f
commit 0a9e189580
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,8 @@ MAINTAINER Dave P
# Create rduser (password is rduser)
RUN useradd --create-home --groups sudo,audio rduser ; \
echo "rduser:rduser" | chpasswd
echo "rduser:rduser" | chpasswd ;
locale-gen en
# Install edcast_jack prereqs

View File

@ -19,6 +19,8 @@ if [ $DBS -eq 0 ] ; then
chown -R rduser /var/snd
# Create default database
DISPLAY=:0 rdadmin --check-db --mysql-admin-user=root --mysql-admin-password=root --mysql-admin-hostname=127.0.0.1 --mysql-admin-dbname=Rivendell
# Enable icecast plugin
echo "INSERT INTO NOWNEXT_PLUGINS VALUES (1,'`hostname`',0,'/usr/lib/rivendell/rlm_icecast2.rlm','/etc/rd.icecast.conf');" | mysql -u root -proot Rivendell
fi
rdadmin --check-db