Вернуться   Форум RadioCMS > RadioCMS > Использование RadioCMS

Добро пожаловать на Форум RadioCMS.
Форум доступен только для чтения.

 
 
Опции темы Опции просмотра
  #1  
Непрочитано 20.02.2012, 01:59
Heroline Heroline вне форума
Junior Member
 
Регистрация: 17.09.2011
Сообщений: 12
По умолчанию Маленькая проблема с подключениям Dj

Помогите поправить конфиг isecast так что бы dj подключались без кнопки прямой эфир.

Код:
<icecast>

<limits>
<clients>10000</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>/lc</mount-name>
<charset>CP1251</charset>
<fallback-mount>/nonstop</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>

<mount>
<mount-name>/nonstop</mount-name>
<charset>CP1251</charset>
</mount> 

    <paths>
		<!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/share/icecast2</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/home/radio</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
      	<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
      	<logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
       
        <changeowner>
            <user>icecast2</user>
            <group>icecast2</group>
        </changeowner>
        
    </security>
</icecast>
P.s. как прописать в консоль в cron что бы icecast и ezstream подымались сами после падения сервера. У меня нет визуальной панельки OC Дебиан.

Спасибо заранее.
Ответить с цитированием
 


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +3, время: 08:26.