Airtime night time or / and randomly goes down
  • Hello everyone, here is the message i got in shoutcast:
    Current Song: Airtime - offline back soon
    OS :Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)
    Airttime version: 2.4.0
    System date: Thu Sep  5 03:43:22 EDT 2013

     /etc/init.d/airtime-media-monitor status
    AIRTIME_STATUS_URL             = http://localhost: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            = 3875032
    TOTAL_SWAP_MBYTES              = 1572860
    AIRTIME_VERSION                = 2.4.0
    OS                             = Ubuntu 12.04.3 LTS x86_64
    CPU                            = QEMU Virtual CPU version 1.1.1
    WEB_SERVER                     = Apache/2.2.22 (Ubuntu)
    PLAYOUT_ENGINE_PROCESS_ID      = 1489
    PLAYOUT_ENGINE_RUNNING_SECONDS = 48868
    PLAYOUT_ENGINE_MEM_PERC        = 0.5%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 1902
    LIQUIDSOAP_RUNNING_SECONDS     = 48845
    LIQUIDSOAP_MEM_PERC            = 0.7%
    LIQUIDSOAP_CPU_PERC            = 3.6%
    MEDIA_MONITOR_PROCESS_ID       = 1480
    MEDIA_MONITOR_RUNNING_SECONDS  = 48868
    MEDIA_MONITOR_MEM_PERC         = 0.5%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- Your installation of Airtime looks OK!


    At this moment i have this problem again, so i can tail everything.

    tail -f zendphp.log (logs from yesterday - don't think it is the stop cause)

    2013-09-04T23:32:44-04:00 INFO (6): [StoredFile.php : copyFileToStor() : line 953] - copyFileToStor: moving file /tmp/plupload/p183m2gg0h176ouctu4ltsm1vbc4.mp3
    2013-09-04T23:32:44-04:00 INFO (6): [StoredFile.php : copyFileToStor() : line 1006] - Successfully written identification file for
     uploaded '/srv/airtime/stor/organize/Mastermind Mix 20130906 - DJ GrandMasterGuy.mp3'
    2013-09-04T23:32:44-04:00 INFO (6): [StoredFile.php : copyFileToStor() : line 1011] - copyFileToStor: moving file /tmp/plupload/p183m2gg0h176ouctu4ltsm1vbc4.mp3 to /srv/airtime/stor/organize/Mastermind Mix 20130906 - DJ GrandMasterGuy.mp3
    2013-09-04T23:32:50-04:00 INFO (6): [ScheduleController.php : eventFeedPreloadAction() : line 136] - month

    tail -f /var/log/airtime/pypo-liquidsoap/ls_script.log

    2013/09/05 03:46:28 [server:3] New client: localhost.
    2013/09/05 03:46:28 [server:3] Client localhost disconnected.
    2013/09/05 03:46:38 [server:3] New client: localhost.
    2013/09/05 03:46:38 [server:3] Client localhost disconnected.
    2013/09/05 03:46:48 [server:3] New client: localhost.
    2013/09/05 03:46:48 [server:3] Client localhost disconnected.
    2013/09/05 03:46:58 [server:3] New client: localhost.
    2013/09/05 03:46:58 [server:3] Client localhost disconnected.
    2013/09/05 03:47:08 [server:3] New client: localhost.
    2013/09/05 03:47:08 [server:3] Client localhost disconnected.

    tail -f /var/log/airtime/pypo/py-interpreter.log (empty)

    tail -f /var/log/airtime/pypo/py-interpreter.log

    2013-09-04 23:33:51,975 INFO - [recorder.py : handle_message() : line 208] - Received msg from Pypo Message Handler: {u'server_timezone': u'America/Montreal', u'event_type': u'update_recorder_schedule', u'shows': []}
    2013-09-04 23:33:51,976 INFO - [recorder.py : process_recorder_schedule() : line 220] - Parsing recording show schedules...
    2013-09-05 00:33:57,907 INFO - [recorder.py : process_recorder_schedule() : line 220] - Parsing recording show schedules...
    2013-09-05 00:33:57,908 INFO - [recorder.py : run() : line 315] - updated recorder schedule received: {u'is_recording': False, u'server_timezone': u'America/Montreal', u'shows': []}
    2013-09-05 01:34:03,804 INFO - [recorder.py : process_recorder_schedule() : line 220] - Parsing recording show schedules...
    2013-09-05 01:34:03,805 INFO - [recorder.py : run() : line 315] - updated recorder schedule received: {u'is_recording': False, u'server_timezone': u'America/Montreal', u'shows': []}
    2013-09-05 02:34:09,735 INFO - [recorder.py : process_recorder_schedule() : line 220] - Parsing recording show schedules...
    2013-09-05 02:34:09,736 INFO - [recorder.py : run() : line 315] - updated recorder schedule received: {u'is_recording': False, u'server_timezone': u'America/Montreal', u'shows': []}
    2013-09-05 03:34:15,673 INFO - [recorder.py : process_recorder_schedule() : line 220] - Parsing recording show schedules...
    2013-09-05 03:34:15,674 INFO - [recorder.py : run() : line 315] - updated recorder schedule received: {u'is_recording': False, u'server_timezone': u'America/Montreal', u'shows': []}

    tail -f /var/log/airtime/pypo/pypo.log

    2013-09-05 03:47:09,317 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/get-files-without-replay-gain/api_key/7C2PNQWKBBB2V019V36D/dir_id/1
    2013-09-05 03:47:09,461 INFO - [replaygainupdater.py : main() : line 68] - Processed: 0 songs
    2013-09-05 03:47:09,461 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/get-files-without-replay-gain/api_key/7C2PNQWKBBB2V019V36D/dir_id/2
    2013-09-05 03:47:09,607 INFO - [replaygainupdater.py : main() : line 68] - Processed: 0 songs
    2013-09-05 03:47:27,240 INFO - [silananalyzer.py : run() : line 80] - Running Silan analyzer
    2013-09-05 03:47:27,240 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/get-files-without-silan-value/api_key/7C2PNQWKBBB2V019V36D
    2013-09-05 03:47:27,398 INFO - [silananalyzer.py : run() : line 85] - Sleeping for 5...
    2013-09-05 03:48:35,330 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/get-stream-parameters/api_key/7C2PNQWKBBB2V019V36D/format/json
    2013-09-05 03:48:35,488 DEBUG - [api_client.py : get_stream_parameters() : line 504] - {u'stream_params': {u's3': {u'admin_pass': u'', u'enable': u'false', u'description': u'', u'url': u'', u'bitrate': u'48', u'mount': u'', u'liquidsoap_error': u'waiting', u'channels': u'stereo', u'host': u'', u'admin_user': u'', u'user': u'', u'pass': u'', u'genre': u'', u'output': u'icecast', u'type': u'ogg', u'port': u'', u'name': u''}, u's2': {u'admin_pass': u'', u'enable': u'false', u'description': u'', u'url': u'', u'bitrate': u'48', u'mount': u'', u'liquidsoap_error': u'waiting', u'channels': u'stereo', u'host': u'', u'admin_user': u'', u'user': u'', u'pass': u'', u'genre': u'', u'output': u'icecast', u'type': u'ogg', u'port': u'', u'name': u''}, u's1': {u'admin_pass': u'positiveattitude', u'admin_user': u'admin', u'name': u'XLTRAX', u'url': u'http://xltrax.com', u'bitrate': u'128', u'mount': u'airtime_128', u'liquidsoap_error': u'OK', u'channels': u'stereo', u'host': u'xltrax.com', u'enable': u'true', u'user': u'', u'pass': u'airtime:airtime2013', u'genre': u'Electro Club Techno', u'output': u'shoutcast', u'type': u'mp3', u'port': u'5930', u'description': u'XLTRAX'}}}
    2013-09-05 03:48:35,676 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/update-stream-setting-table/api_key/7C2PNQWKBBB2V019V36D/format/json


    tail -f /var/log/airtime/pypo/notify.log

    2013-09-04 23:00:00,193 DEBUG - [pyponotify.py : notify_media_start_playing() : line 78] - #################################################
    2013-09-04 23:00:00,193 DEBUG - [pyponotify.py : notify_media_start_playing() : line 79] - # Calling server to update about what's playing #
    2013-09-04 23:00:00,193 DEBUG - [pyponotify.py : notify_media_start_playing() : line 80] - #################################################
    2013-09-04 23:00:00,193 DEBUG - [api_client.py : __call__() : line 134] - http://localhost:80/api/notify-media-item-start-play/api_key/7C2PNQWKBBB2V019V36D/media_id/418504/
    2013-09-04 23:00:00,431 DEBUG - [pyponotify.py : notify_media_start_playing() : line 82] - Response: {"status": 1, "message": ""}


    tail -f /var/log/airtime/pypo/message-handler.log

    2013-09-04 23:33:51,593 INFO - [pypomessagehandler.py : handle_message() : line 62] - Handling command: update_schedule
    2013-09-04 23:33:51,593 INFO - [pypomessagehandler.py : handle_message() : line 65] - Updating schdule...
    2013-09-04 23:33:51,594 INFO - [pypomessagehandler.py : main() : line 104] - Loop #9
    2013-09-04 23:33:51,691 INFO - [pypomessagehandler.py : handle_message() : line 58] - Received event from RabbitMQ: {"event_type":"update_recorder_schedule","server_timezone":"America\/Montreal","shows":[]}
    2013-09-04 23:33:51,692 INFO - [pypomessagehandler.py : handle_message() : line 62] - Handling command: update_recorder_schedule
    2013-09-04 23:33:51,692 INFO - [pypomessagehandler.py : main() : line 104] - Loop #10


    tail -f /var/log/airtime/media-monitor/media-monitor.log

    2013-09-04 23:32:44,986 INFO - [Thread-1] [events.py : __init__()] : LINE 93 - matched path: /srv/airtime/stor/imported/7/Mastermind Mix 20130906 - DJ GrandMasterGuy/unknown/unknown-Mastermind Mix 20130906 - DJ GrandMasterGuy-320kbps.mp3
    2013-09-04 23:32:44,986 INFO - [Thread-1] [watchersyncer.py : handle()] : LINE 65 - Received event 'NewFile'. Path: '/srv/airtime/stor/imported/7/Mastermind Mix 20130906 - DJ GrandMasterGuy/unknown/unknown-Mastermind Mix 20130906 - DJ GrandMasterGuy-320kbps.mp3'
    2013-09-04 23:32:44,986 INFO - [Thread-1] [watchersyncer.py : push_queue()] : LINE 97 - Added event into queue
    2013-09-04 23:32:47,684 INFO - [Thread-3] [watchersyncer.py : run()] : LINE 39 - We have 1 events that are unflushed
    2013-09-04 23:32:47,685 INFO - [Thread-3] [watchersyncer.py : flush_events()] : LINE 107 - Force flushing events...
    2013-09-04 23:32:47,685 INFO - [Thread-3] [watchersyncer.py : push_request()] : LINE 146 - WatchSyncer : Unleashing request
    2013-09-04 23:32:47,686 INFO - [Thread-9] [request.py : run_request()] : LINE 34 - Attempting request with 1 items.
    2013-09-04 23:32:47,699 INFO - [Thread-9] [api_client.py : send_media_monitor_requests()] : LINE 359 - Pumping out 1 requests...
    2013-09-04 23:32:47,699 DEBUG - [Thread-9] [api_client.py : __call__()] : LINE 134 - http://localhost:80/api/reload-metadata-group/format/json/api_key/7C2PNQWKBBB2V019V36D
    2013-09-04 23:32:47,948 INFO - [Thread-9] [request.py : run_request()] : LINE 54 - Request was successful


    tail -f /var/log/apache2/error.log

    [Mon Sep 02 05:09:28 2013] [notice] caught SIGTERM, shutting down
    [Mon Sep 02 05:11:11 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
    [Wed Sep 04 08:11:21 2013] [error] [client 64.15.145.11] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
    [Wed Sep 04 14:32:24 2013] [notice] caught SIGTERM, shutting down
    [Wed Sep 04 14:34:24 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations

    tail -f postgresql-9.1-main.log

    2013-09-04 14:33:49 EDT LOG:  autovacuum launcher started
    2013-09-04 14:33:49 EDT LOG:  database system is ready to accept connections
    2013-09-04 14:33:49 EDT LOG:  incomplete startup packet

    /var/log/liquidsoap/ - no log file there


     tail -f /var/log/rabbitmq/rabbit@airtime.log

    closing TCP connection <0.460.0> from 127.0.0.1:48125

    =INFO REPORT==== 4-Sep-2013::23:33:51 ===
    accepted TCP connection on [::]:5672 from 127.0.0.1:48126

    =INFO REPORT==== 4-Sep-2013::23:33:51 ===
    starting TCP connection <0.468.0> from 127.0.0.1:48126

    =INFO REPORT==== 4-Sep-2013::23:33:51 ===
    closing TCP connection <0.468.0> from 127.0.0.1:48126


    tail -f /var/log/rabbitmq/shutdown_log

    Sun Aug 25 14:12:59 EDT 2013 - rabbitmq successfully stopped
    Sun Aug 25 14:32:33 EDT 2013 - rabbitmq successfully stopped
    Sun Aug 25 15:19:00 EDT 2013 - rabbitmq successfully stopped
    Sun Aug 25 15:51:44 EDT 2013 - rabbitmq successfully stopped
    Mon Aug 26 19:49:29 EDT 2013 - rabbitmq successfully stopped
    Tue Aug 27 09:25:38 EDT 2013 - rabbitmq successfully stopped
    Thu Aug 29 09:38:46 EDT 2013 - rabbitmq successfully stopped
    Sun Sep  1 04:32:48 EDT 2013 - rabbitmq successfully stopped
    Mon Sep  2 05:09:44 EDT 2013 - rabbitmq successfully stopped
    Wed Sep  4 14:32:40 EDT 2013 - rabbitmq successfully stopped

    tail -f /var/log/rabbitmq/startup_log
    Sun Aug 25 14:14:34 EDT 2013 - rabbitmq successfully started
    Sun Aug 25 14:34:09 EDT 2013 - rabbitmq successfully started
    Sun Aug 25 15:20:35 EDT 2013 - rabbitmq successfully started
    Sun Aug 25 15:53:09 EDT 2013 - rabbitmq successfully started
    Mon Aug 26 19:51:13 EDT 2013 - rabbitmq successfully started
    Tue Aug 27 09:27:17 EDT 2013 - rabbitmq successfully started
    Thu Aug 29 09:40:32 EDT 2013 - rabbitmq successfully started
    Sun Sep  1 04:34:28 EDT 2013 - rabbitmq successfully started
    Mon Sep  2 05:11:08 EDT 2013 - rabbitmq successfully started
    Wed Sep  4 14:34:24 EDT 2013 - rabbitmq successfully started


    tail -f syslotail -f /var/log/syslogg

    Sep  5 00:39:01 airtime CRON[8077]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 01:09:01 airtime CRON[8304]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 01:17:01 airtime CRON[8410]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Sep  5 01:39:01 airtime CRON[8536]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 02:09:01 airtime CRON[8758]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 02:17:01 airtime CRON[8865]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Sep  5 02:39:01 airtime CRON[8991]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 03:09:01 airtime CRON[9214]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
    Sep  5 03:17:01 airtime CRON[9313]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Sep  5 03:39:01 airtime CRON[9491]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)


    tail -f /var/log/kern.log

    Sep  4 14:33:47 airtime kernel: [   35.509518] checking generic (fc000000 160000) vs hw (fc000000 2000000)
    Sep  4 14:33:47 airtime kernel: [   35.509525] fb: conflicting fb hw usage cirrusdrmfb vs EFI VGA - removing generic driver
    Sep  4 14:33:47 airtime kernel: [   35.509580] Console: switching to colour dummy device 80x25
    Sep  4 14:33:47 airtime kernel: [   35.512074] [drm:cirrus_vram_init] *ERROR* can't reserve VRAM
    Sep  4 14:33:47 airtime kernel: [   35.512088] cirrus 0000:00:02.0: Fatal error during GPU init: -6
    Sep  4 14:33:47 airtime kernel: [   35.512104] Trying to free nonexistent resource <00000000febf0000-00000000febf0fff>
    Sep  4 14:33:47 airtime kernel: [   35.512111] Trying to free nonexistent resource <00000000fc000000-00000000fc3fffff>
    Sep  4 14:33:48 airtime kernel: [   35.661568] type=1400 audit(1378319628.081:10): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=791 comm="apparmor_parser"
    Sep  4 14:33:48 airtime kernel: [   36.243737] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
    Sep  4 14:33:49 airtime kernel: [   36.987020] postgres (1044): /proc/1044/oom_adj is deprecated, please use /proc/1044/oom_score_adj instead.

    tail -f /var/log/dmesg


    [   35.499523] type=1400 audit(1378319627.917:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=717 comm="apparmor_parser"
    [   35.502487] type=1400 audit(1378319627.921:9): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=720 comm="apparmor_parser"
    [   35.509518] checking generic (fc000000 160000) vs hw (fc000000 2000000)
    [   35.509525] fb: conflicting fb hw usage cirrusdrmfb vs EFI VGA - removing generic driver
    [   35.509580] Console: switching to colour dummy device 80x25
    [   35.512074] [drm:cirrus_vram_init] *ERROR* can't reserve VRAM
    [   35.512088] cirrus 0000:00:02.0: Fatal error during GPU init: -6
    [   35.512104] Trying to free nonexistent resource <00000000febf0000-00000000febf0fff>
    [   35.512111] Trying to free nonexistent resource <00000000fc000000-00000000fc3fffff>
    [   35.661568] type=1400 audit(1378319628.081:10): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=791 comm="apparmor_parser"

    I also attached a picture how airtime look in browser.
    This problem happen to us on this machine almost daily and also on another one.
    Most of time : sudo service airtime-playout restart - resolve the issue.
    Other times : reboot solve it.

    It happens on this machine almost daily, i can also zip logs if you want and send it to anyone who want to take a closer look.
    Thank you in advance Adrian.







  • 6 Comments sorted by
  • The screen shot here looks like some how your schedule of music is screwed up. There shouldn't ever be two things highlighted in green at the same time. Also your Wednesday-Thursday show seems to be broken up in the now playing page. Is there anyway I can access your instance somehow online to checkout what it looks like? I will have to check out settings and the schedule.
  • Just an update / really strange i tried to reinstall airtime on same server and when i do:
    root@airtime:/var/log# apt-get --purge remove airtime
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package airtime is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

    Even if airtime running there i see "Package airtime is not installed, so not removed"
  • @adrian c

    as @naomi  said pm her the credentials first and let her look at your system.
     
    but just a correction ,you want to remove your application first before you purge its configuration files

    my long way is

    sudo apt-get remove airtime
    sudo apt-get purge airtime


    short way

    sudo apt-get remove airtime &&  sudo apt-get purge airtime

    you might want to clean up some unnecessary file also  so

    sudo apt-get remove airtime &&  sudo apt-get purge airtime && sudo apt-get autoremove

    good luck
    V.O.I.S.S.E.S.


    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.
  • Voisses Tech - it is not like that it is working my command now:
    After i did apt-get install airtime on a system which already have a working airtime as you could see in my above post.
    After i did  apt-get install airtime (as i said it start installation of airtime as it wasn't there ... )


    root@pve1:/# apt-get --purge remove airtime
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following package was automatically installed and is no longer required:
      php-apc
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
      airtime*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 25.2 MB disk space will be freed.
    Do you want to continue [Y/n]?


    Post edited by adrian c at 2013-09-06 16:18:18
  • Again it is offline here is ls_script.log which i found interesting:

    2013/09/06 06:36:14 [server:3] Client localhost disconnected.
    2013/09/06 06:36:20 [server:3] New client: localhost.
    2013/09/06 06:36:20 [decoder:3] Method "MAD" accepted "/var/tmp/airtime/pypo/cache/scheduler/32.mp3".
    2013/09/06 06:36:20 [s1:3] Prepared "/var/tmp/airtime/pypo/cache/scheduler/32.mp3" (RID 0).
    2013/09/06 06:36:20 [lang:3] vars.show_name
    2013/09/06 06:36:20 [server:3] Client localhost disconnected.
    2013/09/06 06:36:20 [cue_cut_5479:3] Cueing in...
    2013/09/06 06:36:20 [amplify_5484:3] Overriding amplification: 1.000000.
    2013/09/06 06:36:20 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --media-id=371598 &
    2013/09/06 06:36:20 [lang:3] Using stream_format 0
    2013/09/06 06:36:20 [lang:3] Using stream_format 0
    2013/09/06 06:36:20 [lang:3] Using stream_format 0
    2013/09/06 06:36:20 [stdout:3]
    2013/09/06 06:36:20 [stdout:3] #########################################
    2013/09/06 06:36:20 [stdout:3] #           *** pypo  ***               #
    2013/09/06 06:36:20 [stdout:3] #     pypo notification gateway         #
    2013/09/06 06:36:20 [stdout:3] #########################################
    2013/09/06 06:36:21 [cue_cut_5465:3] Cueing out...
    2013/09/06 06:36:21 [s0:3] Finished with "/var/tmp/airtime/pypo/cache/scheduler/58.mp3".
    2013/09/06 06:36:21 [amplify_5470:3] End of the current overriding.
    2013/09/06 06:36:21 [cross_5473:3] No next track ready yet.
    2013/09/06 06:36:24 [server:3] New client: localhost.
    2013/09/06 06:38:05 [server:3] New client: localhost.
    2013/09/06 06:38:05 [server:3] Client localhost disconnected.
    2013/09/06 06:38:15 [server:3] New client: localhost.
    2013/09/06 06:38:15 [server:3] Client localhost disconnected.
    2013/09/06 06:38:25 [server:3] New client: localhost.
    2013/09/06 06:38:25 [server:3] Client localhost disconnected.
    2013/09/06 06:38:35 [server:3] New client: localhost.
    2013/09/06 06:38:35 [server:3] Client localhost disconnected.
    2013/09/06 06:38:45 [server:3] New client: localhost.
    2013/09/06 06:38:45 [server:3] Client localhost disconnected.
    2013/09/06 06:38:55 [server:3] New client: localhost.
    2013/09/06 06:38:55 [server:3] Client localhost disconnected.
    2013/09/06 06:39:05 [server:3] New client: localhost.
    2013/09/06 06:39:05 [server:3] Client localhost disconnected.
    2013/09/06 06:39:15 [server:3] New client: localhost.
    2013/09/06 06:39:15 [server:3] Client localhost disconnected.
    2013/09/06 06:39:25 [server:3] New client: localhost.
    2013/09/06 06:39:25 [server:3] Client localhost disconnected.
    2013/09/06 06:39:35 [server:3] New client: localhost.
    2013/09/06 06:39:35 [server:3] Client localhost disconnected.
    2013/09/06 06:39:45 [server:3] New client: localhost.
    2013/09/06 06:39:45 [server:3] Client localhost disconnected.
    2013/09/06 06:39:55 [server:3] New client: localhost.
    2013/09/06 06:39:55 [server:3] Client localhost disconnected.
    2013/09/06 06:40:05 [server:3] New client: localhost.
    2013/09/06 06:40:05 [server:3] Client localhost disconnected.
    2013/09/06 06:40:15 [server:3] New client: localhost.
    2013/09/06 06:40:15 [server:3] Client localhost disconnected.
    2013/09/06 06:40:25 [server:3] New client: localhost.
    2013/09/06 06:40:25 [server:3] Client localhost disconnected.
    2013/09/06 06:40:35 [server:3] New client: localhost.
    2013/09/06 06:40:35 [server:3] Client localhost disconnected.
    2013/09/06 06:40:45 [server:3] New client: localhost.
    2013/09/06 06:40:45 [server:3] Client localhost disconnected.
    2013/09/06 06:40:55 [server:3] New client: localhost.
    2013/09/06 06:40:55 [server:3] Client localhost disconnected.
    2013/09/06 06:41:05 [server:3] New client: localhost.


  • So.
    Is it that Silence usually occurs when there is nothing schedule in your calendar or you are not streaming through master?

    If that's the case then you might have to get your feet wet with a modification of the Ls script found here http://forum.sourcefabric.org/discussion/15701/fallover-101-how-to-make-all-scripts-worked-easy-steps-to-build-your-scripts-fixed-silence

    try my simplest scripts that make 3 folders anywhere like this

    1. /srv/backup/music  .....................this some music you want to play
    2. /srv/backup/startup .....................this some music you want to play just before the music start playing
    3. /srv/backup/drops/ ................... this like your station id put that single file in this folder an name accordingly

    use the simplest script and follow the tutorial (wow its terrible for reading i will fix it later,just copy it,print it and read it,the tutorial).

    Here is the script

    Script 1

    #default = amplify(id="silence_src", 0.00001, noise())


    #^^^^^^Start Of Modification^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    # Music

    myplaylist     = playlist(mode="random",reload=300,"/srv/backup/music")


    # If something goes wrong, we'll play this
    startup = playlist("/srv/backup/startup")

    # If something goes wrong, we'll play this
    security = single("/srv/backup/drops/station.mp3")

    #***********Start building the feed with music*********************************
    # Start building the feed with music by assigning to the same clock (variables)

    mymusicbackup = mksafe(myplaylist)
    mystartup = startup


    #**************Feed with music**************************************************

    # And now to play the back up music when something goes wrong
    #This is the simplest way of having 1 song from your cart play for every 4 music
    #just subsitute jingles for mystartup and the numbers you want like ratio 1:10

    playmymusicbackup=rotate(weights = [1,4],[mystartup,mymusicbackup])



    #*************Fallback to default**********************************************


    #And finally the security
    default = fallback(track_sensitive = false,[playmymusicbackup,security])



    #^^^^^^^^End Of Modification^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    Good Luck

    V.O.I.S.S.E.S.

    Post edited by Voisses Tech at 2013-09-06 19:53:16
    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.