€
$
₴
₽
EN
RU
Vmeste.EU
Лента
Каталог
Файлы
Форумы
Услуги
Основное
Radiotalk
Пользовательское
Технологии вещания, софт, скрипты
3 •
Посмотреть все темы
Нужна ваша помощь!
1
9
eeros
@eeros
02.08.2010
Показать текст
; AutoDumpUsers controls whether listeners are disconnected if the source
; stream disconnects. The default is 0.
AutoDumpUsers=0
; AutoDumpSourceTime specifies how long, in seconds, the source stream is
; allowed to be idle before the server disconnects it. 0 will let the source
; stream idle indefinately before disconnecting. The default is 30.
AutoDumpSourceTime=30
; ContentDir specifies the directory location on disk of where to stream
; on-demand content from. Subdirectories are supported as of DNAS 1.8.2.
; Default is ./content, meaning a directory named content in the same directory
; as where sc_serv was invoked from.
; ContentDir=./content
; IntroFile can specify a mp3 file that will be streamed to listeners right
; when they connect before they hear the live stream.
; Note that the intro file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps).
; The default is no IntroFile
; IntroFile=c:\intro%d.mp3
; BackupFile can specify a mp3 file that will be streamed to listeners over
; and over again when the source stream disconnects. AutoDumpUsers must be
; 0 to use this feature. When the source stream reconnects, the listeners
; are rejoined into the live broadcast.
; Note that the backup file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps).
; The default is no BackupFile
; BackupFile=C:\intro%d.mp3
; TitleFormat specifies a format string for what title is sent to the listener.
; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even
; when the source changes the title. You can use up to one '%s' in the string
; which lets you contain the title from the source. For example, if your
; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is
; 'Billy plays the blues', then the net title is
; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers.
; The default is no format string.
; TitleFormat=Justin Radio: %s
Я так понимаю, тут можно поставить музыку если нет потока в эфире
Помогите сделать конфиг? учитывая что песня лежит на диске C в папке Radio
Отредактировано eeros -
02.08.2010
6245
Тарас
@tarasian666
02.08.2010
Ответ в конфиге, секция 'бекапфайл'
9
eeros
@eeros
02.08.2010
Я понимаю, но есть файл у меня radio.mp3 так и надо указать?
6245
Тарас
@tarasian666
02.08.2010
eeros
пишет:
; BackupFile=C:\intro%d.mp3
вот же пример
9
eeros
@eeros
02.08.2010
Я не могу понять я написал radio.mp3 музыка не воспроизводиться. или надо как то по другому, помогите пожалуйста.
6245
Тарас
@tarasian666
02.08.2010
битрейт указан?
9
eeros
@eeros
02.08.2010
т.е? надо radio32.mp3 так?
; BackupFile=C:\radio32.mp3
Правильно?
6245
Тарас
@tarasian666
02.08.2010
без ;
и пробуйте
9
eeros
@eeros
02.08.2010
Показать текст
; AutoDumpUsers controls whether listeners are disconnected if the source
; stream disconnects. The default is 0.
AutoDumpUsers=0
; AutoDumpSourceTime specifies how long, in seconds, the source stream is
; allowed to be idle before the server disconnects it. 0 will let the source
; stream idle indefinately before disconnecting. The default is 30.
AutoDumpSourceTime=30
; ContentDir specifies the directory location on disk of where to stream
; on-demand content from. Subdirectories are supported as of DNAS 1.8.2.
; Default is ./content, meaning a directory named content in the same directory
; as where sc_serv was invoked from.
ContentDir=./content
; IntroFile can specify a mp3 file that will be streamed to listeners right
; when they connect before they hear the live stream.
; Note that the intro file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps).
; The default is no IntroFile
IntroFile=c:\scpromo.mp3
; BackupFile can specify a mp3 file that will be streamed to listeners over
; and over again when the source stream disconnects. AutoDumpUsers must be
; 0 to use this feature. When the source stream reconnects, the listeners
; are rejoined into the live broadcast.
; Note that the backup file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps).
; The default is no BackupFile
BackupFile=C:\radio320.mp3
вот что у меня прописано, всё равно не работает. Вот файл прописан radio320 на диске С он тоже должен быть radio320?
6245
Тарас
@tarasian666
02.08.2010
я не помню, неужели так сложно самому попробовать?
9
eeros
@eeros
02.08.2010
Я пробовал, не работает. файл на диске называется radio320.
6245
Тарас
@tarasian666
02.08.2010
в конфиге вместо 320 пишите %d
9
eeros
@eeros
02.08.2010
О, спасибо, заработало!
Но если в эфире нет потока, то он просто не воспроизводит музыку.
а когда подключаюсь к радио и есть поток играет то что я указал.
Получается нельзя сделать так что если в эфире нет потока поставить интро файл?
6245
Тарас
@tarasian666
02.08.2010
нет в эфире потока - играет бекап файл, есть поток - играет поток и точка.
Если у вас что то не так - ваша вина и разбирайтесь далее сами.
9
eeros
@eeros
02.08.2010
Получается если к серверу не подключен SAM то бекап файл должен всё равно проиграться?
6245
Тарас
@tarasian666
02.08.2010
так и есть, только что сам проверял
9
eeros
@eeros
02.08.2010
я вот как проверял, подключил SAM к серверу, интро играло, в SAM выбрал Дисконект, BackupFile тоже проигрался. Но при повторном подключении для прослушивания, не чего не играет. SAM уже был отключен.