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

icecast2 + icegenerator на FreeBSD

 

4
Disabled @Disabled
tarasian666 пишет:

а запускаються от разных пользователей
поменяйте права с 644 на 666


Всё осталось на прежнем уровне.
Установил ices0, вроде работает стабильно.


В любом случае спасибо за помощь.

Отредактировано Disabled - 16.01.2012
0
3
zikfriddi @zikfriddi
А тут еще есть кто-нибудь?:)
Меня вот очень интересует продолжение:) Так и не запускается icegeneranor.Может кто подскажет?
В логе

"Mon May 27 18:01:23 2013: Insufficient parameters to run Icegenerator"

0
6245
Тарас @tarasian666
похоже конфиг не полный Insufficient parameters

0
3
zikfriddi @zikfriddi
Копировал конфиг от сюда
  1. # IceGenerator sample configuration file
  2. #######################################################
  3. # Server section
  4. #######################################################
  5. # IP (REQUIRED)
  6. IP=192.168.16.180
  7. # Port (REQUIRED)
  8. PORT=8000
  9. # Type (REQUIRED)
  10. # 1 - Icecast 1.3.21 or Shoutcast (ICY protocol compatible)
  11. # 2 - Icecast 2.0 (HTTP protocol compatible)
  12. SERVER=2
  13. # Mount point for MP3/OGG streaming. (REQUIRED)
  14. # REMEMBER TO SET A VIRTUAL MOUNT POINT HERE FOR OGG STREAMING. MANY
  15. # PLAYERS (LIKE WINAMP, XMMS, ETC.) CAN'T AUTO RECOGNIZE OGG STREAMING
  16. # WITHOUT .OGG EXTENSION.
  17. MOUNT=/r.mp3
  18. #######################################################
  19. # User section
  20. #######################################################
  21. # Source user name (usually IceCast is configured for "source"). (REQUIRED)
  22. SOURCE=source
  23. # Server connection password (REQUIRED)
  24. PASSWORD=
  25. #######################################################
  26. # File and playlist section
  27. #######################################################
  28. # Format (REQUIRED)
  29. # 0 - Ogg Vorbis
  30. # 1 - MP3
  31. FORMAT=1
  32. # Path for MP3s/OGGs. (REQUIRED)
  33. # This variable has the following format:
  34. # playlist_type:playlist_data
  35. # where playlist_type is
  36. # pth: list of dirs
  37. # sql: MySQL server table
  38. # pql: PostGreSQL server table
  39. # pls: PLS file
  40. # m3u: M3U file
  41. #
  42. # pth case
  43. # playlist_data is your mp3's directories separated with full commas
  44. # eg: pth:/path1;/path2;path3
  45. #
  46. # pql/sql case
  47. # playlist_data is your PostGreSQL/MySQL connection data (separated with
  48. # full commas) in the following order:
  49. # sql:host;port;user;password;database;table;field where:
  50. # host is SQL server hostname or IP
  51. # port is SQL server port. If 0, default port will be used
  52. # user is SQL user authorized to database read access
  53. # password is SQL user password
  54. # database is SQL db name that contains mp3 data
  55. # table is SQL table of database that contains mp3 data
  56. # field is SQL table's field that contains mp3 pathname
  57. #
  58. # m3u/pls case
  59. # you have to specify a M3U/PLS standard playlist file path.
  60. # eg: pls:/my_path/my_playlist.pls
  61. MP3PATH=pth:/home/user/music
  62. # Set this flag to search recursively from root directories specified (default is disabled)
  63. RECURSIVE=1
  64. # File to record the stream to on the server (default is none)
  65. DUMPFILE=
  66. # Loop playlist (default is enabled)
  67. LOOP=1
  68. # Set this flag to play your music in random order (default is enabled), otherwise
  69. # alphabetic order will be used
  70. SHUFFLE=1
  71. #######################################################
  72. # Information
  73. #######################################################
  74. # In next four variables u can put your metadata information that will be
  75. # sent to clients. You can use any string you want.
  76. # Name of the stream (default none).
  77. NAME=Dzzz
  78. # Genre of the stream (default none).
  79. GENRE=djugadjaga
  80. # Description of the stream (default none).
  81. DESCRIPTION=Your
  82. # Url of the stream (default none).
  83. URL=http://192.168.16.180:8000/r.mp3
  84. # Bitrate of the stream. Its value is purely informational. It doesn't
  85. # affect real bitrate of your MP3s (default 24000).
  86. BITRATE=128000
  87. # Flag to list the stream in directories (default 0)
  88. PUBLIC=0
  89. # Set this flag to specify time elapsed between META information update in seconds
  90. # (default is 5). A value of 0 disables META information, and only NAME value
  91. # will be transmitted.
  92. METAUPDATE=5
  93. # This set global MetaDataFile path for your songs. See README.IceMetal
  94. # for more info.
  95. #MDFPATH=/home/user/music/global.mdf
  96. #######################################################
  97. # Debug and logging information
  98. #######################################################
  99. # Log
  100. # 0 - None
  101. # 1 - System logger
  102. # 2 - File
  103. LOG=2
  104. # Log path
  105. # Specify where you want to log IceG actions. Defaults to /var/log/icegenerator.log
  106. # if not specified
  107. LOGPATH=/var/log/icegenerator.log
  108. #######################################################
  109. # Telnet interface
  110. #######################################################
  111. # Now IceGenerator has a minimal telnet interface that
  112. # receives run-time commands to change IceGenerator
  113. # behaviour while streaming. Case is insensitive.
  114. # ALL COMMAND MUST BE FOLLOWED BY A TRAILING DOT!!!
  115. # Telnet commands are:
  116. # TRACK
  117. # Returns information about current track
  118. # LOOP
  119. # Returns information about current LOOP setting
  120. # LOOPON
  121. # Turns on playlist loop
  122. # LOOPOFF
  123. # Turns off playlist loop
  124. # SHUFFLE
  125. # Returns informations about current SHUFFLE setting
  126. # SHUFFLEON
  127. # Turns on shuffle
  128. # SHUFFLEOFF
  129. # Turns off shuffle
  130. #
  131. # DATAPORT is used to specify telnet port. If not specified, telnet
  132. # interface will be disabled. If 0, 8796 (default port) will be used.
  133. #DATAPORT=8796

