Airtime 2.5.1 API: /api/live-info/ previous, current, next audio track and schedulerTime difference
  • I have a small problem cause when i call /api/live-info/ the times in previous, current, next track are shifted one hour:

    {
        "production": "env",
        "schedulerTime": "2014-02-26 20:57:04", 
        "previous": { 
            "name": "YURIA - Mirage Lullaby (Dominator MIX)", 
            "starts": "2014-02-26 19:45:41.839", 
            "ends": "2014-02-26 19:52:32.197", 
            "type": "track"
        }, 
        "current": { 
            "name": "YURIA - Mirage Lullaby (Surface mix)", 
            "starts": "2014-02-26 19:52:32.197", 
            "ends": "2014-02-26 19:57:07.763", 
            "media_item_played": true, 
            "record": 0, 
            "type": "track" 
        }, 
        "next": { 
            "name": "Skankfunk - FEAR 4 TERROR", 
            "starts": "2014-02-26 19:57:07.763", 
            "ends": "2014-02-26 19:59:51.311", 
            "type": "track" 
        },
        [...]
    }

    and rest of timestamps (shows) are correct. I would like to ask if this error of my installation or is this intentional ?

  • 1 Comment sorted by
  • It sounds like one of your airtime  timezone settings is wrong - or the system clock or hardware clock.
    No longer using Airtime or Libretime.