ОсновноеRadiotalkПользовательское
Общие вопросы по интернет радио вещанию
8   •   Посмотреть все темы

На всей маунтах проигрывается один плейлист (Isecast2 и Ices2).

 

6
Arseniusz @Arseniusz
Здравствуйте. Есть несколько маунтов с разными плейлистами, но на всех маунтах крутится только один плейлист (krolik.ogg). В чем может быть проблема? Все находится на vds. Ubuntu

icecast.xml
  1.  
  2. <icecast>
  3. <location>Earth</location>
  4. <admin>icemaster@localhost</admin>
  5. <limits>
  6. <clients>100</clients>
  7. <sources>2</sources>
  8. <threadpool>5</threadpool>
  9. <queue-size>524288</queue-size>
  10. <client-timeout>30</client-timeout>
  11. <header-timeout>15</header-timeout>
  12. <source-timeout>10</source-timeout>
  13. <burst-on-connect>1</burst-on-connect>
  14. <burst-size>65535</burst-size>
  15. </limits>
  16. <authentication>
  17. <source-password>******</source-password>
  18. <relay-password>******</relay-password>
  19. <admin-user>admin</admin-user>
  20. <admin-password>******</admin-password>
  21. </authentication>
  22. <hostname>localhost</hostname>
  23. <listen-socket>
  24. <port>8000</port>
  25. </listen-socket>
  26. <fileserve>1</fileserve>
  27. <paths>
  28. <basedir>/usr/share/icecast2</basedir>
  29. <logdir>/var/log/icecast2</logdir>
  30. <webroot>/usr/share/icecast2/web</webroot>
  31. <adminroot>/usr/share/icecast2/admin</adminroot>
  32. <alias source="/" destination="/status.xsl"/>
  33. </paths>
  34. <logging>
  35. <accesslog>access.log</accesslog>
  36. <errorlog>error.log</errorlog>
  37. <loglevel>3</loglevel>
  38. <logsize>10000</logsize>
  39. </logging>
  40. <mount>
  41. <mount-name>/example1.ogg</mount-name>
  42. <password>******</password>
  43. <max-listeners>100</max-listeners>
  44. <charset>cp1251</charset>
  45. <public>0</public>
  46. <stream-name>SubwayFm non-stop stream</stream-name>
  47. <stream-description>creative commons stream</stream-description>
  48. <stream-url>localhost</stream-url>
  49. <genre>Ambient</genre>
  50. <bitrate>64</bitrate>
  51. <type>audio/mpeg</type>
  52. <subtype>ogg</subtype>
  53. <hidden>0</hidden>
  54. </mount>
  55. <mount>
  56. <mount-name>/teststream.ogg</mount-name>
  57. <password>******</password>
  58. <max-listeners>100</max-listeners>
  59. <charset>cp1251</charset>
  60. <public>0</public>
  61. <stream-name>tech stream</stream-name>
  62. <stream-description>tech stream</stream-description>
  63. <stream-url>localhost</stream-url>
  64. <genre>ANY</genre>
  65. <bitrate>64</bitrate>
  66. <type>audio/mpeg</type>
  67. <subtype>ogg</subtype>
  68. <hidden>0</hidden>
  69. </mount>
  70. <mount>
  71. <mount-name>/krolik.ogg</mount-name>
  72. <password>******</password>
  73. <max-listeners>100</max-listeners>
  74. <charset>cp1251</charset>
  75. <public>0</public>
  76. <stream-name>krolik stream</stream-name>
  77. <stream-description>krolik stream</stream-description>
  78. <stream-url>localhost</stream-url>
  79. <genre>ANY</genre>
  80. <bitrate>64</bitrate>
  81. <type>audio/mpeg</type>
  82. <subtype>ogg</subtype>
  83. <hidden>0</hidden>
  84. </mount>
  85. </icecast>

