As part of my research for the Airtime manual, I've set up 1.6.0 on a
Lucid amd64 localhost. I've created a two hours and five minutes long
show, scheduled it, and it started playing at the scheduled time (11:23
GMT).
About one hour into the show, the audio output to both ALSA and Icecast
stopped. The Now Playing page is still running, with the progress bars
and the metadata display switching between tracks working fine, but on
the Icecast status page it says:
Current Song: - silence30min
So there are a couple of issues here:
1. The Airtime web interface seems to have no way to tell that output
has failed, even though Icecast knows it's being streamed silence.
2. Some limit seems to have been exceeded at around the one hour point.
Has anyone tested a playlist longer than one hour successfully with
1.6.0? Or is one of the sample tracks corrupted maybe? (It was
Tangerine, by Ofir, that was due to play when the output dropped).
I looked in /var/log/pypo and also at the Icecast logs. All I can see
that's relevant is near the 'end of stream' in the Icecast error log:
[2011-02-23 12:16:36] INFO admin/admin_handle_request Received admin
command metadata on mount "/airtime.mp3"
[2011-02-23 12:16:36] INFO admin/command_metadata Metadata on
mountpoint /airtime.mp3 changed to "Ofir Gal - Gentilia Girl"
[2011-02-23 12:19:33] INFO admin/admin_handle_request Received admin
command metadata on mount "/airtime.mp3"
[2011-02-23 12:19:33] INFO admin/command_metadata Metadata on
mountpoint /airtime.mp3 changed to " - silence30min"
[snip...]
[2011-02-23 12:32:33] INFO source/get_next_buffer End of Stream
/airtime.mp3
[2011-02-23 12:32:33] INFO source/source_shutdown Source "/airtime.mp3"
exiting
[2011-02-23 12:32:34] INFO connection/_handle_source_request Source
logging in at mountpoint "/airtime.mp3"
[2011-02-23 12:37:12] INFO admin/admin_handle_request Received admin
command metadata on mount "/airtime.mp3"
[2011-02-23 12:37:12] INFO admin/command_metadata Metadata on
mountpoint /airtime.mp3 changed to " - silence30min"
The only deviation I made from the install instructions in the wiki was
to install Airtime in /var/lib rather than /home/daniel because I wanted
to replicate a real server set-up. All files in /var/lib/airtime are
chown'd to www-data.www-data for now.
The advantage of this is that I can log out, killing all my user
processes, and Airtime keeps playing (because it's running as a system
user).