|
Добро пожаловать на Форум RadioCMS. |
Форум доступен только для чтения. |
Опции темы | Опции просмотра |
#11
|
|||
|
|||
![]()
ну вот.. cron:
*/3 * * * * radiocms /usr/bin/php /srv/www/radiocms/radio/event.php Как и было у Вас на сайте в конфиге ezstream прописан путь до /srv/www/radiocms/conf/playlist.txt и всё... что не так? Вот что выдал скрипт event.php 122 -vsego ok-c-uОтладочная информация 03.14.11 15:42 -allowtime 03.14.11 15:42 -allowtime - event1_auto vnizu Нет заказов |
#12
|
|||
|
|||
![]()
И ее вопрос?
как именно cms передаёт ezstream'у задания вещать тот или иной трек? Если через плейлист, то как происходит обновление плейлиста в ezstream... как он узнаёт, что надо играть лист с начала? А может ли не воспроизводится джингл или ролик если он на рус. языке, либо вместо исполнитель стоят знаки ???? Потому что препрослушка не пашет, сменил на английские буквы предпрослушка заработала. Последний раз редактировалось Traxinit; 14.03.2011 в 14:43. |
#13
|
|||
|
|||
![]() Цитата:
Цитата:
И вы ещё не показали конфиг езстреама. |
#14
|
|||
|
|||
![]()
<ezstream>
<url>http://localhost:8008/dance_autodj</url> <sourcepassword>pass</sourcepassword> <!-- Since the reencoding feature is enabled below, <format /> sets the output format of the stream. --> <format>MP3</format> <filename>/srv/www/radiocms/conf/playlist.txt</filename> <!-- Indicate that <filename> contains an executable program or script, which prints a single line with a filename to standard output: --> <playlist_program>0</playlist_program> <!-- The following settings are used to describe your stream to the server. It's up to you to make sure that the bitrate/samplerate/channels information matches up with your lame encoder settings below. --> <svrinfoname>Название радио</svrinfoname> <svrinfourl>http://адрес сайта</svrinfourl> <svrinfogenre>Жанр</svrinfogenre> <svrinfodescription>кradi_DJ</svrinfodescription> <svrinfobitrate>128</svrinfobitrate> <svrinfochannels>2</svrinfochannels> <svrinfosamplerate>44100</svrinfosamplerate> <!-- Prohibit the server to advertise the stream on a public YP directory: --> <svrinfopublic>0</svrinfopublic> <reencode> <!-- Enable the reencoding feature: --> <enable>1</enable> <!-- Each <encdec /> element specifies a pair of programs to be used for decoding and encoding, respectively, and which file extension and output stream format they apply to. All the configuration of the output stream is usually done by using the appropriate command line parameters of the encoders in the <encode /> elements. New <encdec /> sections can be added for new input/output formats. Distorted audio, or audio playing at the wrong speed/pitch may be caused by conflicting sample rates in the various <decode /> and <encode /> sections, byte order (endianness) issues and mono input files. See the documentation on the various de-/encoders for the options that need to be used to create a consistent stream of raw samples. --> <encdec> <!-- Support for MP3 decoding via madplay, and encoding via LAME: --> <format>MP3</format> <match>.mp3</match> <!-- Note: madplay uses host byte order for raw samples. --> <!-- <decode>madplay -b 16 -R 44100 -S -o raw:- "@T@"</decode> --> <decode>lame -h --preset cbr 128 -s 44.1 --bitwidth 16 "@T@" -</decode> </encdec> </reencode> </ezstream> |
#15
|
|||
|
|||
![]()
И конфиг замените на тот который на нашем сайте. Стандартный использовать нельзя.
|
#16
|
|||
|
|||
![]()
Заменил все как сказали. из плей листа с роликами играет почему то только постоянно 1 и тот же, остальные нет хотя они добавлены в эфир...
И еще создал плей лист с программой, поставил каждый четверг в 23.00 но так не воспроизводится играет основный плей лист только |
#17
|
|||
|
|||
![]() |