[Icecast-dev] Bug in Ices (metadata update on alsa dsnoop device)

Bartlomiej Krajewski bartek at kozanostra.org
Mon Nov 1 10:57:46 PST 2004


Hello

I've discovered, that sending a SIGUSR1 signal to ices causes it's 
shutdown when recording from an alsa dsnoopped device.

> [2004-11-01  18:51:51] INFO signals/signal_usr1_handler Metadata update requested
> [2004-11-01  18:51:51] DBUG metadata/metadata_thread_signal meta thread wakeup
> [2004-11-01  18:51:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
> [2004-11-01  18:51:51] DBUG metadata/metadata_thread_signal reading metadata from "/etc/icecast2/metadata"
> [2004-11-01  18:51:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
> [2004-11-01  18:51:51] DBUG encode/encode_clear Clearing encoder engine
> [2004-11-01  18:51:51] DBUG encode/encode_clear Clearing encoder engine
> [2004-11-01  18:51:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
> [2004-11-01  18:51:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
> [2004-11-01  18:51:51] DBUG encode/encode_clear Clearing encoder engine
> [2004-11-01  18:51:51] DBUG encode/encode_clear Clearing encoder engine
> [2004-11-01  18:51:51] INFO metadata/metadata_thread_signal tag 1 is TITLE= [Radio LUZ]
> [2004-11-01  18:51:51] INFO metadata/metadata_thread_signal tag 2 is ARTIST=Radio LUZ
> [2004-11-01  18:51:51] INFO metadata/metadata_thread_signal tag 3 is COMMENT=Wrzuc na LUZ!
> [2004-11-01  18:51:51] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
> [2004-11-01  18:51:51] DBUG encode/encode_clear Clearing encoder engine
> [2004-11-01  18:51:51] INFO metadata/metadata_thread_signal Updating metadata
> [2004-11-01  18:51:51] DBUG input/input_loop An instance died, removing it
> [2004-11-01  18:51:51] DBUG input/input_flush_queue Input queue flush requested
> [2004-11-01  18:51:51] DBUG input/input_loop An instance died, removing it
> [2004-11-01  18:51:51] DBUG input/input_flush_queue Input queue flush requested
> [2004-11-01  18:51:51] DBUG input/input_loop An instance died, removing it
> [2004-11-01  18:51:51] DBUG input/input_flush_queue Input queue flush requested
> [2004-11-01  18:51:51] DBUG input/input_loop An instance died, removing it
> [2004-11-01  18:51:51] DBUG input/input_flush_queue Input queue flush requested
> [2004-11-01  18:51:51] DBUG input/input_loop An instance died, removing it
> [2004-11-01  18:51:51] DBUG input/input_flush_queue Input queue flush requested
> [2004-11-01  18:51:51] INFO input/input_loop All instances removed, shutting down...
> [2004-11-01  18:51:51] INFO metadata/metadata_thread_signal metadata thread shutting down
> [2004-11-01  18:51:52] INFO ices-core/main Shutdown complete


Here's my asound.conf file:

pcm.alsa-capture {
     ipc_key 1
     type dsnoop
     slave.pcm "hw:0,0"
}

When recording directly from hw:0,0 or oss metadata is updating properly.



Bartlomiej
Akademickie Radio LUZ, Wroclaw, Poland



-- 
Bartłomiej Krajewski
bartek at kozanostra.org



More information about the Icecast-dev mailing list