Commit Graph

193 Commits

Author SHA1 Message Date
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
james 59a3076e42 CC-2726: monit monitor and unmonitor order change
- fixed
2011-08-26 15:44:19 -04:00
james d992457bd5 CC-2607: handling comment
- each line read is trimed now
- xtra bug fixed:
- bug on merging with 1.9.3
- state_change_restart array is filled with info for displaying
purpose
2011-08-26 13:13:02 -04:00
james 56ad8c6b3d Merge branch '1.9.1' into devel
Conflicts:
	VERSION
	airtime_mvc/application/configs/constants.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
	python_apps/pypo/pypofetch.py
2011-08-26 12:56:10 -04:00
James 14e1e15830 CC-2733: Resume play is broken: mp3 files skipped
- killing old pypo and liquidsoap processes
- comparing mime type againt old type of mime
2011-08-25 16:32:57 -04:00
martin fd64c917d5 CC-2728: Liquidsoap doesn't play mono files
-fixed
2011-08-24 18:13:15 -04:00
James 95cb1858c7 CC-2726: create custom restart script for the Monit to use
- using Monit restart instead of start in full insatll script
- create new "monit-restart" function in pypo init.d
2011-08-24 17:17:28 -04:00
James 58837ff89b CC-2706: Streams should have a username field
- adding "User" field on stream setting form
- change key name from "output_s1" to "s1_output" format to be consistent
- changed order of inserting in default.sql file
- hiding username field on shoutcast selection
- liquidsoap and pypo takes care of user field input
2011-08-24 17:13:56 -04:00
James 88d3fa73be CC-2721: Pypo doesn't restart when it gets new stream setting
- fixed
2011-08-23 11:13:06 -04:00
James 078aa1d05d CC-2607: Handling comments
- It handles comment lines
- adding warning text telling not to edit liquidsoap.cfg file
2011-08-23 10:12:18 -04:00
James a73612afd2 CC-2607: Ability to adjust stream bitrate,type,etc from the UI interface
- Modified "Descriptioin" to "Name/Description"
- mount point is not append with extension anymore
- fix on auto generated stream url
- name is used in shoutcast
2011-08-19 16:35:23 -04:00
James 38256de606 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-08-18 13:54:17 -04:00
James cf55e92aa3 CC-2607: Ability to adjust stream bitrate, type, etc from UI
- removed debug code from NowPlayingController
- New Form for streamsetting
- Action created in PreferenceController
2011-08-18 13:53:12 -04:00
martin 58c1eff283 CC-2689: Build latest liquidsoap version
-Done
2011-08-17 18:34:45 -04:00
martin 57834097e8 -remove unneeded -dev packages from install
-remove timezone check from pypo-fetch
2011-08-17 15:50:28 -04:00
martin 03f8163764 cc-2682: not using pypo time
-Remove messages being sent to pypo to change its timezone
-fix time conversion bug in pypo-push
2011-08-16 15:07:55 -04:00
martin 61e1c56244 cc-2683-not-using-utc-time
-pypo now works in UTC time
2011-08-16 15:07:54 -04:00
James 4f2b2dba6d CC-2607: Abilitiy to adjust stream bitrate, type, etc from the UI
interface

- dummy page "Stream Setting" page for the test
- StreamSetting model is added
- set owner and group as 'pypo' for liquidsoap.cfg
- pypofech handle 'update_stream_setting' command
2011-08-15 16:10:46 -04:00
martin b538f1cc82 CC-1942: Add ability to set timezone in preferences
-change timezone in python
2011-08-15 10:06:42 -04:00
James 13285fdd63 CC-2607: Ability to adjust stream bitrate, type, etc from UI interface
- created table cc_stream_setting and it's initial entries
- pypo installation will generate liquidsoap.cfg on install time
based on information on cc_stream_setting table
2011-08-12 15:19:30 -04:00
James 1c81d0d238 CC-2631: Convert pypo to accept commands from RabbitMQ
- initial commit
2011-08-11 16:20:20 -04:00
James 4125f83ae7 CC-2590: Make bitrate for liquidsoap adjustable, support multiple
stream

- done
2011-08-11 14:43:45 -04:00
james 3dca3fd800 CC-2590: support multiple stream on liquidsoap
- temp commit
2011-08-10 18:04:48 -04:00
James 773f948d58 - some unintended changes were pushed to devel 2011-08-08 16:26:18 -04:00
James c79fb81c37 - temp commit 2011-08-03 10:05:42 -04:00
James b46abe0234 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-26 12:42:56 -04:00
James 9da83197a1 CC-2552: removing liquidsoap.cfg from /usr/lib/...
-done
2011-07-26 12:42:39 -04:00
Naomi Aro 8f5e2a6739 CC-2590 : Make bitrate for liquidsoap and show-recorder adjustable from the config file 2011-07-26 18:39:26 +02:00
Naomi Aro f0bf7c00c3 CC-2590 : Make bitrate for liquidsoap and show-recorder adjustable from the config file 2011-07-26 16:21:20 +02:00
martin 6205b30152 CC-2566: Separate URL config out of config files and put them with API_CLIENT
-fixed
2011-07-19 19:42:23 -04:00
martin bbabdcda67 -remove CueFile imports. 2011-07-19 17:16:42 -04:00
James cef2361bc2 - removed cue_file because it's handled by liquidsoap itself. 2011-07-19 16:31:02 -04:00
James 107c100cc4 Merge branch 'devel' of dev.sourcefabric.org:airtime into cc-2528-use-virtualenv-for-installing
Conflicts:
	python_apps/media-monitor/airtime-media-monitor
