Commit Graph

258 Commits

Author SHA1 Message Date
Martin Konecny 39fac2f88a CC-3336: Refactor schedule API used by pypo
-refactored pypo-push
2012-02-28 11:06:31 -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
James 33b6c2a390 CC-3346: Recorder: Merge recorder with pypo
- fixed log message
2012-02-27 18:09:07 -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
Martin Konecny e8f329aef1 CC-3336: Refactor schedule API used by pypo 2012-02-27 13:52:35 -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 446233fbd4 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-02-24 14:15:06 -05:00
James f92c425890 CC-3345: Enter unusable state when liquidsoap value has an '='
character in it.

- fixed
2012-02-24 14:14:42 -05:00
James 2f689ed583 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 14:11:35 -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
Paul Baranowski ca535ea763 Removed OBP refs and code. 2012-02-23 16:08:16 -05:00
Martin Konecny c433b08158 CC-3336: Refactor schedule API used by pypo
-removed export_source
-rewrote GetScheduledPlaylists()
2012-02-23 15:20:25 -05:00
Martin Konecny da012af6ed CC-3336: Refactor schedule API used by pypo
-removed export_source
-rewrote GetScheduledPlaylists()
2012-02-22 20:41:24 -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
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 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 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
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
Martin Konecny 58b4576ae1 CC-3297: Depend on zendframework and php-pear as external packages
-DB dependency should now be externalized
2012-02-06 14:18:03 -05:00
Martin Konecny 6215eb0dba -fix upgrade for large result sets. 2012-01-25 05:01:56 -05:00
James 438340ff9a CC-3266: Pypo: pypopush will perfom better if it only process the
lastest msg from the rabbitMQ queue

- done
2012-01-18 17:52:09 -05:00
Martin Konecny b2a9abe3ef CC-3231: Tracks are still playing after a show ends
-fixed
2012-01-09 17:46:42 -05:00
james 9216da7f03 Merge branch 'airtime-2.0.x' of dev.sourcefabric.org:airtime into airtime-2.0.x 2011-12-24 11:03:02 -05:00
james c9c6a08a1c CC-3220: Stream Setting: Status box is stuck on waiting if nothing is
changed and click save

- done
- liquidsoap_update_error and liquidsoap_update_connection functions are
combined into one function, liquidsoap_update_status, in various place
- created various telnet commands in liquidsoap( connection check for each
stream, connection status for all streams)
- In liquidsoap, shoutcast stream doesn't use default id. It is more
informative by using id with "shoutcast_stream_#{stream_number}
2011-12-24 10:59:09 -05:00
Martin Konecny 00a05e146b CC-3222: Add option to disable auto starting Airtime services (after install and after system restart)
-Done
2011-12-23 15:53:30 -05:00
James 579484a91c Merge branch 'airtime-2.0.x' of dev.sourcefabric.org:airtime into airtime-2.0.x 2011-12-15 16:10:42 -05:00
James 22b2b466e5 CC-3207: Exception 'latin-1' codec can't encode character u'\u2013' in
position 32: ordinal not in range(256)

- fixed
2011-12-15 16:09:58 -05:00
Martin Konecny 7d60530312 CC-3206: Add ability to do Airtime upgrade without restarting liquidsoap
-done
2011-12-15 11:22:22 -05:00
Martin Konecny 76fac6fbef CC-3206: Add ability to do Airtime upgrade without restarting liquidsoap
-done
2011-12-15 11:16:14 -05:00
James 8463262190 CC-3169: Default liquidsoap.cfg file is missing sX_user
- fixed
2011-12-07 11:31:21 -05:00
Martin Konecny 21643a3734 SAAS-56: RabbitMQ virtual host support
-Add support for specifying vhost in config files
2011-12-05 21:05:28 -05:00
Martin Konecny b8e1884583 CC-3155: Show doesn't resume playback on system crash / restarting pypo
-fixed
2011-12-02 17:28:57 -05:00
Martin Konecny f0342e9329 -remove some commented out code 2011-12-02 16:57:18 -05:00
Martin Konecny cbc2ba660f CC-3074: Give users the choice of which hardware sound API they wish to use (instead of hardcoded to ALSA)
-done
2011-12-02 13:39:16 -05:00
Martin Konecny 6bcd96db88 CC-3133: Enabling hardware audio output causes all playout to fail with Portaudio error in write_stream: Output underflowed
-should be fixed
2011-12-02 13:39:16 -05:00
James 043f0c29a1 CC-3074: Give users the choice of which hardware sound API they wish to
use (instead of hardcoded to ALSA)

