Eclipse — табуляция
for existing Java file press Ctrl-A to highlight everything and then Ctrl-I to apply current indents. Otherwise existing tabs will prevent spaces in new lines created with Enter. It also replaces existing tabs with spaces
for existing Java file press Ctrl-A to highlight everything and then Ctrl-I to apply current indents. Otherwise existing tabs will prevent spaces in new lines created with Enter. It also replaces existing tabs with spaces
Устанавливаем tv_grab_dvb
apt-get install php5-cli mysql-client php5-mysql php5-pgsql
cd /usr/src
svn co http://www.darkskiez.co.uk/svn/tv_grab_dvb/trunk tv_grab_dvb
cd tv_grab_dvb/
make
cp tv_grab_dvb /usr/local/bin/
Устанавливаем скрипт, который объединяет EPG со всех транспондеров в один файл
wget -O/usr/local/bin/iptv_xmltv_from_dvb.php http://www.sokolov.me/iptv/linuxstreamer/iptv_xmltv_from_dvb.php
chmod 755 /usr/local/bin/iptv_xmltv_from_dvb.php
Шедулим в кроне
*/40 * * * * /usr/local/bin/iptv_xmltv_from_dvb.php -a0,1,2,3,4 -o /var/www/tvprogram.xml