|
Добро пожаловать на Форум RadioCMS. |
Форум доступен только для чтения. |
Опции темы | Опции просмотра |
#1
|
|||
|
|||
![]()
Собственно проблема вот в чем. Запускаю сервер. И у меня играет 1-2 песни друг за другом. В плей листе порядка 30 композиций (в cms). Проверяю playlist.txt там 2 шт. Не понял почему... Значит если в плей листе по нажимаю на композициях на кнопку со значком Play то они у меня появляются в playlist.txt. Собственно вопрос. Что могло пойти не так, из за чего вот такая вот беда?
Конфиги: ezstream.xml Код:
<ezstream> <url>http://5.63.152.74:8000/play</url> <sourcepassword>******</sourcepassword> <format>MP3</format> <filename>/home/playlist.txt</filename> <shuffle>0</shuffle> <playlist_program>0</playlist_program> <svrinfoname>VARG</svrinfoname> <svrinfourl>http://5.63.152.74/</svrinfourl> <svrinfogenre>Rock</svrinfogenre> <svrinfodescription>Radio VARG</svrinfodescription> <svrinfobitrate>128</svrinfobitrate> <svrinfochannels>2</svrinfochannels> <svrinfosamplerate>44100</svrinfosamplerate> <svrinfopublic>1</svrinfopublic> </ezstream> Код:
<icecast> <limits> <clients>100</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> <burst-on-connect>1</burst-on-connect> <burst-size>65535</burst-size> </limits> <authentication> <source-password>******</source-password> <relay-password>******</relay-password> <admin-user>admin</admin-user> <admin-password>******</admin-password> </authentication> <hostname>localhost</hostname> <listen-socket> <port>8000</port> </listen-socket> <fileserve>1</fileserve> <mount> <mount-name>/play</mount-name> <charset>CP1251</charset> </mount> <paths> <logdir>/usr/local/share/icecast/logs</logdir> <webroot>/usr/local/share/icecast/web</webroot> <adminroot>/usr/local/share/icecast/admin</adminroot> <alias source="/" dest="/status.xsl"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>3</loglevel> <logsize>10000</logsize> </logging> <security> <chroot>0</chroot> <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast> Код:
*/3 * * * * wget http://5.63.152.74/radio/event.php -O event.php При проверке крона выдает следующее: root@radio:~# wget http://5.63.152.74/radio/event.php -O event.php --2012-07-23 01:29:17-- http://5.63.152.74/radio/event.php Connecting to 5.63.152.74:80... connected. HTTP request sent, awaiting response... 200 OK Length: 109 [text/html] Saving to: `event.php' 100%[================================================== ================================================== ===============>] 109 --.-K/s in 0s 2012-07-23 01:29:17 (18,9 MB/s) - `event.php' saved [109/109] Что не так? Последний раз редактировалось mizoff; 24.07.2012 в 08:25. |
#2
|
|||
|
|||
![]()
вопрос в том где у тебя в кроне прописана команда?
|