MainRadiotalkCustom
Общие вопросы по интернет радио вещанию
6   •   Посмотреть все темы

помогите

 

38
IIIeik @IIIeik
добрый вечер ,помагите сделать резервный канал для смены авто диджея ,канал я сделал всё работает но при отключении диджея музыки нету помагите сделать чтоб на резерве крутился дамп с той точки на которой сидел dj

сервер icecast2
платформа ubuntu

Отредактировано IIIeik - 04.10.2010
6245
Тарас @tarasian666
fallback как настроен? покажите конфиг

38
IIIeik @IIIeik
<mount>
<mount-name>/live</mount-name>
<max-listeners>500</max-listeners>
<burst-size>65536</burst-size>
<password>****</password>
<fallback-mount>/livenonstop</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>

<mount>
<mount-name>/livenonstop</mount-name>
<max-listeners>500</max-listeners>
<password>****</password>
</mount>

6245
Тарас @tarasian666
а сам /livenonstop проигрывается нормально?

38
IIIeik @IIIeik
на него переключается нормально но как сделать чтоб на нём хуть чтото играло ?

6245
Тарас @tarasian666
на него надо что то "пускать"
а как вы хотели?

38
IIIeik @IIIeik
ну у меня есть ices но я не могу его настроить чтоб он подключался при отключении DJ + в логе ошибок много и не поднимается ону

6245
Тарас @tarasian666
он должен постоянно быть подключен к /livenonstop

38
IIIeik @IIIeik
вот лог запуска

[2010-10-05 10:57:16] INFO ices-core/main IceS 2.0.1 started...
[2010-10-05 10:57:16] INFO signals/signal_usr1_handler Metadata update requested
[2010-10-05 10:57:16] EROR playlist-basic/playlist_basic_get_next_filename Couldn't stat file "playlist.txt": No such file or directory
[2010-10-05 10:57:16] INFO playlist-builtin/playlist_read No more filenames available, end of playlist
[2010-10-05 10:57:16] EROR stream/ices_instance_stream Failed initial connect to 127.0.0.1:8000 (Login failed: Success)
[2010-10-05 10:57:16] DBUG reencode/reencode_clear Clearing reencoder
[2010-10-05 10:57:16] DBUG input/input_loop An instance died, removing it
[2010-10-05 10:57:16] DBUG input/input_flush_queue Input queue flush requested
[2010-10-05 10:57:16] INFO input/input_loop All instances removed, shutting down...
[2010-10-05 10:57:16] INFO ices-core/main Shutdown complete

6245
Тарас @tarasian666
IIIeik пишет:

Couldn't stat file "playlist.txt":

38
IIIeik @IIIeik
я инглиш не знаю ((

6245
Тарас @tarasian666
туго прийдется вам...
плейлиста не видит

38
IIIeik @IIIeik
всё указал путь теперь ещё 1 ошибка

[2010-10-05 21:03:14] INFO ices-core/main IceS 2.0.1 started...
[2010-10-05 21:03:14] INFO signals/signal_usr1_handler Metadata update requested
[2010-10-05 21:03:14] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/etc/ices2/music/playlist.txt"
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m1.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m2.mp3"
[2010-10-05 21:03:14] WARN playlist-builtin/playlist_read Corrupt or missing data in file (/etc/ices2/music/m2.mp3)
[2010-10-05 21:03:14] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/m1.mp3"

Отредактировано IIIeik - 05.10.2010
6245
Тарас @tarasian666
плейлист неверный, пишите абсолютый путь к файлам

38
IIIeik @IIIeik
так это и есть полный путь

38
IIIeik @IIIeik
проблему понял у меня стоял ices2 он не читал mp3 поставил ices 0.4 теперь бьёт ошибку при запуске

Cannot use config file (no XML support).
Ices Exiting...

6245
Тарас @tarasian666
собран ices без нужной библиотеки

38
IIIeik @IIIeik
какой именно ?

6245
Тарас @tarasian666
точно не помню, смотрите лог конфигурирования там пишет

38
IIIeik @IIIeik
вот лог конфигурации подцкажи а то я слепой

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for file... /usr/bin/file
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib.h... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for unistd.h... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for errno.h... yes
checking for malloc.h... yes
checking for stdarg.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for time.h... yes
checking for ieeefp.h... no
checking for nan.h... no
checking for math.h... yes
checking for fp_class.h... no
checking for float.h... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for strftime... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for snprintf... yes
checking for finite... yes
checking for isnand... no
checking for fp_class... no
checking for class... no
checking for fpclass... no
checking for strftime... (cached) yes
checking for localtime... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for connect... yes
checking for isnan... yes
checking for isinf... yes
checking host system type... x86_64-unknown-linux-gnu
checking for append_history in -lhistory... no
checking for main in -ltermcap... no
checking for readline in -lreadline... no
updating cache ./config.cache
creating ./config.status
creating libxml.spec
creating Makefile
creating doc/Makefile
creating example/Makefile
sed: can't read ./example/Makefile.in: No such file or directory
creating xml-config
creating win32config.h
creating libxml.pc
creating config.h