ices-playlist.xml
  1.  
  2. <?xml version="1.0"?>
  3. <ices>
  4. <background>1</background>
  5. <logpath>/var/log/ices</logpath>
  6. <logfile>ices.log</logfile>
  7. <loglevel>4</loglevel>
  8. <consolelog>0</consolelog>
  9. <stream>
  10. <metadata>
  11. <name>SubwayFm non-stop stream</name>
  12. <genre>Ambient</genre>
  13. <description>creative commons stream</description>
  14. </metadata>
  15. <input>
  16. <module>playlist</module>
  17. <param name="type">basic</param>
  18. <param name="file">/etc/ices2/playlist.txt</param>
  19. <param name="random">1</param>
  20. <param name="restart-after-reread">1</param>
  21. <param name="once">0</param>
  22. </input>
  23. <instance>
  24. <hostname>localhost</hostname>
  25. <port>8000</port>
  26. <password>******</password>
  27. <mount>/example1.ogg</mount>
  28. <reconnectdelay>2</reconnectdelay>
  29. <reconnectattempts>5</reconnectattempts>
  30. <maxqueuelength>80</maxqueuelength>
  31. <encode>
  32. <nominal-bitrate>64000</nominal-bitrate>
  33. <samplerate>44100</samplerate>
  34. <channels>2</channels>
  35. </encode>
  36. </instance>
  37. </stream>
  38. <stream>
  39. <metadata>
  40. <name>SubwayFm TEST stream</name>
  41. <genre>ANY</genre>
  42. <description>tech stream</description>
  43. </metadata>
  44. <input>
  45. <module>playlist</module>
  46. <param name="type">basic</param>
  47. <param name="file">/etc/ices2/testplaylist.txt</param>
  48. <param name="random">1</param>
  49. <param name="restart-after-reread">1</param>
  50. <param name="once">0</param>
  51. </input>
  52. <instance>
  53. <hostname>localhost</hostname>
  54. <port>8000</port>
  55. <password>******</password>
  56. <mount>/teststream.ogg</mount>
  57. <reconnectdelay>2</reconnectdelay>
  58. <reconnectattempts>5</reconnectattempts>
  59. <maxqueuelength>80</maxqueuelength>
  60. <encode>
  61. <nominal-bitrate>64000</nominal-bitrate>
  62. <samplerate>44100</samplerate>
  63. <channels>2</channels>
  64. </encode>
  65. </instance>
  66. </stream>
  67. <stream>
  68. <metadata>
  69. <name>krolik stream</name>
  70. <genre>ANY</genre>
  71. <description>krolik stream</description>
  72. </metadata>
  73. <input>
  74. <module>playlist</module>
  75. <param name="type">basic</param>
  76. <param name="file">/etc/ices2/krolikplaylist.txt</param>
  77. <param name="random">1</param>
  78. <param name="restart-after-reread">1</param>
  79. <param name="once">0</param>
  80. </input>
  81. <instance>
  82. <hostname>localhost</hostname>
  83. <port>8000</port>
  84. <password>******</password>
  85. <mount>/krolik.ogg</mount>
  86. <reconnectdelay>2</reconnectdelay>
  87. <reconnectattempts>5</reconnectattempts>
  88. <maxqueuelength>80</maxqueuelength>
  89. <encode>
  90. <nominal-bitrate>64000</nominal-bitrate>
  91. <samplerate>44100</samplerate>
  92. <channels>2</channels>
  93. </encode>
  94. </instance>
  95. </stream>
  96. </ices>

0
31
Estel @Estel
Arseniusz пишет:

Здравствуйте. Есть несколько маунтов с разными плейлистами, но на всех маунтах крутится только один плейлист (krolik.ogg). В чем может быть проблема? Все находится на vds. Ubuntu


<sources>2</sources>