- finished everything except LS part(including upgrade and UI)
2011-12-02 13:39:14 -05:00
Martin Konecny c48154ef2f SAAS-83: Add ability to install Airtime components separately
-fixed
2011-11-30 17:59:00 -05:00
James 48d9d2d93b Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-29 20:16:01 -05:00
James 9c65bfeba7 CC-3131: Latency of stream authentication warning in Stream Settings page
- it compares boot time of liquidsoap and the time user clicks on "Save"
on stream setting page. The status only gets updated if the
"boot_time" > "user update time"
- as soon as a user click on save, status is set to "wating"
- since there is no timing issue, quering interval is reduced to 1 sec
2011-11-29 20:15:38 -05:00
Yuchen Wang 53aecd1c00 CC-3130: Disabling a Shoutcast stream causes the service type to revert back to Icecast
This happens because we use same field in the db to store whether stream is disabled, and which
type is it (Icecast/Shoutcast). Thus when we disable a stream, we forget about the fact that
it was set to Shoutcast before.

Fixed by separating out the enable/disable state from stream type.
Whether a stream is enabled/disabled is stored in new fields sx_enable.
Stream type is stored in the old fields, sx_output.
2011-11-29 16:25:30 -05:00
Martin Konecny 15a27526f9 SAAS-83: Add ability to install Airtime components separately
-fixed
2011-11-24 18:10:06 -05:00
martin 4c388f0a1a CC-3056: Liquidsoap binaries not working on Ubuntu Maverick
-compiled all liquidsoap binaries
2011-11-18 18:45:37 -05:00
Martin Konecny 34252d680a CC-3056: Liquidsoap binaries not working on Ubuntu Maverick
-use absolute paths since the testing scripts need this.
2011-11-18 15:50:21 -05:00
Martin Konecny 7b872fa89b CC-3056: Liquidsoap binaries not working on Ubuntu Maverick
-better messages at install time
2011-11-18 15:17:30 -05:00
James 6b7d7646c9 CC-3062: Stream Setting: Status box is not working for shoutcast
- fixed. added on_error and on_connect callback to shoutcast()
2011-11-18 11:18:35 -05:00
Martin Konecny 84e2fff36e CC-3058: Extranenous string during install process
-fixed
2011-11-17 18:15:27 -05:00
Martin Konecny 7a9e53fa04 CC-3040: Debian Squeeze requires the Liquidsoap natty binary instead of the generic one
-done
2011-11-14 14:12:12 -05:00
Martin Konecny c3429cbe2a CC-2952: Put in final Liquidsoap 1.0 binaries
-set binaries to executable
2011-11-14 13:08:26 -05:00
Martin Konecny 9270ff01a2 CC-2952: Put in final Liquidsoap 1.0 binaries
-Done
2011-11-10 23:55:15 -05:00
Martin Konecny 38a0f8697a CC-2758: Make airtime-install script Debian/Ubuntu compatible
-cleanup
2011-11-01 22:43:12 -04:00
martin f2ef006385 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-cosmetic changes
2011-11-01 15:21:09 -04:00
Martin Konecny fccaa554f5 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-further tweaks
2011-10-28 17:24:38 -04:00
Martin Konecny 56edfe4e68 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-uninstall script added
2011-10-28 12:35:58 -04:00
Martin Konecny b25b0c7ea0 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-rename old files
2011-10-27 16:16:36 -04:00
Martin Konecny 87970740a0 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-install complete
2011-10-27 15:53:54 -04:00
Martin Konecny cf4f151302 CC-2758: Make airtime-install script Debian/Ubuntu compatible
-fixes
2011-10-27 15:22:35 -04:00
Martin Konecny 8cafc52cad CC-2758: Make airtime-install script Debian/Ubuntu compatible
-initial commit
2011-10-27 14:01:59 -04:00
James efbd2f53d0 CC-2745: Show status of liquidsoap/icecast connection on Stream
Settings page

- temp commit
2011-10-11 14:40:30 -04:00
James d8c6b722ac Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-11 10:00:39 -04:00
Martin Konecny 8fe10830d5 -fixed on-air light not working. 2011-10-11 13:36:07 +02:00
james d3833f9a32 CC-2745: Show status of liquidsoap/icecast connection on Stream Settings
page

- initial commit
2011-10-10 20:14:27 -04:00
Martin Konecny ffeeabc7c9 -need to install natty liquidsoap binary for oneiric 2011-10-09 02:29:16 -04:00
martin 8d5efd7752 -update liquidsoap to pre-release 1.0 version 2011-10-05 11:44:44 -04:00
martin b0f6f1e39b CC-2925: Airtime scripts broken with Liquidsoap 1.0 pre-release
-fixed
-also updated the liquidsoap library scripts
2011-10-04 13:50:03 -04:00
martin eb549fe71a CC-2897: Liquidsoap doesn't start when no streams are enabled
-fixed
2011-09-28 13:53:11 -04:00
martin 1cbc098e91 CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder 2011-09-28 12:15:13 -04:00
martin 974612badf CC-2888: Create a monit file for each airtime component 2011-09-26 14:40:26 -04:00
martin 5cc7de95ee CC-2833: Use ClassLoaders for PHP Files
-Done for class User
2011-09-23 17:00:55 -04:00
martin ee1a173953 CC-2850: Liquidsoap doesn't rotate its log files in Airtime
-fixed
-also noticed files were being chmod'd to 755, which is unnecessary. Also fixed.
2011-09-23 12:23:33 -04:00
martin 9bb901945e CC-2833: Use ClassLoaders for PHP Files
-shows.php
2011-09-23 10:54:20 -04:00
martin 5d7b51dafc CC-2833: Use ClassLoaders for PHP Files 2011-09-22 18:24:54 -04:00
martin 3a2eaecad8 Merge branch '1.9.1' into devel
Conflicts:
	python_apps/pypo/pypopush.py
