Commit Graph

416 Commits

Author SHA1 Message Date
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 2901a7a7eb - Version string change for 1.9.3 2011-08-25 17:02:56 -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 9eb21cb327 Merge branch '1.9.1' into devel
Conflicts:
	VERSION
	airtime_mvc/application/configs/constants.php
	airtime_mvc/application/models/Preference.php
	install_minimal/include/airtime-db-install.php
	install_minimal/include/airtime-upgrade.php
	python_apps/api_clients/api_client.py
2011-08-24 10:30:59 -04:00
martin 4213b05a8d cc-2666: separate components
-virtualenv install file
2011-08-23 12:43:50 -04:00
martin 4689484cd2 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-08-23 12:31:37 -04:00
martin 4fe3baf591 cc-2666: try separating compononents
-moved python-virtualenv install to separate install file,
 so each component can install virtualenv
2011-08-23 12:31:27 -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
martin d7830785df CC-2717: Media Monitor forgets about watched directories after being restarted 2011-08-22 20:41:34 -04:00
martin ca65c32e1c CC-2716: Moving Directory->Media Monitor exception
-fixed
2011-08-22 20:19:14 -04:00
James 376ae1370c CC-2693: Copy PHP files to /usr/shar/airtime instead of /var/www/airtime
- done for new install
- upgrade need some more work
2011-08-22 12:03:09 -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 873f7e1dae CC-2698: upgrading fail from 1.8.2->1.9.0
- fixed version string
- deleting entries from cc_schedule before adding "ON CASCADE" constraint
2011-08-18 15:32:33 -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 0cb9947980 cc-2683: not using utc time
-clean up recorder file
2011-08-16 16:49:35 -04:00
martin e392c8437a cc-2683: not using utc time
-clean up recorder file
2011-08-16 16:36:31 -04:00
martin 41fd5f2543 cc-2683: not using utc time
-context menu showing options display correctly
-edit show fills in correctly
-Now Playing view shows up correctly
2011-08-16 15:07:55 -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
James e18c0903cb -version string changes 2011-08-15 11:11:55 -04:00
James 75d0e64bdd Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-08-15 11:10:20 -04:00
James 9cad6fe766 -version string changes 2011-08-15 11:10:01 -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 968c0f96a2 CC-2651: import idicator
- Threshold is 10 seconds
- record timestamp once every 5 seconds
- "File import inprogress..." displays above search box
- pyinotify read_freq changed to 0.1 from 1
2011-08-09 10:40:10 -04:00
James 773f948d58 - some unintended changes were pushed to devel 2011-08-08 16:26:18 -04:00
James 3a2d736b1c CC-2633: removing to_unicode()
- removed to_unicode() function calls where it's not neccessary.
2011-08-08 10:41:11 -04:00
James 8995e828ff CC-2633: added new encode_to()
- added encode_to() to api_client
- replaced .encode() with new encode_to()
2011-08-05 15:12:55 -04:00
Naomi Aro a199585cb9 CC-2647 : Check MD will fit db constraints in Airtime 2011-08-05 15:12:55 -04:00
James 375cfb2c2d CC-2633: moving to_unicode() to api_client.py
- move to_unicode() to api_client.py
- fixed how it decodes path in airtime-import.py
2011-08-05 15:12:55 -04:00
Naomi Aro e2a5344e6e removing useless line 2011-08-05 15:12:55 -04:00
James 938c503e85 CC-2633: media monitor crashes on non-ascii files and metadata
- fixed bug for the case where mutagen return None for metadata
- fixed bug for non-ascii files and metadata
2011-08-05 15:12:55 -04:00
James c79fb81c37 - temp commit 2011-08-03 10:05:42 -04:00
Naomi Aro 7e64e1ba22 CC-2612 : Upgrade: Push DB metadata into the file before upgrade
testing saving non ascii characters to file.
2011-08-01 18:10:50 +02:00
Naomi Aro aa29afc438 CC-2612 : Upgrade: Push DB metadata into the file before upgrade 2011-08-01 16:29:41 +02:00
Naomi Aro 0fba75b9ad CC-2612 : Upgrade: Push DB metadata into the file before upgrade 2011-08-01 13:27:58 +02:00
Naomi Aro d606b4b173 CC-2612 : Upgrade: Push DB metadata into the file before upgrade 2011-08-01 12:22:20 +02:00
Naomi Aro 1e6d9efad2 CC-2612 : Upgrade: Push DB metadata into the file before upgrade
might have too much data to log it.
2011-07-29 11:57:06 +02:00
Naomi Aro 137ca79db8 CC-2600 : Upgrading from 1.8->1.9 wipe all shows content 2011-07-28 12:21:20 +02:00
Naomi Aro 1ef785a0fd CC-2602 : Live show record silence
adding pypo to groups pulse and pulse-access
2011-07-27 13:00:07 +02: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
Naomi Aro 1366b159f2 CC-2594 : Set File permissions on organized/imported when moving stor dir to have www-data as owner etc 2011-07-26 12:38:19 +02:00
Naomi Aro 31ba80e07b CC-2589 : Create "organize" dir when upgrading
need to set correct permissions/owner for all files/dirs
2011-07-26 12:20:24 +02:00
Naomi Aro 533f218923 cc-2582 : track number parsing
making number an int type.
2011-07-26 11:54:30 +02:00
James 2b36e8193e CC-2588 :Use RabbitMQ to control the show recorder
- done
2011-07-25 16:24:00 -04:00
james 047a288c38 CC-2588: Use RabbitMQ to control the show recorder
- recording works now.
- further testing is needed
- still need to work on canceling the show
2011-07-23 12:30:36 -04:00
Naomi Aro d3776f4ea9 CC-2582 : Files with a tracknumber that isn't actually a tracknumber don't get imported properly
adding more metadata checks so it won't have a database insertion issue.
2011-07-22 12:54:42 +02:00
Naomi Aro 7074af447c CC-2582 : Files with a tracknumber that isn't actually a tracknumber don't get imported properly 2011-07-22 12:11:57 +02:00
Naomi Aro b302006100 CC-2571 : Media Monitor Bootstrap
fixing up character encoding issues.
2011-07-21 12:12:37 +02:00
Naomi Aro 216a166437 CC-2571 : Media Monitor Bootstrap
modifying files fix in bootstrap, fix functions to have parameters the same.
2011-07-20 16:15:58 +02:00
Naomi Aro c5c06eddc2 CC-2571 : Media Monitor Bootstrap
making sure files added to the organize folder while media monitor is down are imported to Airtime when it is started up again.
2011-07-20 14:38:32 +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 0e3bae4b5c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-07-19 12:07:41 -04:00
martin ff2fcde7c0 CC-2567: Install api_client separately from pypo 2011-07-19 12:07:31 -04:00
Naomi Aro 152c87f099 changes to bootstrip for filename. 2011-07-19 17:45:23 +02:00
Naomi Aro ba0458c442 CC-2558 : Delete all files from disk, only allow admins to delete. 2011-07-19 11:00:32 +02:00
martin e397db972d CC-2567: Install api_client separately from pypo
-initial commit...
2011-07-18 23:25:33 -04:00
martin bd183125da CC-2279: Upgrade script for converting stor directory to new format
-move media-monitor python upgrade script to upgrade dir
2011-07-18 17:21:14 -04:00
James e19bf33f51 temp comit 2011-07-18 17:04:46 -04:00
martin 0e82f2a606 CC-2560: Make sure new watched dirs do not contain existing
watched dirs (and stor dir) and vice-versa.

