Commit Graph

6101 Commits

Author SHA1 Message Date
Martin Konecny da5df1b8e1 Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-28 22:36:17 -05:00
James 3c9b8e5044 Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-28 10:01:14 -05:00
James ba828a28bc CC-3346: Recorder will not record shows if calendar is not touched 2
hours before the recorder starts

- apiclient should log to correct log file.
2012-02-28 10:00:43 -05:00
Martin Konecny 4514967ccd CC-3359: Now Playing -> Day view has a bug with supporting UTC time
-fixed
2012-02-27 21:37:23 -05:00
Martin Konecny 02b878561a Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-27 19:35:11 -05:00
Martin Konecny 428d836d4e CC-3350: Upgrade 1.8.2 to 2.0.1 doesnt preserve recorded files names when the Airtime stor directory is a symlink
-fixed?
2012-02-27 19:34:57 -05:00
James 6eb7372909 Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-27 18:10:58 -05:00
Daniel fc2b18923e CC-3337: Optimize Schedule/get-current-playlist/format/json
- I've updated the time interval used to search for the next, current and previously secheduled shows to 24 hours before and after from 1 hour.
2012-02-27 18:09:30 -05:00
James 33b6c2a390 CC-3346: Recorder: Merge recorder with pypo
- fixed log message
2012-02-27 18:09:07 -05:00
Daniel 9736fd7deb CC-3334: Upgrade notification reports there is an upgrade when user has a later version than the official released version
- I've updated the comment to read the difference between 1.9.5 and version 3.0.0 is calculated as 105
- I've also updated the checking logic to make the first outdated anything below 20 and the second outdated between 20 and 29.
2012-02-27 17:28:06 -05:00
James f030cf4f67 CC-3346: Recorder: Merge recorder with pypo
- separated rabitMQ listener part out from pypoFetch and created
pypomessagehandler.py
2012-02-27 16:18:10 -05:00
james 38c16df138 CC-3346: Recorder: Merge recorder with pypo
- function parse_show was renamed to process_recorder_schedule
- using thread on self.process_schedule call
2012-02-25 09:44:33 -05:00
james 793c72b09c CC-3357: Upgrade script to 2.0.2 doesn't work
- It was deleting /user/lib/airtime after it installs virtualenv. rm comand is
ran before anything.
2012-02-24 21:02:54 -05:00
James 4e72c1150d CC-3346: Recorder: Merge recorder with pypo
- Upgrade for 2.0.2
2012-02-24 16:24:12 -05:00
James 06c825479b CC-3345: Enter unusable state when liquidsoap value has an '='
character in it.

- fixed
2012-02-24 14:10:27 -05:00
James 695535ae64 CC-3346: Recorder: Merge recorder with pypo
- Pypo fech works as msg listner for recroder now.
- recorder is part of pypo and all it does is waiting for msg from pypo
fetch and spwan a show recorder thread.
- added new parameter logger to api client. This way apiclient will log
into specific log file instead of grabbing current log file.
- show recoder is removed from all check system/status page
2012-02-24 13:12:50 -05:00
Martin Konecny 54f81ca5de CC-3342: Pypo: if a user doesn't update anything on calendar for 24 hrs, it could cause a problem.
-make it so that we cannot use all CPU if spinning in while loop
-remove Message Acknowledge exception
2012-02-22 19:23:48 -05:00
Martin Konecny d5a8f63d36 CC-3342: Pypo: if a user doesn't update anything on calendar for 24 hrs, it could cause a problem.
-fixed
2012-02-22 17:56:17 -05:00
Daniel 1677bc6816 CC-3334: Upgrade notification reports there is an upgrade when user has a later version than the official released version
Updated the logic in Version Notify so that if the currently installed version of airtime is greater then the official version a notification does not appear saying Airtime needs to be updated.
2012-02-22 16:06:06 -05:00
Daniel 8bbccb6f44 CC-3338: Optimize week display
The response time of the calendar varies depending on whether the week/day views filter or the month filter is used because of the additional percentage scheduled calculation per show instance. This added calculation results in more and heavier hits to the database, I've included the time_filled column in the original show query and have used that to calculate percentage and saved the db call.
2012-02-22 14:32:59 -05:00
Daniel 80e33ee533 CC-3337: Optimize Schedule/get-current-playlist/format/json
- I've updated the logic to query the cc_schedule table directly for the previous, next, current shows which makes look up time much faster. If that doesn't work then I revert back to the previous logic, incase nothing is scheduled within an hour of the current time.
2012-02-22 11:36:48 -05:00
Daniel 664584ec6b CC-3331 : Optimize "Now Playing" to load in less than 1/2 second
- updated the CreateDatatableRows do perform a check and set on the last items end time. If the end time of the last item exceeds the show time's end I set the items end time to the show's end time.
2012-02-17 17:58:19 -05:00
Daniel c7f4b17e81 CC-3331: Optimize "Now Playing" to load in less than 1/2 second
- cleaned up sql statement Schedule's getScheduleItemsInRange
2012-02-17 17:08:47 -05:00
Daniel 5dd94ce12c Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-17 16:49:44 -05:00
Daniel 5cb99e9532 CC-3331: Optimize "Now Playing" to load in less than 1/2 second
- Reorganized the now playing to find all the scheduled items within two time frames instead of in a loop per show id.
- I've cut the time in half
2012-02-17 16:47:12 -05:00
James 0db3a45fcf SAAS-196: Stats: Check if easy_install installation method detection
is working properly