2011-09-20 14:31:09 -04:00
martin b94004d7f4 CC-2847: Airtime doesn't resume playing audio after upgrade 2011-09-20 13:25:29 -04:00
martin 3601f37904 CC-2846: On crash recovery, Pypo pushes playlists up to 5 times to Liquidsoap.
-fixed
2011-09-20 12:44:48 -04:00
martin 15f91ca0e1 CC-2838: Character encoding errors with telnet'ing show name to Liquidsoap
-enforce UTF-8
2011-09-18 19:39:36 -04:00
martin 904c53c449 Merge branch '1.9.1' into devel
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
2011-09-18 19:34:45 -04:00
martin 0e503517f5 CC-2838: Character encoding errors with telnet'ing
show name to Liquidsoap

-fixed
2011-09-18 19:32:39 -04:00
martin 3485b5a39f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-09-16 17:53:37 -04:00
martin 659e412eb7 CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder
-progress being made
2011-09-16 17:51:28 -04:00
James 7c94734277 CC-2810: More chmnod fixes for scripts
- removed shebang from .py files
- removed cron folder and its content as we don't use them
- .js files are from 3rd party(datatable) so we should leave them as they are
2011-09-16 14:01:23 -04:00
martin b5684bb5b1 Merge branch '1.9.1' into devel
Conflicts:
	install_full/ubuntu/airtime-full-install
	utils/airtime-update-db-settings.py
2011-09-15 17:44:07 -04:00
James c15d599dba CC-2827: Python shebangs should specify the version python2.6
- done
2011-09-15 12:28:31 -04:00
martin 1555c83668 CC-2750: Ability to query health status for pypo, liquidsoap,
media monitor, and recorder
-cleanup
2011-09-13 17:20:34 -04:00
martin 2c2bb86698 CC-2750: Ability to query health status for pypo,
liquidsoap, media monitor, and recorder

-fixed rabbitmq not delivering messages
2011-09-13 14:56:24 -04:00
martin 0546633ac7 CC-2750:Ability to query health status for pypo, liquidsoap, media monitor, and recorder 2011-09-12 17:15:46 -04:00
martin 9c7bab616d Merge branch '1.9.1' into devel
Conflicts:
	VERSION
	airtime_mvc/application/configs/constants.php
	airtime_mvc/application/controllers/ScheduleController.php
	install_minimal/airtime-install
	install_minimal/include/AirtimeInstall.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
	python_apps/pypo/pypofetch.py
	python_apps/pypo/pypopush.py
2011-09-09 15:07:43 -04:00
martin f1c77845ea CC-2783: Investigate Pypo taking 100% CPU on production system
-fixed
2011-09-09 14:49:12 -04:00
martin ace98569ed CC-2783: Investigate Pypo taking 100% CPU on production system
-fixed
2011-09-09 14:11:56 -04:00
martin 611630d4eb CC-2788: Airtime uses both /bin/bash and /bin/sh in different scripts
-forgot notify.sh
2011-09-08 13:44:33 -04:00
martin 805e358d9c CC-2788: Airtime uses both /bin/bash and /bin/sh in different scripts
-fixed
2011-09-08 12:36:51 -04:00
martin 6dab211a12 CC-2784: Stopping rabbitmq-server causes pypo CPU usage to increase dramatically
-fixed
2011-09-08 12:17:42 -04:00
martin 03efb8f293 CC-2760: Remove shebangs from files that don't need them, fix chmod of files
-done
2011-09-06 19:06:13 -04:00
James 39b688c256 CC-2661: Uptrade script for stream config feature
- codes for conserving user's liquidsoap.cfg and porting into new stream
setting config.
- extra fix: fixed a bug with shoutcast(default value has to be set for
some variables)
2011-09-01 16:02:06 -04:00
James 17e7e9b80a CC-2089: create "cancel show" command for pypo
- removed comments
2011-08-31 16:33:40 -04:00
James cab2a0f8f4 CC-2661: Upgrade script for steam config feature
- done
2011-08-29 17:44:28 -04:00
James 83bba9532e CC-2089: create "cancel show" command for pypo
- done
2011-08-29 11:54:44 -04:00