A new interface for LibreTime.
Go to file
Yuchen Wang 6ffecf80c8 CC-2965: Frontend widget displays shows in UTC time
Not only were frontend widgets showing UTC time,
the SQL query was also comparing UTC timestamp with local timestamps,
causing widgets to display shows in the wrong day, etc.

Another problem was that "On air today" widget was simply calling
GetNextShows which returns shows within next 48 hours.

Fixed by:
1. Under models/Show.php:
In the GetCurrentShow/GetNextShows/GetShowsByDayOfWeek functions,
added code to convert UTC timestamp to local timestamp or vice versa,
depending on which one is more suitable, in SQL queries, thus
removing inconsistency in timezones. Also, before returning query result,
added code to convert result to local timezone.

In GetNextShows, added an optional parameter endTime to limit the interval
of shows to get. This is useful for the "On air today" widget.

2. Under models/DateHelper.php:
Added a few timezone functions to help converting timezones easier in Show.php.

3. Under controller/ApiController.php:
Added todayInfoAction which is to be used by "On Air Today" widget.
2011-11-04 16:57:24 -04:00
airtime_mvc CC-2965: Frontend widget displays shows in UTC time 2011-11-04 16:57:24 -04:00
dev_tools CC-2870: Create testing infrastructure for testing upgrades 2011-10-14 14:26:10 +02:00
docs Minor fixes for the name change Campcaster -> Airtime. 2011-01-07 17:17:23 -05:00
install_full -add missing dependency for liquidsoap 2011-10-12 14:52:54 +02:00
install_minimal CC-2935: Upgrade: delete virtualenv dir and reinstall virtualenv 2011-11-01 11:15:35 -04:00
python_apps CC-2758: Make airtime-install script Debian/Ubuntu compatible 2011-10-28 17:24:38 -04:00
utils CC-2989: airtime-check-system should deal with the case when the web server is not accessible 2011-10-27 17:13:36 -04:00
widgets CC-2965: Frontend widget displays shows in UTC time 2011-11-04 16:57:24 -04:00
.gitignore get rid of liquidsoap binary showing as modified 2011-09-22 16:10:22 -04:00
.zfproject.xml CC-1799 Put Airtime Storage into a Human Readable File Naming Convention 2011-06-21 10:24:02 +02:00
CREDITS -1.9.4 release prep 2011-09-13 15:18:18 -04:00
INSTALL Fixed out of date URL in INSTALL file 2011-08-05 15:12:55 -04:00
LICENSE Added License info for the project, as well as info about how our 2010-11-25 16:43:32 -05:00
LICENSE_3RD_PARTY CC-2917: Adding show, when inputting time and specifying a bogus 2011-10-04 11:38:20 -04:00
README Fixed up INSTALL docs. 2011-03-28 16:12:55 -04:00
VERSION -version string changes 2011-08-15 11:11:55 -04:00
changelog CC-2929: More janitorial fixes for Debian/Ubuntu compatibility 2011-10-12 14:45:12 +02:00

README

=========================================================================
==========================    AIRTIME   =================================
=========================================================================
Airtime is an open source application that provides remote automation 
of a radio station.

Home page: http://airtime.sourcefabric.org/

Major features:
 * Web-based remote station management.  Authorized personnel can add
   program material, create playlists, and schedule programming all via 
   a web interface.
 * Automation.  Airtime has a scheduler function that enables users to
   set shows with playlists for playback at a date and time of their choosing.
   Playlists can be played back multiple times.
 * Solid, fast playback.  Airtime uses the open source Liquidsoap 
   multimedia framework for clean, reliable, fast playback. 
 * Open, extensible architecture.  Stations are free to extend and alter 
   all parts of the program code.


INSTALLATION
------------
Please see this page for a typical user installation:
http://www.sourcefabric.org/en/products/airtime_manuals/

If you are a developer, please see this page:
http://wiki.sourcefabric.org/display/CC/Airtime+Dev+Site

Quick links to our resources
----------------------------
    User Manual: http://www.sourcefabric.org/en/products/airtime_manuals/
    Forums and mailing lists: http://forum.sourcefabric.org
    Bug Tracking: http://dev.sourcefabric.org
    Code view/review: http://code.sourcefabric.org
    Public source code hosting: http://github.com/sourcefabric
    Download link: https://sourceforge.net/projects/airtime/files/
    Developer's wiki: http://wiki.sourcefabric.org