Commit Graph

193 Commits

Author SHA1 Message Date
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
martin 79e24e5af5 cc-2055: switch to init.d
-Change all python apps to log directly to file
-change airtime-pypo to airtime-playback
-fix airtime install started/completed message bumpers
2011-06-02 18:07:47 -04:00
martin c05c2f1e28 cc-2055: switch to init-d
-fix daemon being able to start multiple times
-make airtime-install shell script to call installers seperately
-
2011-06-02 18:07:47 -04:00
martin 5803635d50 cc-2055: switch to init.d
-disable daemon from starting twice
2011-06-02 18:07:47 -04:00
james 0492ba79c7 CC-2277:Rename airtime-pypo to airtime-playout 2011-05-30 15:46:13 -04:00
martin 4eb8a7f394 CC-2325: no audio after running airtime-pypo-stop/start
-seems to work after re-enabling multilog.
2011-05-27 15:51:09 -04:00
Martin Konecny e8dab2340a CC-2320: liquidsoap.cfg vorbis metadata value does not effect the stream.
-fixed
2011-05-25 13:58:50 -04:00
Martin Konecny 05e02f6081 -fix hanging of pypo at system boot. 2011-05-24 20:31:05 -04:00
martin 35e617911b -show which process id is being shutdown when calling airtime-xxx-stop 2011-05-17 11:55:16 -04:00
martin c2960e9c2a -Fix unbound "response" variable when pypo got 404 error
-Sleep for few seconds after failing is_server_compatible instead of
exiting and instantly being awoken by daemon tools (less stuff in log
files)
-removed some useless try/except blocks
2011-05-13 16:08:04 -04:00
martin f7b2c04aba cc-2241 20 second delay natty
-added special liquidsoap binaries for natty
2011-05-13 13:26:40 -04:00
mkonecny b9c1f7356f CC-2250: airtime-pypo-stop doesnt work
-fixed
2011-05-05 23:18:24 -04:00
mkonecny 3eafdeef5d CC-2215: Add ability to enable metadata for ogg streams
-done
2011-05-05 17:15:58 -04:00
mkonecny ed0f24831d CC-2239-remove-sudo
-done! Replaced with su
2011-05-04 17:39:19 -04:00
martin 0f209d9f00 -liquidsoap-i386 compiled under 64-bit machine by mistake :/. Fixed. 2011-05-02 18:16:45 -04:00
martin 8e2019a935 cc-2182: Convert back to restful design
-done
2011-05-02 16:33:37 -04:00
martin b3beab1dbd CC-2216: Update to latest liquidsoap binaries
-Done
2011-04-29 17:11:31 -04:00
martin 171828f8ad CC-2186: Integration of a logger tool
-initial check-in. Everything appears to be working...
2011-04-20 00:46:03 -04:00
martin c1dd1e7415 CC-2198: airtime-pypo-stop airtime-pypo-start are ineffective
-fixed
2011-04-18 14:51:44 -04:00
Paul Baranowski 173d82007f CC-2166 Packaging improvements
Added command line options to the install process to overwrite or
preserve the existing config files.

Added the pypo-start/stop and recorder-start/stop symlinks to /usr/bin.

Renamed pypo-start.py to airtime-pypo-start.
Renamed pypo-stop.py to airtime-pypo-stop.
Renamed recorder-start.py to airtime-show-recorder-start.
Renamed recorder-stop.py to airtime-show-recorder-stop.

Renamed testrecordscript.py to recorder.py
2011-04-15 18:23:51 -04:00
Paul Baranowski 6d39af6fb9 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	dev_tools/pr.sh
2011-04-15 14:46:07 -04:00
Paul Baranowski aab1ad16e1 CC-2166 : Packaging improvements
Fixed paths for pypo and the show recorder.

Pypo and the show recorder now read their paths from the INI files.
Note that liquidsoap and shell scripts do not yet read from the
INI files, and so that paths are hard-coded in those places.

