No Air Time
  • Hi guys,

    I've successfully installed Airtime (1.6.0) on a fresh 10.04 Ubuntu.
    I can access to the Backend and upload several files, schedule playlists, etc.. .
    The only problem came from the stream between Liquidsoap and Icecast (not a credentials problem).

    The logs looks fine for pypo-fetch & pypo-push.
    But for pypo-liquidsoap, it try to switch between silence everytime (also during a Show playlisted and showing details into the Backend)

    Here's an example of the logs :

    @400000004d656ade09c457e4 2011/02/23 20:15:16 >>> LOG START
    @400000004d656ade09c5368c 2011/02/23 20:15:15 [protocols.external:3] Didn't find "ufetch".
    @400000004d656ade09c5bf44 2011/02/23 20:15:15 [protocols.external:3] Found "/usr/bin/wget".
    @400000004d656ade09c647fc 2011/02/23 20:15:16 [main:3] Liquidsoap 1.0.0-beta+svn (trunk/liquidsoap@rev8124)
    @400000004d656ade09c6d0b4 2011/02/23 20:15:16 [main:3] Using: pcre=6.0.1 dtools=0.2.1 duppy=0.4.0
    @400000004d656ade09c6d49c 0.4.0 duppy.syntax=0.4.0
    @400000004d656ade09c6d884 0.4.0 cry=0.1.6 mm=0.1.0 xmlplaylist=0.1.2 ogg=0.4.1 vorbis=0.5.1 mad=0.4.0 lame=0.2.4 alsa=0.2.1 samplerate=0.1.1 taglib=0.1.4 soundtouch=0.1.5 po
    rtaudio=@VERSION ladspa=0.1.2
    @400000004d656ade09c7613c 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09c7e9f4 2011/02/23 20:15:16 [main:2] DISCLAIMER: This version of Liquidsoap has been
    @400000004d656ade09c872ac 2011/02/23 20:15:16 [main:2] compiled from a snapshot of the development code.
    @400000004d656ade09c8fb64 2011/02/23 20:15:16 [main:2] As such, it should not be used in production
    @400000004d656ade09c9841c 2011/02/23 20:15:16 [main:2] unless you know what you are doing!
    @400000004d656ade09ca08ec 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09ca91a4 2011/02/23 20:15:16 [main:2] We are, however, very interested in any feedback@400000004d656ade09cb1674 2011/02/23 20:15:16 [main:2] about our development code and committed to fix
    @400000004d656ade09cb9f2c 2011/02/23 20:15:16 [main:2] issues as soon as possible.
    @400000004d656ade09ce5a64 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09cee31c 2011/02/23 20:15:16 [main:2] If you are interested in collaborating to
    @400000004d656ade09cf6bd4 2011/02/23 20:15:16 [main:2] the development of Liquidsoap, feel free to
    @400000004d656ade09cff48c 2011/02/23 20:15:16 [main:2] drop us a mail at <savonet-devl@lists.sf.net>
    @400000004d656ade09d07d44 2011/02/23 20:15:16 [main:2] or to join the #savonet IRC channel on Freenode.
    @400000004d656ade09d10214 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09d18acc 2011/02/23 20:15:16 [main:2] Please send any bug report or feature request
    @400000004d656ade09d20f9c 2011/02/23 20:15:16 [main:2] using our trac <http://savonet.rastageeks.org>.
    @400000004d656ade09d29854 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09d31d24 2011/02/23 20:15:16 [main:2] We hope you enjoy this snapshot build of Liquidsoap!
    @400000004d656ade09d3a5dc 2011/02/23 20:15:16 [main:2]
    @400000004d656ade09d42aac 2011/02/23 20:15:16 [lang:3] Did not find flac binary: flac decoder disabled.
    @400000004d656ade09d50d3c 2011/02/23 20:15:16 [lang:3] Did not find metaflac binary: flac metadata resolver disabled.
    @400000004d656ade09d595f4 2011/02/23 20:15:16 [lang:3] Did not find faad binary: faad decoder disabled.
    @400000004d656ade09d645bc 2011/02/23 20:15:16 [lang:3] Lastfm/audioscrobbler support was not compiled.
    @400000004d656ade09d6ce74 2011/02/23 20:15:16 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    @400000004d656ade09d75344 2011/02/23 20:15:16 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    @400000004d656ade09d7dbfc 2011/02/23 20:15:16 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    @400000004d656ade09d864b4 2011/02/23 20:15:16 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    @400000004d656ade09d8ed6c 2011/02/23 20:15:16 [decoder:3] Method "MP3/LIBMAD" accepted "/opt/pypo/files/basic/silence.mp3".
    @400000004d656ade09d97624 2011/02/23 20:15:16 [single:3] "/opt/pypo/files/basic/silence.mp3" is static, resolving once for all...
    @400000004d656ade09dc0664 2011/02/23 20:15:16 [threads:3] Created thread "generic queue #1".
    @400000004d656ade09dd0c1c 2011/02/23 20:15:16 [threads:3] Created thread "non-blocking queue #1".
    @400000004d656ade0a1fd1dc 2011/02/23 20:15:16 [airtime(dot)mp3:3] Connecting mount airtime.mp3 for source@127.0.0.1...
    @400000004d656ade1b3e153c 2011/02/23 20:15:16 [airtime(dot)mp3:3] Connection setup was successful.
    @400000004d656ade1b3f45ec 2011/02/23 20:15:16 [threads:3] Created thread "wallclock_clock_icecast" (1 total).
    @400000004d656ade1b47fc64 2011/02/23 20:15:16 [single_4240:3] Prepared "/opt/pypo/files/basic/silence.mp3" (RID 0).
    @400000004d656ade1b497364 2011/02/23 20:15:16 [threads:3] Created thread "output(dot)alsa" (2 total).
    @400000004d656ade1b4a9474 2011/02/23 20:15:16 [threads:3] Created thread "wallclock_alsa" (3 total).
    @400000004d656ade1b4bec34 2011/02/23 20:15:16 [clock.wallclock_alsa:3] Streaming loop starts, no sync.
    @400000004d656ade1b4c9bfc 2011/02/23 20:15:16 [mksafe:3] Switch to cross_4247.
    @400000004d656ade1b4d5394 2011/02/23 20:15:16 [fallback_4243:3] Switch to single_4240.
    @400000004d656ade1bb2918c 2011/02/23 20:15:16 [clock.wallclock_clock_icecast:3] Streaming loop starts, synchronized with wallclock.
    @400000004d656ade1f06c59c 2011/02/23 20:15:16 [airtime(dot)mp3:3] Source failed (no more tracks) stopping output...
    @400000004d656ade1f06cd6c 2011/02/23 20:15:16 [airtime(dot)mp3:3] Closing connection...
    @400000004d656ade2746216c 2011/02/23 20:15:16 [output(dot)alsa:3] Using ALSA 1.0.22.
    @400000004d656ade2746293c 2011/02/23 20:15:16 [threads:1] Thread "output(dot)alsa" aborts with exception Alsa error: No such file or directory!
    @400000004d656ade2746cd4c Thread 5 killed on uncaught exception Alsa.Unknown_error(2)
    @400000004d656ade27471b6c Raised at file "", line 0, characters 0-0
    @400000004d656ade27491b24 2011/02/23 20:15:16 [main:3] Shutdown started!
    @400000004d656ade27491f0c 2011/02/23 20:15:16 [main:3] Waiting for threads to terminate...
    @400000004d656ade275075f4 2011/02/23 20:15:16 [single_4240:3] Finished with "/opt/pypo/files/basic/silence.mp3".
    @400000004d656ade27513944 2011/02/23 20:15:16 [clock.wallclock_alsa:3] Streaming loop stopped.
    @400000004d656ade2751dd54 2011/02/23 20:15:16 [threads:3] Thread "wallclock_alsa" terminated (1 remaining).
    @400000004d656ade291ea644 2011/02/23 20:15:16 [clock.wallclock_clock_icecast:3] Streaming loop stopped.
    @400000004d656ade291eaa2c 2011/02/23 20:15:16 [threads:3] Thread "wallclock_clock_icecast" terminated (0 remaining).
    @400000004d656ade29550054 2011/02/23 20:15:16 [main:3] Cleaning downloaded files...
    @400000004d656ade29550824 2011/02/23 20:15:16 >>> LOG END
    


    And for Postgresql, I've this error :

    UTC ERROR: relation "cc_show_schedule" does not exist
    UTC STATEMENT: CREATE TRIGGER show_content AFTER INSERT OR DELETE ON cc_show_schedule
    FOR EACH ROW EXECUTE PROCEDURE show_content()
    


    Any ideas ?
    Many thanks in advance for your support.

    Best,
    Thomas
  • 4 Comments sorted by
  • Up!

    p.s.: Is there something wrong with my request ?
  • Hi Thomas,

    the logs indicate there is a problem with ALSA audio output.

    Can you please try the following steps:

    uninstall pypo/liquidsoap (we will reinstall this later)

    run the following:

    cd ~/airtime/pypo/install && sudo python pypo-uninstall.py 


    (just run pypo-install after to reverse this change)

    then

    cd ~/airtime/pypo/liquidsoap/ && liquidsoap 'out(sine())'


    After running the previous command you should be able to hear a monotonous tone.
    Airtime Pro Hosting: http://airtime.pro
  • Hi Martin,

    thanks for your reply.
    I've installed Airtime on a Ubuntu server, so there's no soundcard.. Smile

    It's required to install Alsa & a soundcard ?

    Best,
    Thomas
  • Hi Thomas,

    It is not necessary to have a soundcard, but by default Airtime tries to use it.

    I recommend you use the 1.6.1 release which fixes a few bugs and does not use ALSA by default (only provides web streaming).

    You can download it here:

    http://sourceforge.net/projects/airtime/files/
    Airtime Pro Hosting: http://airtime.pro