2010-11-05 15:54:15 +01:00
|
|
|
############################################
|
|
|
|
# pypo - configuration #
|
|
|
|
############################################
|
|
|
|
|
2010-11-08 22:54:54 +01:00
|
|
|
# Set the type of client you are using.
|
|
|
|
# Currently supported types:
|
|
|
|
# 1) "obp" = Open Broadcast Platform
|
2011-01-05 18:31:49 +01:00
|
|
|
# 2) "airtime"
|
2010-11-08 22:54:54 +01:00
|
|
|
#
|
2011-01-05 18:31:49 +01:00
|
|
|
api_client = "airtime"
|
2010-11-08 22:54:54 +01:00
|
|
|
|
2010-11-05 15:54:15 +01:00
|
|
|
############################################
|
2011-04-15 20:45:10 +02:00
|
|
|
# Cache Directories #
|
|
|
|
# *include* trailing slash !! #
|
2010-11-05 15:54:15 +01:00
|
|
|
############################################
|
2011-04-15 20:45:10 +02:00
|
|
|
cache_dir = '/var/tmp/airtime/pypo/cache/'
|
|
|
|
file_dir = '/var/tmp/airtime/pypo/files/'
|
|
|
|
tmp_dir = '/var/tmp/airtime/pypo/tmp/'
|
|
|
|
|
|
|
|
############################################
|
|
|
|
# Setup Directories #
|
|
|
|
# Do *not* include trailing slash !! #
|
|
|
|
############################################
|
|
|
|
cache_base_dir = '/var/tmp/airtime/pypo'
|
|
|
|
bin_dir = '/usr/lib/airtime/pypo'
|
|
|
|
log_base_dir = '/var/log/airtime'
|
|
|
|
pypo_log_dir = '/var/log/airtime/pypo'
|
|
|
|
liquidsoap_log_dir = '/var/log/airtime/pypo-liquidsoap'
|
2010-11-05 15:54:15 +01:00
|
|
|
|
2010-11-30 00:34:22 +01:00
|
|
|
############################################
|
|
|
|
# Liquidsoap settings #
|
|
|
|
############################################
|
|
|
|
ls_host = '127.0.0.1'
|
|
|
|
ls_port = '1234'
|
2010-11-08 22:54:54 +01:00
|
|
|
|
2011-03-23 06:09:27 +01:00
|
|
|
############################################
|
|
|
|
# RabbitMQ settings #
|
|
|
|
############################################
|
|
|
|
rabbitmq_host = 'localhost'
|
|
|
|
rabbitmq_user = 'guest'
|
|
|
|
rabbitmq_password = 'guest'
|
2011-12-06 03:05:28 +01:00
|
|
|
rabbitmq_vhost = '/'
|
2011-03-23 06:09:27 +01:00
|
|
|
|
2010-11-30 00:34:22 +01:00
|
|
|
############################################
|
|
|
|
# pypo preferences #
|
|
|
|
############################################
|
|
|
|
prepare_ahead = 24 #in hours
|
|
|
|
cache_for = 24 #how long to hold the cache, in hours
|
2010-11-08 22:54:54 +01:00
|
|
|
|
2010-11-30 00:34:22 +01:00
|
|
|
# Poll interval in seconds.
|
|
|
|
#
|
2011-03-23 22:07:59 +01:00
|
|
|
# This will rarely need to be changed because any schedule changes are
|
|
|
|
# automatically sent to pypo immediately.
|
2010-11-30 00:34:22 +01:00
|
|
|
#
|
2011-03-23 22:07:59 +01:00
|
|
|
# This is how often the poll script downloads new schedules and files from the
|
|
|
|
# server in the event that no changes are made to the schedule.
|
2010-11-30 00:34:22 +01:00
|
|
|
#
|
2011-03-23 06:09:27 +01:00
|
|
|
poll_interval = 3600 # in seconds.
|
2010-11-08 22:54:54 +01:00
|
|
|
|
2010-11-12 23:07:01 +01:00
|
|
|
|
2010-11-30 00:34:22 +01:00
|
|
|
# Push interval in seconds.
|
|
|
|
#
|
|
|
|
# This is how often the push script checks whether it has something new to
|
|
|
|
# push to liquidsoap.
|
|
|
|
#
|
|
|
|
# It's hard to imagine a situation where this should be more than 1 second.
|
|
|
|
#
|
2011-03-23 06:09:27 +01:00
|
|
|
push_interval = 1 # in seconds
|
2010-11-12 23:07:01 +01:00
|
|
|
|
2010-11-30 00:34:22 +01:00
|
|
|
# 'pre' or 'otf'. 'pre' cues while playlist preparation
|
|
|
|
# while 'otf' (on the fly) cues while loading into ls
|
|
|
|
# (needs the post_processor patch)
|
|
|
|
cue_style = 'pre'
|
2012-02-24 19:12:50 +01:00
|
|
|
|
|
|
|
############################################
|
|
|
|
# Recorded Audio settings #
|
|
|
|
############################################
|
|
|
|
record_bitrate = 256
|
|
|
|
record_samplerate = 44100
|
|
|
|
record_channels = 2
|
|
|
|
record_sample_size = 16
|
|
|
|
|
|
|
|
#can be either ogg|mp3, mp3 recording requires installation of the package "lame"
|
|
|
|
record_file_type = 'ogg'
|
|
|
|
|
|
|
|
# base path to store recordered shows at
|
|
|
|
base_recorded_files = '/var/tmp/airtime/show-recorder/'
|