- fixed
2012-02-17 15:40:37 -05:00
Daniel 6d71ec8c9c CC-3331 : Optimize "Now Playing" to load in less than 1/2 second
- The logic to build the NowPlaying list was updated to refactor the quering of the database for playlist tracks played from in the loop per show ID to outside the loop for a given duration. The resulting list was then partitioned off for each show.
2012-02-17 11:13:34 -05:00
Martin Konecny 8f4eedd8b8 -remove unneeded file 2012-02-16 14:58:34 -05:00
Martin Konecny bea9c86679 CC-3332: Check if install full script still needs to install libogg-ocaml and libvorbis-ocaml
-fixed
2012-02-16 14:58:25 -05:00
Martin Konecny 32f09fb18d -airtime-check-system should read domain from /etc/airtime/airtime.conf 2012-02-14 17:18:11 -05:00
Martin Konecny 5862324da9 CC-3326: Make /etc/monit/conf.d is empty of any old Airtime files before upgrading!
-fixed
2012-02-14 09:37:20 -05:00
Martin Konecny 76d8e22baf CC-3325: Airtime 2.0.0 upgrade script makes reference to 2.0.1 files
-fixed
2012-02-14 09:35:37 -05:00
Martin Konecny 7fd8ba4ffa -updated changelog for 2.0.1 2012-02-14 08:57:05 -05:00
Martin Konecny 238abd6f87 CC-3324: Uncaught TypeError: Cannot read property 'length' of undefined - if watched dir not defined 2012-02-13 12:24:55 -05:00
Martin Konecny 3df396756f CC-3323: Don't send description text to Full Calendar since it is never used.
-Done
2012-02-13 12:10:23 -05:00
Martin Konecny fbd6df1986 CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade. 2012-02-12 15:31:17 -05:00
Martin Konecny 0424a7f1d1 -We don't want any of our python services running at install time. Disable them early on. 2012-02-12 11:44:23 -05:00
Martin Konecny 8493180243 CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.
-use clearstatcache function
2012-02-12 11:43:34 -05:00
Martin Konecny 5059d13156 -handle case gracefully when pypo hasn't registered with Airtime server yet. 2012-02-12 01:34:53 -05:00
Martin Konecny ccd843a35a CC-3322: PHP warning during 2.0.1 upgrade process
-get timezone properly
2012-02-12 01:34:10 -05:00
Martin Konecny 585ae5ad20 CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.
-try touching file
2012-02-12 01:21:28 -05:00
Martin Konecny caf0f5fedd CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.
-try clearing apc cache after upgrading web files
2012-02-12 01:16:32 -05:00
Martin Konecny 4254a45e74 CC-3322: PHP warning during 2.0.1 upgrade process 2012-02-12 01:09:35 -05:00
Martin Konecny 61f57bb88a -we should always be using our custom php.ini script on upgrades 2012-02-12 00:42:02 -05:00
Martin Konecny e5e8621c9e Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x 2012-02-11 23:54:05 -05:00
Martin Konecny 885572b36d CC-3321: Multiple messages are sent to Pypo via RabbitMq at one time, causing multiple telnet connections to Liquidsoap.
-Fixed
2012-02-11 23:53:43 -05:00
james 4106de4e1a CC-3319: Show recorder process FAILED when upgrading 2.0.0 to 2.0.1
- 2.0.1 upgrade folder is created
2012-02-11 11:56:19 -05:00
Martin Konecny eadf68cb61 CC-3318: When changing stream settings (Liquidsoap + Pypo restart), sometimes Airtime does not resume playback
-fixed
2012-02-10 18:43:40 -05:00
Martin Konecny 33b594c39a CC-3318: When changing stream settings (Liquidsoap + Pypo restart), sometimes Airtime does not resume playback
-syntax error
2012-02-10 14:58:48 -05:00
Martin Konecny ccb942838a CC-3318: When changing stream settings (Liquidsoap + Pypo restart), sometimes Airtime does not resume playback
-initial commit
2012-02-10 14:53:22 -05:00