2011-07-19 15:09:55 -04:00
James b4e887eb2d temp comit 2011-07-19 15:06:35 -04:00
martin ff2fcde7c0 CC-2567: Install api_client separately from pypo 2011-07-19 12:07:31 -04:00
James e19bf33f51 temp comit 2011-07-18 17:04:46 -04:00
martin 49c399b7a8 -small code cleanup.. 2011-07-12 17:39:15 -04:00
martin 80115856ba -use alsa as default output for liquidsoap 2011-07-08 12:21:36 -04:00
martin d23a6ef0fe -liquidsoap beta2 binaries 2011-07-06 11:40:30 -04:00
martin 3dc1380fab -updated liquidsoap scripts + library to be liquidsoap-beta2 compliant 2011-07-06 11:14:51 -04:00
martin 95b69b403b CC-2429: Liquidsoap should be run with higher priority
-On a range of -20 to 20, where -20 gives the highest
 priority, set Liquidsoap nice to -15.
2011-06-23 14:06:02 -04:00
martin 9e4b4a0e93 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-06-20 17:38:27 -04:00
martin aa56344a29 CC-2410: Clean up install process
-hiding a few more warnings.
2011-06-20 17:38:18 -04:00
Paul Baranowski 1bb2e79a78 CC-2397: Support output to Shoutcast
Simply added some config file variables and added the output type in
the liquidsoap script.
2011-06-20 17:34:16 -04:00
martin fe14113b58 CC-2410: Clean up install process
-reduced number of messages
-got rid of some warnings.
-moved airtime-install.php, airtime-upgrade.php, airtime-uninstall.php
2011-06-20 17:24:12 -04:00
martin 9744507078 -Remove unused logging statements 2011-06-20 16:31:53 -04:00
martin 4d790ac42a CC-2015: On reboot, resume at the current time in the show
-added new liquidsoap binaries with cue-in/cue-out support
-revision hash c3c118e
2011-06-17 16:27:04 -04:00
martin 948a0e584d -added quotes to all paths in rm -rf statements 2011-06-17 11:16:27 -04:00
martin 2f5a1c4df6 cc-2055: switch to init.d
-monit is now temporarily disabled when intentionally stopped a service
2011-06-16 20:01:37 -04:00
martin ec6db96025 cc-2015: on reboot resume show
-use native capabilities of liquidsoap cue-in cue-out
 for song cue-in/cue-out
2011-06-16 18:59:15 -04:00
martin 4facadf521 -remove some symbolic links from /usr/bin. These are now
handled through init.d script
2011-06-16 17:29:05 -04:00
martin e90e6d7c12 cc-2015: on reboot resume show
-liquidsoap is having some problems with cue points right now
 need to check if this is my fault.
2011-06-16 13:26:37 -04:00
martin e5ed11ee51 cc-2015: on reboot resume show
-removed cue file from pypo responibility
2011-06-16 13:26:37 -04:00
martin 0d13b9013b cc-2015: on reboot resume show
-calculating the amount of seconds since track began complete
2011-06-16 13:26:36 -04:00
martin 12ae5a289f cc-2015: on reboot resume show 2011-06-16 13:26:36 -04:00
martin 9cfec2c8ef -reorganized/cleaned up python_apps/pypo directory. 2011-06-14 14:37:09 -04:00
martin b6262438bd Merge branch '1.8.2' into devel
Conflicts:
	python_apps/pypo/airtime-liquidsoap
	python_apps/pypo/pypopush.py

-merged RC5/final 1.8.2 to devel
2011-06-13 10:51:09 -04:00
martin 8d3b99e440 cc-2055: switch to init.d
-fixed pypo hanging if it was started before rabbitmq.
2011-06-08 14:26:19 -04:00
martin 50ff1984f2 -python interpreter exceptions are now redirected to a file so
we can see messages related to indentation errors etc. File should
 be useful for devel purposes only.
-a merge with the 1.8.2 branch incorrectly changed the version string. Fixed.
2011-06-08 12:33:38 -04:00
martin 6e35a77268 CC-2376: pypo-push thread sys.exits when exception is raised. 2011-06-07 16:54:38 -04:00
martin 7d51a04082 CC-2375: Liquidsoap cannot access the ALSA device
-fixed
2011-06-07 14:34:14 -04:00
martin f97cd4d635 -remove apache2 as a daemon start prerequisite since apache may be remote. 2011-06-03 17:40:58 -04:00
martin d516b963e4 cc-2055: switch to init.d
-initial upgrade script
2011-06-02 18:07:48 -04:00
martin 4c9c86bf4f cc-2055: switch to init.d
-remove update-rc.d on uninstall
-remove unecessary imports in install/uninstall scripts
-all daemons now wait until apache2 is available before starting (LSB Init Script)
2011-06-02 18:07:48 -04:00
martin 6ab5ac4582 cc-2055: switch to init.d
-allow install script to be created from any location (no hardcoded paths)
-make python install scripts return 1 on error
-daemon now started automatically on boot using rc.local autostart
-change all prints to logs instead
-create airtime-uninstall shell script (and remove pypo user in here)
-create pypo user in shell script
2011-06-02 18:07:48 -04:00
martin 079d9d36b0 cc-2055: switch to init.d
-fix uninstall scripts
-make daemon script for media-monitor and show-recorder
-create pid file for liquidsoap
-fix airtime-check-system
-make sure all startup scripts are using exec
2011-06-02 18:07:47 -04:00