Overlapping Audio Files on Scheduled Shows — Need help!
  • hi, 

    we're a webradio based in lyon (www.l-yl.com); 
    we use airtime to broadcast all our archives — materiel recorded during 2 years of radiophonic activity —
    as well as for our live radio sessions.
    airtime picks up these archives on our storage server (OVH), where all our material is stored, 
    after upload through airtime. 

    we're having troubles since 1 or 2 weeks: our scheduled programs seems to overlap. 
    when we create a program on our calendar, we fill it with our archives (audio files we uploaded on airtime). 
    almost every time for the last 3 days, each time we broadcast with scheduled shows, 
    after create them on our calendar, the scheduled file + another one overlaps (two audio files playing at the same time).  

    we're then obliged to broadcast live from our itunes. 

    we really need help here, 
    our new season's program begins tomorrow. 

    best,
     
    Simon 

     

    Post edited by Lucas Bouissou LYL at 2016-09-05 10:12:29
  • 3 Comments sorted by
  • This could be happen because the duration of the files are wrong.
    I had similar problems in the past. The airtime scheduler took the duration of the first file and NOT take the duration of the file that overwrites the original.

    I tried to refresh the airtime media database, but I don't know how to do it.


    EDIT:

    I see the log of media-monitor and it recognizes the change in the file











    2016-09-08 00:55:02,648 INFO - [Thread-1] [owners.py : get_owner()] : LINE 12 - Received owner for /musica/propios/Podcast_de_estacionIndie.mp3. Owner: -1


    2016-09-08 00:55:02,649 INFO - [Thread-1] [events.py : __init__()] : LINE 96 - did not match path: /musica/propios/Podcast_de_estacionIndie.mp3


    2016-09-08 00:55:02,649 INFO - [Thread-1] [watchersyncer.py : handle()] : LINE 65 - Received event 'NewFile'. Path: '/musica/propios/Podcast_de_estacionIndie.mp3'


    2016-09-08 00:55:02,649 INFO - [Thread-1] [watchersyncer.py : push_queue()] : LINE 97 - Added event into queue


    2016-09-08 00:55:03,267 INFO - [Thread-3] [watchersyncer.py : run()] : LINE 39 - We have 1 events that are unflushed


    2016-09-08 00:55:03,267 INFO - [Thread-3] [watchersyncer.py : flush_events()] : LINE 107 - Force flushing events...


    2016-09-08 00:55:03,267 INFO - [Thread-3] [watchersyncer.py : push_request()] : LINE 146 - WatchSyncer : Unleashing request


    2016-09-08 00:55:03,270 INFO - [Thread-10] [request.py : run_request()] : LINE 34 - Attempting request with 1 items.


    2016-09-08 00:55:03,312 INFO - [Thread-10] [api_client.py : send_media_monitor_requests()] : LINE 374 - Pumping out 1 requests...


    2016-09-08 00:55:03,319 DEBUG - [Thread-10] [api_client.py : __call__()] : LINE 140 - http://radio.XXXXXXXX.com:80/api/reload-metadata-group/format/json/api_key/XXXXXX


    2016-09-08 00:55:03,731 INFO - [Thread-10] [request.py : run_request()] : LINE 54 - Request was successful



    I dont know how to refresh the scheduled times in the table, anybody knows?
    Post edited by profesorgame at 2016-09-09 04:28:40
  • Lucas -- which version are you running?
  • try make sure you have Airtime version 2.5.1.6

    your cache directory is found by this
    ls -l /var/tmp/airtime/pypo/cache/scheduler/

    if nothing is schedule
    you should see this
    ls -l /var/tmp/airtime/pypo/cache/scheduler/
    total 0

    if you see something like this

    ls -l /var/tmp/airtime/pypo/cache/scheduler/
    total 19552
    -r--r--r-- 1 root root 995344 Sep 13 12:10 1194.mp3
    -r--r--r-- 1 root root 85996 Sep 13 12:10 1363.mp3
    -r--r--r-- 1 root root 113164 Sep 13 12:10 236.mp3
    -r--r--r-- 1 root root 190904 Sep 13 12:10 237.mp3
    -r--r--r-- 1 root root 158721 Sep 13 12:10 238.mp3
    -r--r--r-- 1 root root 144326 Sep 13 12:10 240.mp3
    -r--r--r-- 1 root root 2532905 Sep 13 12:10 480.mp3
    -r--r--r-- 1 root root 2660801 Sep 13 12:10 487.mp3
    -r--r--r-- 1 root root 2372421 Sep 13 12:10 490.mp3
    -r--r--r-- 1 root root 2621925 Sep 13 12:10 508.mp3
    -r--r--r-- 1 root root 3222551 Sep 13 12:10 868.MP3
    -r--r--r-- 1 root root 2384299 Sep 13 12:10 886.mp3
    -r--r--r-- 1 root root 2506897 Sep 13 12:10 981.mp3

    do this to remove and refresh the database

    sudo
    -u postgres psql -c 'DELETE FROM cc_schedule WHERE id in (SELECT s.id
    from cc_schedule s LEFT JOIN cc_show_instances si on s.instance_id =
    si.id WHERE si.modified_instance = true);' airtime


    you might want to schedule files more than the default time play with this to say 2 hours
    gedit /etc/airtime/airtime.conf
    cache_ahead_hours = 2
    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.