<mount>
<mount-name>/example1.ogg</mount-name>
<password>******</password>
<max-listeners>100</max-listeners>
<charset>cp1251</charset>
<public>0</public>
<stream-name>SubwayFm non-stop stream</stream-name>
<stream-description>creative commons stream</stream-description>
<stream-url>localhost</stream-url>
<genre>Ambient</genre>
<bitrate>64</bitrate>
<type>audio/mpeg</type>
<subtype>ogg</subtype>
<hidden>0</hidden>
</mount>

<mount>
<mount-name>/teststream.ogg</mount-name>
<password>******</password>
<max-listeners>100</max-listeners>
<charset>cp1251</charset>
<public>0</public>
<stream-name>tech stream</stream-name>
<stream-description>tech stream</stream-description>
<stream-url>localhost</stream-url>
<genre>ANY</genre>
<bitrate>64</bitrate>
<type>audio/mpeg</type>
<subtype>ogg</subtype>
<hidden>0</hidden>
</mount>

<mount>
<mount-name>/krolik.ogg</mount-name>
<password>******</password>
<max-listeners>100</max-listeners>
<charset>cp1251</charset>
<public>0</public>
<stream-name>krolik stream</stream-name>
<stream-description>krolik stream</stream-description>
<stream-url>localhost</stream-url>
<genre>ANY</genre>
<bitrate>64</bitrate>
<type>audio/mpeg</type>
<subtype>ogg</subtype>
<hidden>0</hidden>
</mount>


Ну как бы тут ты просто добавил несколько маунтов, причем одинаковых по функционалу) <sources>2</sources> стоит 2 ресурса, а у тебя их аж 3.... а в настройках вещалки, на каждый поток стоит плей лист? в плеере какие потоки указываешь?

Отредактировано Estel - 10.09.2014
0
31
Estel @Estel
стерто

Отредактировано Estel - 10.09.2014
0
6
Arseniusz @Arseniusz
Estel пишет:


Ну как бы тут ты просто добавил несколько маунтов, причем одинаковых по функционалу) <sources>2</sources> стоит 2 ресурса, а у тебя их аж 3.... а в настройках вещалки, на каждый поток стоит плей лист? в плеере какие потоки указываешь?


<sources> изменил. А что вы имеете в виду под плеером? ices? /example1.ogg, /teststream.ogg, /krolik.ogg

Вроде да, на каждый поток свой плэйлист.

Отредактировано Arseniusz - 11.09.2014
0
6
Arseniusz @Arseniusz
вот последние логи

  1.  
  2. [2014-09-11 03:27:10] INFO ices-core/main IceS 2.0.2 started...
  3. [2014-09-11 03:27:10] INFO signals/signal_usr1_handler Metadata update requested
  4. [2014-09-11 03:27:10] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/etc/ices2/krolikplaylist.txt"
  5. [2014-09-11 03:27:10] DBUG playlist-basic/shuffle Playlist has been shuffled
  6. [2014-09-11 03:27:10] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/krolikstream/Pierlo_-_02_-_Passion_Unlimited_Beat_to_the_Feeling_94_Version.ogg"
  7. [2014-09-11 03:27:10] INFO stream/ices_instance_stream Connected to server: localhost:8000/krolik.ogg
  8. [2014-09-11 03:27:10] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
  9. [2014-09-11 03:27:10] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
  10. [2014-09-11 03:27:10] INFO stream/ices_instance_stream Connected to server: localhost:8000/test.ogg
  11. [2014-09-11 03:27:10] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
  12. [2014-09-11 03:27:10] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
  13. [2014-09-11 03:27:10] INFO stream/ices_instance_stream Connected to server: localhost:8000/subwayfmNonStop.ogg
  14. [2014-09-11 03:27:10] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
  15. [2014-09-11 03:27:10] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000

0





Согласие на обработку данных на нашем сайте

Продолжая просматривать страницу, вы соглашаетесь с использованием файлов «Cookie» и с Политикой конфиденциальности «Privacy».
Наверху или внизу страницы вы можете изменить валюту и язык по умолчанию. Английская версия сайта ещё находится в доработке и доступна не полностью.