Отредактировано zikfriddi - 27.05.2013
0
3
zikfriddi @zikfriddi
Все нашел, я не написал пароль:)....зато ветку поднял!!! Спасибо автору!

0
6
Alexander @KIper
Кто-нибудь запускал icegenerator с чтением плей-листа из мускульной базы?
Оно работает, но не понятно как треки в плей-лист берёт, SHUFFLE=0 в конфиге, а при запуске играет не тот трек, который первый в таблице в БД... А мне надо что бы очерёдность как в таблице была.
К тому же у icegenerator плохой лог-файл, есть ли возможность сделать как у ices - ices.cue? Офигенный файл, хотя бы по тому, что он там первой строкой пишет путь к файлу, который играет, и прогресс есть.
К тому же не умеет crossfade :(

Отредактировано KIper - 25.10.2013
0
13
Фаро @Фаро
Народ помогите мне. Не получается запустить два потока..... целый час мучаюсь. Кто нить пробовал запускать по нескольку потоку :?

0
13
Фаро @Фаро
не могу запустить демон прописал его ко второму потоку

#!/bin/sh
#
# $FreeBSD: ports/audio/icegenerator/files/icegenerator.sh.in,v 1.2 2006/07/10 18:32:31 dougb Exp $
#
# PROVIDE: icegenerator2
# REQUIRE: DAEMON
# BEFORE: login
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable `icegenerator':
#
#icegenerator2_enable="YES"
#icegenerator2_flags=""
#
. "/etc/rc.subr"
name="icegenerator2"
rcvar=`set_rcvar`
command="/usr/local/bin/icegenerator"
command_args="1>/dev/null 2>&1"
required_files="/usr/local/etc/icegenerator.conf.channel2"
sig_stop=KILL
# read configuration and set defaults
load_rc_config "$name"
: ${icegenerator2_enable="NO"}
: ${icegenerator2_flags=""}
run_rc_command "$1"

а он запускает первый поток.... как сделать так чтоб мог запустить другие потоки с помощью этой программы ?

0
6245
Тарас @tarasian666
More options (like icegenerator.conf path, deamon start) are available at command line. Type "icegeneator -h" for synopsys.

0
13
Фаро @Фаро
tarasian666 пишет:

More options (like icegenerator.conf path, deamon start) are available at command line. Type "icegeneator -h" for synopsys.


попробовал все равно также...

Отредактировано Фаро - 28.10.2013
0
13
Фаро @Фаро
проблему решил

Отредактировано Фаро - 07.11.2013
0
13
Фаро @Фаро
проблему решил

Отредактировано Фаро - 07.11.2013
0





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

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