ОсновноеRadiotalkПользовательское
Технологии вещания, софт, скрипты
3   •   Посмотреть все темы

По поводу воспроизведения джинглов.

 

33
df-skitels @df-skitels
Вопрос по поводу размещения джинглов в эфире в нон стопе!
Как?
Задаю вопрос, ибо не нашел ничего на форуме!

6245
Тарас @tarasian666
нонстоп на чем основан?

833
metra52 @metra52
ices у него.)

6245
Тарас @tarasian666
тогда подключаем модуль perl

33
df-skitels @df-skitels
а можно уточнить какой именно модуль перл следует подключить?

6245
Тарас @tarasian666
у ices он один, и пример тоже с ним называется ices.pm.dist

33
df-skitels @df-skitels
к сожалению я его нечаяно стер)))
кто поможет восстановить файл? мне бы его текст))

6245
Тарас @tarasian666
# At least ices_get_next must be defined. And, like all perl modules, it
# must return 1 at the end.

# Function called to initialize your python environment.
# Should return 1 if ok, and 0 if something went wrong.

sub ices_init {
print "Perl subsystem Initializing:\n";
return 1;
}

# Function called to shutdown your python enviroment.
# Return 1 if ok, 0 if something went wrong.
sub ices_shutdown {
print "Perl subsystem shutting down:\n";
}

# Function called to get the next filename to stream.
# Should return a string.
sub ices_get_next {
print "Perl subsystem quering for new track:\n";
return "/home/chad/music/A Perfect Circle - Reinholder.mp3";
}

# If defined, the return value is used for title streaming (metadata)
sub ices_get_metadata {
return "Artist - Title (Album, Year)";
}

# Function used to put the current line number of
# the playlist in the cue file. If you don't care
# about cue files, just return any integer.
sub ices_get_lineno {
return 1;
}

return 1;