-fixed
2011-07-18 15:27:22 -04:00
Naomi Aro c7279f74ca CC-2558 : Only delete files from disk that are in stor directory and not scheduled etc. 2011-07-18 19:48:20 +02:00
Naomi Aro 4588ebd105 CC-2558 : Only delete files from disk that are in stor directory and not scheduled etc. 2011-07-18 15:28:17 +02:00
Naomi Aro 91feeaf84d CC-2557 : Need to keep tmp file dictionary to change ogg metadata on the server side 2011-07-18 12:49:45 +02:00
Naomi Aro e369ab8dee CC-2505 : Media monitor doesn't delete some tracks from the Airtime server due to weird characters in file names
seems to fix unicode problems I was having.
2011-07-18 12:05:16 +02:00
mkonecny 460989e6bc -cleanup old process code 2011-07-15 20:28:00 -04:00
martin 187d3a5e92 -using threads instead of processes. 2011-07-15 19:49:35 -04:00
James 3e6ca78253 CC-2490: Recorded show file is missing
- fixed.
2011-07-15 16:15:09 -04:00
martin ec75af194b CC-2279: Upgrade script for converting stor directory to new format
-escape strings before inserting into database
2011-07-14 21:31:02 -04:00
martin 07b1686643 CC-2279: Upgrade script for converting stor directory to new format
-even more fixes..
2011-07-14 21:06:35 -04:00
martin d52857ea8b CC-2279: Upgrade script for converting stor directory to new format
-further fixes..
2011-07-14 17:13:11 -04:00
martin 9f3218b8d9 CC-2279: Upgrade script for converting stor directory to new format
-further fixes
2011-07-14 16:39:18 -04:00
martin 621c85b1df CC-2279: Upgrade script for converting stor directory to new format
-in progress...
2011-07-14 15:31:19 -04:00
martin 75e56034e4 CC-2279: Upgrade script for converting stor directory to new format
-refactoring...
2011-07-14 12:06:46 -04:00
martin 29869c175a CC-2279: Upgrade script for converting stor directory to new format
-refactor media-monitor
2011-07-14 12:06:46 -04:00
martin 83f253dffe -fixed "mported" bug in media-monitor-bootstrap 2011-07-13 15:16:27 -04:00
martin 49c399b7a8 -small code cleanup.. 2011-07-12 17:39:15 -04:00
martin 6972150b19 -fixed bug with moving from stor to stor/organize, and having
duplicate files appear.
2011-07-12 16:10:54 -04:00
martin 7c98d90e5e CC-2530: Media monitor:Dont use hidden files
-addressed issues raised.
2011-07-12 15:06:49 -04:00
martin ed8d247b17 CC-2514: new airtime-import
-airtime-import for install and upgrade scripts
2011-07-12 12:18:29 -04:00