On uninstall, no longer deleting INI files and the STOR directory.
Included a note to remove those by hand if they want them gone.

Fixed some bugs where not all directories were removed on uninstall.

Fixed bugs in the Show Recorder install where it was adding directories
that it didnt need.
2011-04-15 14:45:10 -04:00
Naomi 4814d90824 CC-2157 : Enable OGG streams by default, not MP3, due to lame distribution problems 2011-04-15 12:14:49 -04:00
Naomi 379e70ff23 CC-2169 : All logging should go to /var/log
pypo-liquidsoap log now in its folder
2011-04-14 17:16:50 -04:00
Naomi e5f2e8d044 CC-2169 : All logging should go to /var/log
moving pypo/recorder logs to folder /var/log/airtime
2011-04-14 16:03:23 -04:00
martin 33b24b581c CC-2175: Overbooking: Cut off shows when they are done
-fixed
2011-04-14 00:20:19 -04:00
martin 2148de0e92 CC-2149: Adjustments for DEB packaging
-Done
2011-04-13 12:07:00 -04:00
martin d664108a47 -modified pypo-push to show more detailed logging information 2011-04-01 17:55:46 -04:00
martin f5db45ecfe -cleaned up liquidsoap config file 2011-03-29 20:52:18 -04:00
martin 89d2c317cb CC-2044: remove hardcoded settings from application/configs/conf.php
-moved liquidsoap config to /etc/airtime as well
2011-03-29 20:44:04 -04:00
martin fe97a25e28 CC-2044: remove hardcoded settings from application/configs/conf.php
-added missing config value to recorder.cfg
2011-03-29 18:42:26 -04:00
martin eb74c5718f Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	python_apps/api_clients/api_client.py
2011-03-29 18:35:57 -04:00
martin 2702363a33 -CC-2044: remove hardcoded settings from application/configs/conf.php
-rearranged some stuff...some bugs still to go
2011-03-29 18:32:53 -04:00
Paul Baranowski 9ebe7ec1ca Better error message when timezones dont match up between pypo and airtime. 2011-03-29 17:31:22 -04:00
martin 161505a6df CC-2044: remove hardcoded settings from application/configs/conf.php
-refactored some code to begin work on this...
2011-03-29 16:10:00 -04:00
martin 7170f8385e CC-2121: Disable OGG streams by default
-Done
2011-03-25 17:00:45 -04:00
martin a58e7ed42e CC-2114: stream Metadata shows.showing show-song-song instead of show-artist-song 2011-03-25 15:31:33 -04:00
martin 1107a67579 CC-2098: Only push playlists that havent ended yet
-implemented. Removed ability to specify time ranges for now, and defaulted to looking from now to 24 hours ahead.
Being able to specify time ranges was removed, since we are not using bi-directional communication between pypofetch and Airtime server.
2011-03-24 23:43:27 -04:00
martin 5b3cd9ea0d CC-2016: Rearrange python scripts for reusability
-fix passing env variables properly when using sudo
2011-03-24 17:36:10 -04:00
martin 26ac9754bf CC-2016: Rearrange python scripts for reusability
-bug fix with liquidsoap not being to see the soundcard
2011-03-24 15:17:17 -04:00
martin 17181674b7 CC-2016: Rearrange python scripts for reusability
-fixed path issue that was happening on some systems
2011-03-24 14:01:16 -04:00
martin bf925901c1 CC-2016: Rearrange python scripts for reusability
-Fixed pypo-notify.py not being to find new location of api_clients module
2011-03-24 00:52:35 -04:00
martin 079878e5f0 CC-2016: Rearrange python scripts for reusability
-Added api_client to PYTHONPATH env variable
2011-03-24 00:35:01 -04:00
martin 5c8719d90c CC-2016: Rearrange python scripts for reusability
-moved files
2011-03-24 00:00:46 -04:00