"No next track ready yet" after three track in a show
  • I've a strange problem with Airtime.
    When I put more than 3 tracks in a show, liquidsoap plays only the first 3 track. This is affected part in the liquidsoap log.
    [cross_5473:3] No next track ready yet.
    [dummy(dot)2:3] Source failed (no more tracks) stopping output...
    [dummy(dot)3:3] Source failed (no more tracks) stopping output...
    In fact is scheduled more track and in the web interface seems everything ok (except that alsa don't play any sound).
    I've hacked my lq_script adding a alsa_input when nothing is scheduled.
    I've also modify permission in tmp folder, maybe the problem is there.
    actually the /var/tmp/airtime/pypo/scheduler has permission:
    drwxr-xr-x 2 root root 4096 nov  4 09:33 scheduler
    and the file in the scheduler folder are
    -r--r--r-- 1 root root 116676515 nov  4 09:33 1122.mp3
    -r--r--r-- 1 root root   4166706 nov  4 09:33 1310.mp3
    -r--r--r-- 1 root root   3009594 nov  4 09:33 1338.mp3
    as you can see, only three.

    I
    try airtime-check-system but yesterday my static IP address was changed
    so appears only AIRTIME_STATUS_URL with the old DNS (probably I have to
    open a new discussion for this). But the topic problem happens before
    that.

    Thanks a lot!
    Andrea


  • 10 Comments sorted by
  • Ok, I've solve the airtime-check-system problem...

    AIRTIME_STATUS_URL             = http://79.60.162.251:80/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.8.0-29-generic
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 3726708
    TOTAL_SWAP_MBYTES              = 3870716
    AIRTIME_VERSION                = 2.5.1
    OS                             = Ubuntu 12.04.3 LTS x86_64
    CPU                            = Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
    PHP Warning:  get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
    error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in /usr/lib/airtime/utils/airtime-check-system.php on line 100
    PHP Warning:  get_headers(): Failed to enable crypto in /usr/lib/airtime/utils/airtime-check-system.php on line 100
    PHP Warning:  get_headers(http://79.60.162.251:80): failed to open stream: operation failed in /usr/lib/airtime/utils/airtime-check-system.php on line 100
    WEB_SERVER                     = UNKNOWN
    PLAYOUT_ENGINE_PROCESS_ID      = 2123
    PLAYOUT_ENGINE_RUNNING_SECONDS = 1217
    PLAYOUT_ENGINE_MEM_PERC        = 0.4%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 2621
    LIQUIDSOAP_RUNNING_SECONDS     = 1190
    LIQUIDSOAP_MEM_PERC            = 0.8%
    LIQUIDSOAP_CPU_PERC            = 5.4%
    MEDIA_MONITOR_PROCESS_ID       = 2118
    MEDIA_MONITOR_RUNNING_SECONDS  = 1217
    MEDIA_MONITOR_MEM_PERC         = 0.6%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- Your installation of Airtime looks OK!

  • This is my media-monitor log... after three track it's WAITING INDEFINITELY...

    2014-11-04 10:38:00,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 89] - s0.push annotate:media_id="1006",liq_start_next="0",liq_fade_in="0.0",liq_fade_out="0.0",liq_cue_in="0.095",liq_cue_out="3.161",schedule_table_id="1447",replay_gain="2.77 dB":/var/tmp/airtime/pypo/cache/scheduler/1006.mp3

    2014-11-04 10:38:00,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 95] - vars.show_name test

    2014-11-04 10:38:00,009 DEBUG - [telnetliquidsoap.py : queue_push() : line 98] - 0
    END
    test
    END
    Bye!

    2014-11-04 10:38:00,016 INFO - [pypoliqqueue.py : main() : line 38] - waiting 2.983824s until next scheduled item
    2014-11-04 10:38:03,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 89] - s0.push annotate:media_id="1289",liq_start_next="0",liq_fade_in="0.0",liq_fade_out="0.0",liq_cue_in="0.283",liq_cue_out="30.487",schedule_table_id="1451",replay_gain="-8.57 dB":/var/tmp/airtime/pypo/cache/scheduler/1289.mp3

    2014-11-04 10:38:03,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 95] - vars.show_name test

    2014-11-04 10:38:03,010 DEBUG - [telnetliquidsoap.py : queue_push() : line 98] - 1
    END
    test
    END
    Bye!

    2014-11-04 10:38:03,016 INFO - [pypoliqqueue.py : main() : line 38] - waiting 29.983535s until next scheduled item
    2014-11-04 10:38:33,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 89] - s0.push annotate:media_id="1006",liq_start_next="0",liq_fade_in="0.0",liq_fade_out="0.0",liq_cue_in="0.095",liq_cue_out="3.161",schedule_table_id="1448",replay_gain="2.77 dB":/var/tmp/airtime/pypo/cache/scheduler/1006.mp3

    2014-11-04 10:38:33,001 DEBUG - [telnetliquidsoap.py : queue_push() : line 95] - vars.show_name test

    2014-11-04 10:38:33,004 DEBUG - [telnetliquidsoap.py : queue_push() : line 98] - 2
    END
    test
    END
    Bye!

    2014-11-04 10:38:33,006 INFO - [pypoliqqueue.py : main() : line 34] - waiting indefinitely for schedule

  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you seems to have differents problems
    can you send us yours airtime logs
    (into /var/log/airtime)
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    and airtime-check-system
  • This is my airtime-check-system. I've solve the problem (just to set new IP address).
    What log do you need? Cause is one week that I have no show with more than 3 songs so there is no problem
  • I mean, I've solve the problem that you can see in airtime-check-system but I still have the main problem (no next track ready yet) on my airtime installation
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    into /var/log/airtime
  • my var/log/airtime folder contains this file
    installation-errors.log  pypo          zendphp.log
    media-monitor         pypo-liquidsoap  zendphp.log.1.gz

  • this is the playout file when I've made some test four days ago...
  • You will have to send your  alsa input hack  or  some more information.

    but I have said this a lot of times to person wishing to use alsa input that you will encounter a number of problem if you try to use both. read this

    https://forum.sourcefabric.org/discussion/comment/28624#Comment_28624


    and this

    https://forum.sourcefabric.org/discussion/comment/30860#Comment_30860


    Use either the outputs or the inputs but not both


    There are a number of things people have done and seems to get both to work like

    • Use Alsa only on your system
    • Do not fill in the first stream tab of the stream input
    • Use a stream client rather than line input

    The key to remember is that liquidsoap is not develop based on realtime priority but on buffers and clocks.

    If you are using both the inputs and outputs then make sure your script do not have conflicts with clocks that concerns crossfades ,fallback and rotations.

    you will want to read this

    http://savonet.sourceforge.net/doc-1.1.0/clocks.html

    Here is a solution

    https://forum.sourcefabric.org/discussion/15904/input-mic-and-mixer-using-alsa-something-that-will-work-using-airtime-script-modified/p1


    https://forum.sourcefabric.org/discussion/15713/basics-for-connecting-your-streaming-tools-buttmixxxetc-for-dummies-like-me/p1

    Here is some references

    https://forum.sourcefabric.org/discussion/16077/alsa-underruns-and-mp3-stream-issues/p1

    https://forum.sourcefabric.org/discussion/14678/endless-stuttering-alsa-frame-with-liquidsoap/p1

    https://forum.sourcefabric.org/discussion/16245/underrun-maybe-it-helps-someone-else/p1

    Voisses




    Post edited by Voisses Tech at 2014-11-09 10:14:22
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.