1

Тема: Icecast 2.3.2 + Ices 0.4

Приветствую уважаемые форумчане. Необходима небольшая помощь от вас коллеги.
Сначала установил icecast 2.3.2, на нем ведутся радио трансляции в определенное время(примерно с 9 утра до 6 вечера). Затем нужно было сделать так,чтобы радио было нон-стоп. То есть с 6 вечера до 9 утра играла музыка. Решил воспользоваться программой ices 0.4(мп3 воспроизводит в отличии от 2 версии). И тут у меня затык, такого плана:

DEBUG: Sending following information to libshout:
DEBUG: Stream: 0
DEBUG: Mount: /nonstop, Password: xxxxxxxxxxxxx
DEBUG: Name: xxxxxxxx stream 
DEBUG: Genre: Default genre     Desc: xxxxxxxx nonstop
DEBUG: Bitrate: 192     Public: 1
DEBUG: Dump file: (null)
DEBUG: Initializing playlist handler...
DEBUG: Initializing builting playlist handler...
DEBUG: Randomizing playlist...
DEBUG: Startup complete

DEBUG: Builtin playlist handler serving: /media/nonstop/18_will.i.am_-_it_s_my_b
irthday.mp3
DEBUG: Filename cleaned up from [/media/nonstop/18_will.i.am_-_it_s_my_birthday.
mp3] to [18_will.i.am_-_it_s_my_birthday]
DEBUG: ID3v2: version 3.0. Tag size is 240 bytes.
DEBUG: ID3v2: Title found: ▒▒I
DEBUG: ID3v2: Artist found: Will.I.Am
DEBUG: MPEG-1 layer III, 256 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0   Mode_Ext: 2     Copyright: 0    Original: 1
DEBUG: Error Protection: 0      Emphasis: 0     Padding: 0
Playing /media/nonstop/18_will.i.am_-_it_s_my_birthday.mp3
DEBUG: Updated metadata on /nonstop to: Will.I.Am - ▒▒I
Error during send: Mount failed on  http:// xxxxxxx:8001/nonstop, error: Login failed

В конфигах icecast и ices пароли одинаковые. Пробовал ezstream такая же беда. Подозреваю, что-то не то сделал в конфиге icecast но что пока понять не могу.

Конфиг Icecast:

<limits>
        <clients>1000</clients>
        <sources>10</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>0</burst-on-connect>
       <burst-size>0</burst-size>
 </limits>

<authentication>
         <source-password>xxxxxxxxxxxxxxxx</source-password>
         <relay-password>xxxxxxxxxxxxxxxx</relay-password>
         <admin-user>admin</admin-user>
         <admin-password>xxxxxxxxxxxxxxxx</admin-password>
</authentication>

<hostname>xxxxxxxx</hostname>

<listen-socket>
        <port>8001</port>
        <bind-address>IP</bind-address>
        <shoutcast-mount>/xxxxxxx-1</shoutcast-mount>
</listen-socket>

<listen-socket>
        <port>8001</port>
        <bind-address>IP</bind-address>
        <shoutcast-mount>/xxxxxxx-2</shoutcast-mount>
</listen-socket>

<listen-socket>
        <port>8001</port>
        <bind-address>IP</bind-address>
        <shoutcast-mount>/xxxxxxx-3</shoutcast-mount>
</listen-socket>

<listen-socket>
        <port>8001</port>
        <bind-address>IP</bind-address>
        <shoutcast-mount>/nonstop</shoutcast-mount>
</listen-socket>

<mount>
        <mount-name>/xxxxxxx-1</mount-name>
        <username>admin</username>
        <password>xxxxxxxxxxxxxxxx</password>
        <max-listeners>1000</max-listeners>
        <fallback-mount>/nonstop</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>0</fallback-when-full>
        <charset>utf-8</charset>
        <hidden>0</hidden>
        <public>1</public>
</mount>

<mount>
        <mount-name>/xxxxxxx-2</mount-name>
        <username>admin</username>
        <password>xxxxxxxxxxxxxxxx</password>
        <max-listeners>1000</max-listeners>
        <fallback-mount>/nonstop</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>0</fallback-when-full>
        <charset>utf-8</charset>
        <hidden>0</hidden>
        <public>1</public>
</mount>

<mount>
        <mount-name>/xxxxxxx-3</mount-name>
        <username>admin</username>
        <password>xxxxxxxxxxxxxxxx</password>
        <max-listeners>1000</max-listeners>
        <fallback-mount>/nonstop</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>0</fallback-when-full>
        <charset>utf-8</charset>
        <hidden>0</hidden>
        <public>1</public>
</mount>

<mount>
        <mount-name>/nonstop</mount-name>
        <username>admin</username>
        <password>xxxxxxxxxxxxxxxx</password>
        <max-listeners>1000</max-listeners>
        <charset>utf-8</charset>
        <hidden>0</hidden>
        <public>1</public>
    </mount>

<fileserve>1</fileserve>

Остальной конфиг думаю не интересен будет.

Отредактировано Ramzes44 (31-07-2014 23:37:48)

2

Re: Icecast 2.3.2 + Ices 0.4

Конфиг ices:


<Playlist>
     <File>/media/nonstop/playlist.txt</File>
     <Randomize>1</Randomize>
     <Type>builtin</Type>
     <Module>ices</Module>
     <Crossfade>5</Crossfade>
</Playlist>

<Execution>
       <Background>1</Background>
       <Verbose>0</Verbose>
        <BaseDirectory>/tmp</BaseDirectory>
</Execution>

  <Stream>
<Server>
      <Hostname>xxxxxxxx</Hostname>
      <!-- Port of the same -->
      <Port>8001</Port>
      <Password>xxxxxxxxxxxxxxxx</Password>
      <Protocol>http</Protocol>
</Server>

    <Mountpoint>/nonstop</Mountpoint>
    <Name>XXXXXXX stream</Name>
    <Genre>Default genre</Genre>
    <Description>XXXXXXX nonstop</Description>
    <Public>1</Public>

    <Bitrate>192</Bitrate>
    <Reencode>0</Reencode>
     <Channels>2</Channels>
  </Stream>
</ices:Configuration>