hi, I've installed airtime 1.9.3 on a debian 6, and I want to stream to an external server. AFAIK i should change the settings in /etc/airtime/liquidsoap.cfg, and is what I did... this is what it looks like now:
but running airtime-check-system I get:
showing that liquidsoap tries to connect to localhost... what can I do? I tried this command:
from /usr/lib/airtime/pypo/bin/liquidsoap_bin/ folder, and it works, I simply can't change default settings I think... any suggestion?
########################################### # Liquidsoap config file # ########################################### ########################################### # Output settings # ########################################### output_sound_device = false output_icecast_vorbis = false output_icecast_mp3 = true output_shoutcast = false output_bitrate = 64 output_samplerate = 22050 #output_stereo = true ########################################### # Logging settings # ########################################### log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log" #log_level = 3 ########################################### # Icecast Stream settings # ########################################### icecast_host = "stream.yamsproject.org" icecast_port = 8000 icecast_pass = "password" # Icecast mountpoint names mount_point_mp3 = "prova.mp3" mount_point_vorbis = "airtime.ogg" # Webstream metadata settings icecast_url = "http://www.radiomatria.org" icecast_description = "Radio Matria" icecast_genre = "broadcast" # Audio stream metadata for vorbis/ogg is disabled by default # due to a number of client media players that disconnect # when the metadata changes to a new track. Some versions of # mplayer and VLC have this problem. Enable this option at your # own risk! output_icecast_vorbis_metadata = false ########################################### # Shoutcast Stream settings # ########################################### shoutcast_host = "127.0.0.1" shoutcast_port = 9000 shoutcast_pass = "testing" # Webstream metadata settings shoutcast_url = "http://airtime.sourcefabric.org" shoutcast_genre = "genre"
but running airtime-check-system I get:
root@airtime:~# airtime-check-system CPU = AMD Sempron(tm) 145 Processor Total RAM = 902932 kB Free RAM = 667232 kB OS = 6.0.2 Intel 80386 AIRTIME_CONFIG_FILES = OK POSTGRESQL_DATABASE = OK PYTHON_KOMBU_VERSION = 1.2.0 PYTHON_POSTER_VERSION = 0.8.1 PYTHON_MUTAGEN_VERSION = 1.20 PYTHON_PYINOTIFY_VERSION = 0.9.2 RABBITMQ_SERVER = OK AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%% APACHE_CONFIGURED = YES AIRTIME_VERSION = 1.9.3 PLAYOUT_ENGINE_PROCESS_ID = 2122 PLAYOUT_ENGINE_RUNNING_SECONDS = 26 LIQUIDSOAP_PROCESS_ID = LIQUIDSOAP_RUNNING_SECONDS = 0 -- WARNING! It looks like the Liquidsoap engine is continually restarting. -- 2011/09/26 16:31:47 [airtime(dot)ogg:3] Connection failed, will try again in 5 sec. -- 2011/09/26 16:31:53 [airtime(dot)ogg:3] Connecting mount airtime.ogg for source@127.0.0.1... -- 2011/09/26 16:31:53 [airtime(dot)ogg:2] Connection failed: could not connect to host: Connection refused in connect()! -- 2011/09/26 16:31:53 [airtime(dot)ogg:3] Connection failed, will try again in 5 sec. -- 2011/09/26 16:31:55 [main:3] Shutdown started! -- 2011/09/26 16:31:55 [main:3] Waiting for threads to terminate... -- 2011/09/26 16:31:55 [clock.wallclock_main:3] Streaming loop stopped. -- 2011/09/26 16:31:55 [threads:3] Thread "wallclock_main" terminated (0 remaining). -- 2011/09/26 16:31:55 [main:3] Cleaning downloaded files... -- 2011/09/26 16:31:55 >>> LOG END MEDIA_MONITOR_PROCESS_ID = 1623 MEDIA_MONITOR_RUNNING_SECONDS = 37 SHOW_RECORDER_PROCESS_ID = 1607 SHOW_RECORDER_RUNNING_SECONDS = 37 ICECAST_PROCESS_ID = FAILED -- There appears to be problems with your setup. Please visit -- http://wiki.sourcefabric.org/x/HABQ for troubleshooting info. root@airtime:~#
showing that liquidsoap tries to connect to localhost... what can I do? I tried this command:
./liquidsoap 'output.icecast(%mp3, mount="test.ogg", host="stream.yamsproject.org", password="password", sine())'
from /usr/lib/airtime/pypo/bin/liquidsoap_bin/ folder, and it works, I simply can't change default settings I think... any suggestion?