icecast2 apache2 apache2-suexec jackd libjack-jackd2-dev vorbis-tools procps meterbridge fluxbox \
vnc4server vncviewer swh-plugins jack-rack libshout3 libshout3-dev libmad0-dev libogg-dev g++ \
libgstreamer0.10-0 gstreamer0.10-plugins-good gstreamer0.10-plugins-base gstreamer0.10-plugins-bad \
- gstreamer-tools git-core python-pip
+ gstreamer-tools git-core python-pip make
-Optional::
+Cleanup::
sudo aptitude remove --purge pulseaudio
+
+Additional formats::
+
sudo aptitude install libfaac-dev libmp3lame-dev libflac-dev
Note that obtaining and installing a preempt RT kernel is STRONGLY advised to get a good audio (JACK) stability.
/etc/telecaster/telecaster.xml
-and, ONLY if needed::
+and tune your configuration according with your JACK setup, vnc port, icecast passwords, twitter keys, deefuzzer conf, etc...::
/etc/default/jackd
/etc/default/vncserver
+ /etc/default/icecast2
+ /etc/icecast2/icecast.xml
+ /etc/telecaster/deefuzzer_safe.xml
+ /etc/telecaster/deefuzzer.xml
+
+For more infos on how to configure the deefuzzer streaming tool, see ::
+ http://svn.parisson.org/deefuzzer
+ https://github.com/yomguy/DeeFuzzer
5. Start audio deamons
------------------------
Enable the VirtualHost::
+ sudo a2enmod suexec
sudo a2ensite telecaster.conf
Maybe remove the default VirtualHost::
7. Usage
----------
-Browse the TeleCaster web control page:
+Browse the TeleCaster web control page::
http://localhost/telecaster/telecaster.py
Contact
=========
-Any questions, suggestions ? Please post a ticket on the dev platform:
+Any questions, suggestions ? Please post a ticket on the dev platform::
https://github.com/yomguy/TeleCaster-CGI
-or contact the main developer:
+or contact the main developer::
Guillaume Pellerin <yomguy@parisson.com>
shutil.rmtree(install_dir)
shutil.copytree(app_dir, install_dir,ignore=shutil.ignore_patterns('edcast-jack*', 'deefuzzer*', '*.svn*', '*.bzr*'))
os.system('chown -R ' + user + ':' + user + ' ' + install_dir)
+os.system('chmod 755 ' + install_dir + 'telecaster.py')
+
+dir = '/var/www/rss'
+if not os.path.exists(dir):
+ os.mkdir(dir)
+os.system('chown -R ' + user + ':' + user + ' ' + dir)
+
+dir = '/var/www/m3u'
+if not os.path.exists(dir):
+ os.mkdir(dir)
+os.system('chown -R ' + user + ':' + user + ' ' + dir)
conf_dir = '/etc/telecaster'
if not os.path.exists(conf_dir):