From b489ccc77eae74cd24981896e32eeee260cff661 Mon Sep 17 00:00:00 2001 From: Paul Baranowski Date: Thu, 7 Apr 2011 15:47:31 -0400 Subject: [PATCH 1/2] Dont try to uninstall if the config file doesnt exist. Also fixed a bug where it checking a non-existent variable. --- install/airtime-uninstall.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/airtime-uninstall.php b/install/airtime-uninstall.php index 7accac35f..298d3c945 100644 --- a/install/airtime-uninstall.php +++ b/install/airtime-uninstall.php @@ -9,6 +9,11 @@ require_once(dirname(__FILE__).'/include/AirtimeIni.php'); // Need to check that we are superuser before running this. AirtimeIni::ExitIfNotRoot(); +if (!file_exists('/etc/airtime/airtime.conf')) { + echo PHP_EOL."Airtime config file '/etc/airtime/airtime.conf' does not exist.".PHP_EOL; + echo "Most likely this means that Airtime is not installed, so there is nothing to do.".PHP_EOL.PHP_EOL; + exit(); +} require_once(dirname(__FILE__).'/../application/configs/conf.php'); require_once(dirname(__FILE__).'/include/AirtimeInstall.php'); @@ -39,7 +44,7 @@ if ($dbDeleteFailed) { if (!PEAR::isError($CC_DBC)) { $sql = "select * from pg_tables where tableowner = 'airtime'"; $rows = $CC_DBC->GetAll($sql); - if (PEAR::isError($result)) { + if (PEAR::isError($rows)) { $rows = array(); } From 0177bc1a065de2a77a1b48ba152049ef89f22325 Mon Sep 17 00:00:00 2001 From: Paul Baranowski Date: Thu, 7 Apr 2011 17:54:59 -0400 Subject: [PATCH 2/2] Added Changelog file. Needed for DEB packaging among other things. --- Changelog | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Changelog diff --git a/Changelog b/Changelog new file mode 100644 index 000000000..4f56b464e --- /dev/null +++ b/Changelog @@ -0,0 +1,36 @@ +1.7.0 - April 4, 2011 + * Recording and automatic scheduling/broadcasting of live shows + o Recording/rebroadcast status of a show is shown in "Now Playing" and "Calendar" + o Can rebroadcast a show at multiple times and dates + * Automatic upload of recorded shows to Soundcloud + * Frontend JQuery widgets for public-facing websites to show your visitors what's playing and the upcoming schedule. + * Ability to over-book a show and automatically cut and fade out song if it goes beyond the show time + * Ability to delete audio files + * Ability to cancel the currently playing show + * Any changes to the schedule are immediately seen by the playout engine + o In version 1.6, you had to make sure that your show was ready to go 30 seconds before it started. + * Upgrade support (should be able to upgrade from any version, unlike 1.6.1 which required an uninstall of 1.6.0 first) + * "Now Playing" list view: + o audio items are now grouped by show. + o If a show is not fully scheduled, the user is notified how many seconds of silence are at the end of the show in this View. + o Audio items that play past the show's end time have a visual notification that they will be cut off + * Ability to change metadata tag display format for web streams + * Config files moved to /etc/airtime. This means all config files are in one convenient location and separated from the code, so you can upgrade your code independently of your config files. + * Redesign of Preferences screen + * Bug fixes: + o CC-2082 OGG stream dies after every song when using MPlayer + o CC-1894 Warn users about time zone differences or clock drift problems on the server + o CC-2058 Utilities are not in the system $PATH + o CC-2051 Unable to change user password + o CC-2030 Icon needed for Cue In/Out + o CC-1955 Special character support in the library search + +1.6.1 - Feb 23, 2011 +Bug fixes: + * CC-1973 Liquidsoap crashes after multi-day playout + * CC-1970 API key fix (Security fix) - Each time you run the install scripts, a new API key is now generated. + * CC-1992 Editing metadata goes blank on 'submit' + * CC-1993 ui start time and song time unsynchronized + +1.6.0 - Feb 14, 2011 +First official version of Airtime.