Rudi Grinberg
517730e012
cc-4105: removed useless function. reformatted comments
2012-08-14 14:50:42 -04:00
Rudi Grinberg
a9819f54d5
cc-4105: more formatting fixes
2012-08-14 14:50:42 -04:00
Rudi Grinberg
38e8c3871e
cc-4105: major code cleanup
2012-08-14 14:50:41 -04:00
Rudi Grinberg
57a8a6a7f7
cc-4105: reformatted events.py
2012-08-14 14:50:41 -04:00
Rudi Grinberg
c748b2ebd6
cc-4105: reformatted the hell out of pure.py. added docstrings
2012-08-14 14:50:41 -04:00
Rudi Grinberg
d5e7d881ab
cc-4105: formatted comments in api_client
2012-08-14 14:50:41 -04:00
Rudi Grinberg
5bc170ba31
cc-4105: fixed bug where api client wasn't being initialized right by replaygain updater. updated apiclient to better detect such bad usage
2012-08-14 14:50:41 -04:00
Rudi Grinberg
3c82497c34
cc-4105: reformatted bootstrap.py to fit standards
2012-08-14 14:50:41 -04:00
Rudi Grinberg
78a15916c2
cc-4105: added better logging for replaygain updater
2012-08-14 14:50:41 -04:00
Rudi Grinberg
420182465e
cc-4105: added replay replay gain integration with mm2
2012-08-14 14:50:41 -04:00
Rudi Grinberg
806f68ce57
cc-4105: made replaygain updater work forever to get replaygain of new files that are added. fixed TODO regarding error checking
2012-08-14 14:50:41 -04:00
Rudi Grinberg
84e5530b88
cc-4105: formatted commits
2012-08-14 14:50:41 -04:00
Rudi Grinberg
ce89d53ea0
cc-4105: minor code formatting. refactored replaygain a little bit
2012-08-14 14:50:41 -04:00
Rudi Grinberg
e98eda144a
cc-4105: removed naive replaygain again. added micro optimization to Insert into cc_files
2012-08-14 14:50:41 -04:00
Rudi Grinberg
91145a3f16
cc-4105: updated to martin's replaygain
2012-08-14 14:50:41 -04:00
Rudi Grinberg
1235e86251
cc-4105: removed event packing from RequestSync thread
2012-08-14 14:50:41 -04:00
Rudi Grinberg
cff9a5cb71
cc-4105: updated to martin's change to replaygain
2012-08-14 14:50:41 -04:00
Rudi Grinberg
ccd0d4e8cf
cc-4105: added naive replay gain with some performance improvements. reading full file for md5
2012-08-14 14:50:41 -04:00
Rudi Grinberg
958e2e2c74
cc-4105: removed naive way of calculating replaygain. not efficient
2012-08-14 14:50:41 -04:00
Rudi Grinberg
6f82fa103a
cc-4105: added replaygain and a whole ton of formatting
2012-08-14 14:50:41 -04:00
Rudi Grinberg
a8b9b300e5
cc-4105: fixed a ton of formatting
2012-08-14 14:50:41 -04:00
Rudi Grinberg
4f29301334
cc-4105: formatted comments
2012-08-14 14:50:40 -04:00
Rudi Grinberg
59f390a975
cc-4105: got rid of unnecessary debug statements
2012-08-14 14:50:40 -04:00
Rudi Grinberg
6981a5cb49
cc-4105: added truncation of BPM to prevent crashes
2012-08-14 14:50:40 -04:00
Rudi Grinberg
cf3dbd2a97
cc-4105: fixed handling of list values in mutagen
2012-08-14 14:50:40 -04:00
Rudi Grinberg
bcb65c4269
cc-4105: fixed bug where program would crash on non integer track numbers
2012-08-14 14:50:40 -04:00
Rudi Grinberg
a576af2482
cc-4105: got rid of useless debugging lines. refined initial configuration. fixed double bootstrapping bug
2012-08-14 14:50:40 -04:00
Rudi Grinberg
701a618896
cc-4105: cleaned up config stuff
2012-08-14 14:50:40 -04:00
Rudi Grinberg
8899c581d1
cc-4105: added config files
2012-08-14 14:50:40 -04:00
Rudi Grinberg
7db4573d10
cc-4105: fixed moving watched directory
2012-08-14 14:50:40 -04:00
Rudi Grinberg
166a724d9d
cc-4105: fixed bug where mixed case extensions would be ignored
2012-08-14 14:50:40 -04:00
Rudi Grinberg
088f655033
cc-4105: fixed inconsistency regarding handling bad files
2012-08-14 14:50:40 -04:00
Rudi Grinberg
3b9efee8e3
cc-4105: removed limitation from map_events not supporting pack properly
2012-08-14 14:50:40 -04:00
Rudi Grinberg
1e7de08bf3
cc-4105: rename watched subdirs barely works
2012-08-14 14:50:40 -04:00
Rudi Grinberg
632f2ab470
cc-4105: fixed the gross hack to identify moved files
2012-08-14 14:50:40 -04:00
Rudi Grinberg
b3e928c7a6
cc-4105: added the hack to identify move events
2012-08-14 14:50:40 -04:00
Rudi Grinberg
5fa6def111
cc-4105: added handling for delete dir event
2012-08-14 14:50:40 -04:00
Rudi Grinberg
ff56ce3797
cc-4105: clarified comment
2012-08-14 14:50:40 -04:00
Rudi Grinberg
4a94c55e3c
cc-4105: removed extraneous requests being made to airtime when metadata is modified
2012-08-14 14:50:40 -04:00
Rudi Grinberg
7c2ecf3753
cc-4105: minor formatting
2012-08-14 14:50:40 -04:00
Rudi Grinberg
82656408c9
cc-4105: further refactored error handling. generalized handling of events
2012-08-14 14:50:40 -04:00
Rudi Grinberg
7c85acac98
cc-4105: refactored some error handling code
2012-08-14 14:50:39 -04:00
Rudi Grinberg
b604dd0795
cc-4105: fixed bug where key was int instead of string. added more reliable error handling
2012-08-14 14:50:39 -04:00
Rudi Grinberg
6e2e7d83ad
cc-4105: added handling for recorded files
2012-08-14 14:50:39 -04:00
Rudi Grinberg
01c44e32d1
cc-4105: added comments. fixed some docstring formatting
2012-08-14 14:50:39 -04:00
Rudi Grinberg
c8df791d13
cc-4105: added misc. testing scripts
2012-08-14 14:50:39 -04:00
Rudi Grinberg
f7b48a4dbb
cc-4105: fixed some bugs. fixed manager tests
2012-08-14 14:50:39 -04:00
Rudi Grinberg
ba78731f99
cc-4105: more refactorings, this time so that scan/watch diretories are always handled from one place
2012-08-14 14:50:39 -04:00
Rudi Grinberg
3b1583f620
cc-4105: refactored how watched, stored directories are handled
2012-08-14 14:50:39 -04:00
Rudi Grinberg
ad12926af2
cc-4105: slightly improved handling of paths
2012-08-14 14:50:39 -04:00
Rudi Grinberg
9d5f50d1f8
cc-4105: removed old comments. made config more consistent
2012-08-14 14:50:39 -04:00
Rudi Grinberg
29a95c842e
cc-4105: undid change to old mm
2012-08-14 14:50:39 -04:00
Rudi Grinberg
c3dde0c679
cc-4105: respecting config files with regards to various time settings
2012-08-14 14:50:39 -04:00
Rudi Grinberg
ba03447946
cc-4105: added handling for pyinotify events and create more logical events
2012-08-14 14:50:39 -04:00
Rudi Grinberg
688d22e995
cc-4105: fixed metadata formatting bug
2012-08-14 14:50:39 -04:00
Rudi Grinberg
6e9db647c1
cc-4105: Fixed metadata handling. Added more error reporting to rmq requests
2012-08-14 14:50:39 -04:00
Rudi Grinberg
5f1024bb7d
cc-4105: Tweaked config params. Fixed error checking. Fixed unicode stuff. Removed redundant php
2012-08-14 14:50:39 -04:00
Rudi Grinberg
c97857a138
cc-4105-2: removed incorrect tagging with is_recorded
2012-08-14 14:50:39 -04:00
Rudi Grinberg
332e0f5080
cc-4105-2: added a separate thread to flush messages from kombu
2012-08-14 14:50:39 -04:00
Rudi Grinberg
7abe882455
cc-4105-2: added retries on failed requests. added ignored files set like in the old media monitor
2012-08-14 14:50:39 -04:00
Rudi Grinberg
3422eb3cc0
cc-4105: added event packing to event objects
2012-08-14 14:50:39 -04:00
Rudi Grinberg
be00cc6990
cc-4105: major refactorings. shit is barely running
2012-08-14 14:50:38 -04:00
Rudi Grinberg
add322d515
cc-4105: handling airtime events like delete
2012-08-14 14:50:38 -04:00
Rudi Grinberg
54a0f6f7b7
cc-4105: added lib for compatibility
2012-08-14 14:50:38 -04:00
Rudi Grinberg
8940d51c0c
cc-4105: renamed test files
2012-08-14 14:50:38 -04:00
Rudi Grinberg
6214ac961d
cc-4105: refactored a few routines, added more comments
2012-08-14 14:50:38 -04:00
Rudi Grinberg
b3fea71916
cc-4105: added docstrings to Manager
2012-08-14 14:50:38 -04:00
Rudi Grinberg
25c03822b3
cc-4105: finished test suite for manager
2012-08-14 14:50:38 -04:00
Rudi Grinberg
4950f13cf2
cc-4105: fixed a bunch of bugs in test_manager
2012-08-14 14:50:38 -04:00
Rudi Grinberg
53b9f29f7b
cc-4105: renamed file
2012-08-14 14:50:38 -04:00
Rudi Grinberg
f044cd91e3
cc-4105: added wrapper around pyinotify. added some stubs and todos
2012-08-14 14:50:38 -04:00
Rudi Grinberg
493f93c425
cc-4105: added metadata write function
2012-08-14 14:50:38 -04:00
Rudi Grinberg
53e9b02b26
cc-4105: formatted comments
2012-08-14 14:50:38 -04:00
Rudi Grinberg
37d59154d0
cc-4105: added toucher test
2012-08-14 14:50:38 -04:00
Rudi Grinberg
eef3f26d2a
cc-4105: read path info from conf file instead of hard coded
2012-08-14 14:50:38 -04:00
Rudi Grinberg
bbe56bcdc3
cc-4105: add last_ran method for config object. added more comments
2012-08-14 14:50:38 -04:00
Rudi Grinberg
d10ca3046d
cc-4105: added documentation to main script
2012-08-14 14:50:38 -04:00
Rudi Grinberg
aad367863e
cc-4105: added todo comment
2012-08-14 14:50:38 -04:00
Rudi Grinberg
d76177aed1
cc-4105: daemonized touching thread. fixed wrong method name bug. improved formatting
2012-08-14 14:50:38 -04:00
Rudi Grinberg
a953a479d9
cc-4105: Fixed some formatting
2012-08-14 14:50:38 -04:00
Rudi Grinberg
40c6bb504d
cc-4105: hooked last run feature into mm2
2012-08-14 14:50:38 -04:00
Rudi Grinberg
84313a6135
cc-4105: hooked last run feature into mm2
2012-08-14 14:50:37 -04:00
Rudi Grinberg
50116fa6bb
cc-4105: Added toucher thread to update last ran time
2012-08-14 14:50:37 -04:00
Rudi Grinberg
f40b076b46
cc-4105: locale fixes, more exceptions, routine to touch index file
2012-08-14 14:50:37 -04:00
Rudi Grinberg
6fd1dff60a
cc-4105: added locale configuration attempt to beginning of mm2
2012-08-14 14:50:37 -04:00
Rudi Grinberg
c5bc6a85d2
cc-4105: added support for multiple watched directories
2012-08-14 14:50:37 -04:00
Rudi Grinberg
b634bc3525
cc-4105: removed old code that doesn't belong
2012-08-14 14:50:37 -04:00
Rudi Grinberg
ce5b3bba8e
cc-4105 removed the wrong stuff about normpaths. Rmoved some old code that I forgot to delete before.
2012-08-14 14:50:37 -04:00
Rudi Grinberg
ca1459f242
cc-4105: typo
2012-08-14 14:50:37 -04:00
Rudi Grinberg
fd9020ef3d
cc-4105: refactored Bootstrapper to work with SyncDB's api.
2012-08-14 14:50:37 -04:00
Rudi Grinberg
32c3068089
cc-4105: added docstrings for partition function
2012-08-14 14:50:37 -04:00
Rudi Grinberg
bd5688a484
cc-4105: made some strings unicode literals
2012-08-14 14:50:37 -04:00
root
587292c963
cc-4105: Extended api of SyncDB and improved the launcher script
2012-08-14 14:50:37 -04:00
Rudi Grinberg
6a7cb50d67
cc-4105: fixed api_client loading json twice and added some logging
2012-08-14 14:50:37 -04:00
root
3e251997f8
cc-4105. Refactored syncdb and fixed a few typos
2012-08-14 14:50:37 -04:00
Rudi Grinberg
9964c826ab
cc-4105: Added problem dir moving. Also locale config from old media monitor
2012-08-14 14:50:37 -04:00
Rudi Grinberg
4525bd5e4c
cc-4105: metadata is almost covered with tests
2012-08-14 14:50:37 -04:00
Rudi Grinberg
c5df7d8217
cc-4105: fixed formatting a little
2012-08-14 14:50:37 -04:00
Rudi Grinberg
349c6f61f6
cc-4105: Forcing unicode on paths. Added tests for metadata (unicode related)
2012-08-14 14:50:37 -04:00
Rudi Grinberg
5d875c5020
cc-4105: Added tests for metadata handling
2012-08-14 14:50:37 -04:00
Rudi Grinberg
58fb152a8d
cc-4105: Fixed up mutagen metadata related stuff. Included utf8 routines from old media monitor
2012-08-14 14:50:37 -04:00
Rudi Grinberg
1c09907fd5
cc-4105: refactored metadata into it's own file
2012-08-14 14:50:37 -04:00
Rudi Grinberg
09303a96d3
cc-4105: made public method private
2012-08-14 14:50:37 -04:00
Rudi Grinberg
885e1bffad
cc-4105: added md5 for files
2012-08-14 14:50:36 -04:00
Martin Konecny
e8112ddaa0
CC-430: Audio normalization (Replaygain Support)
...
-Performance enhancement (don't use "file" command unnecessarily)
-replace print statements with logging
2012-08-08 13:08:53 -04:00
Martin Konecny
762b8e1e46
CC-4173: ReplayGain calculation fails on Ubuntu Lucid amd64
...
-added logging to see what exception could be
-incorrectly using temp_file_path instead of original file_path to find extension
2012-08-08 11:48:50 -04:00
Martin Konecny
9510c1a295
CC-4173: ReplayGain calculation fails on Ubuntu Lucid amd64
...
-fixed exception
2012-08-08 10:51:29 -04:00
Martin Konecny
f8d63b70d8
fix installer breaking liquidsoap package install
2012-08-08 00:21:19 -04:00
Martin Konecny
f33485f8ea
Merge branch '2.1.x' into devel
2012-08-08 00:09:13 -04:00
Martin Konecny
b5e542ad36
make sure airtime-liquidsoap DNE before attempting to create
2012-08-07 17:41:24 -04:00
Martin Konecny
1891a11373
CC-1665: Scheduled stream rebroadcasting and recording
...
-Step 1 to make Liquidsoap send back web stream metadata to UI
2012-08-03 18:45:22 -04:00
Martin Konecny
3b25f676c9
CC-3412: Icecast stream name not defined
...
-fix name being assigned twice
2012-08-03 16:20:48 -04:00
Cliff
edd4cbba13
Merge branch '2.1.x' into devel
2012-08-03 14:25:54 -04:00
Cliff
17e2417f18
put apt-get args in correct location
2012-08-03 14:24:39 -04:00
Martin Konecny
eb4b3cfcfa
Merge branch '2.1.x' into devel
...
Conflicts:
install_full/ubuntu/airtime-full-install
2012-08-03 09:45:55 -04:00
Martin Konecny
3f10f94d8f
CC-4147: Make Airtime work nicer with Debian package generation scripts.
...
-liquidsoap is installed from sofab repo
-make sure new deb-multimedia name takes effect
2012-08-03 09:42:41 -04:00
Martin Konecny
194b4ec36e
Merge branch '2.1.x' into devel
2012-08-02 18:10:12 -04:00
Martin Konecny
4f1300f58a
CC-3412: Icecast stream name not defined
2012-08-02 18:08:17 -04:00
Martin Konecny
fcce4bf64c
CC-1665: Scheduled stream rebroadcasting and recording
...
-cancelling a webstream works
2012-08-02 16:26:41 -04:00
Martin Konecny
5f8a5a618d
Remove unecessary trailing whitespace
2012-08-01 14:52:21 -04:00
Martin Konecny
63b89043b6
CC-1665: Scheduled stream rebroadcasting and recording
...
on-air light works with streams now
2012-08-01 14:51:56 -04:00
Martin Konecny
eb4c23b0b6
CC-1665: Scheduled stream rebroadcasting and recording
...
-Fix scheduled streams mixed with scheduled files
2012-07-26 14:49:32 -04:00
Martin Konecny
fbc5b72f14
CC-1665: Scheduled stream rebroadcasting and recording
...
-webstreams now start and stop at the correct time.
2012-07-26 14:49:32 -04:00
Martin Konecny
2ad7e78e10
CC-1665: Scheduled stream rebroadcasting and recording
...
-initial prototype
2012-07-26 14:41:39 -04:00
Rudi Grinberg
1f603bb75b
cc-4105 : merge devel into my branch
2012-07-19 10:51:04 -04:00
Rudi Grinberg
1d85c65b74
cc-4105: Added more tests.
2012-07-19 10:37:18 -04:00
Rudi Grinberg
12aa76b0a8
cc-4105: Made config object persist data after being garbage collected. Added more tests
2012-07-18 16:13:30 -04:00
Martin Konecny
8828961246
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2012-07-18 14:55:39 -04:00
Martin Konecny
b64b84b9ce
re-add replay gain to old media-monitor
2012-07-18 14:55:29 -04:00
Rudi Grinberg
76cac68fe7
cc-4105: Added exceptions classes. Created config wrapper class
2012-07-18 14:27:36 -04:00
Rudi Grinberg
45385dffce
cc-4105: added docstring and comments
2012-07-18 13:43:29 -04:00
Rudi Grinberg
3599f32ee6
cc-4105: fixed runtime error where recorder would initialize and api client instance from a method that would not exist\n\tRefactored getDateTimeObj a little bit
2012-07-18 12:35:43 -04:00
Rudi Grinberg
97d8c58a1b
cc-4105: added rabbit mq messge handling stubs
2012-07-18 12:17:44 -04:00
Rudi Grinberg
2c6e5733a0
Added basics of RabbitMQ handling
2012-07-18 11:45:58 -04:00
Rudi Grinberg
d1019ec017
cc-4105: code formatting
2012-07-18 11:45:18 -04:00
Rudi Grinberg
34194e6411
cc-4105: Removed -u from running pypo and mediamonitor. Not necessary anymore.
2012-07-18 11:16:55 -04:00
Rudi Grinberg
396a8465cb
cc-4105: Minor formatting change
2012-07-17 16:45:27 -04:00
Rudi Grinberg
6efbf8903e
cc-4105: Added a lot of comments.\nFixed encodings
2012-07-17 16:43:04 -04:00
Rudi Grinberg
edc5e95ce4
cc-4105: added a a few tests for api_client
2012-07-17 16:43:04 -04:00
Rudi Grinberg
25d3028fb1
cc-4105: added testing support for api client and ApiController
2012-07-17 16:43:04 -04:00
Rudi Grinberg
531dfe2b5e
cc-4105: fixed up python media monitor request parameter for recorded shows\n.Added more input validation in php controller
2012-07-17 16:43:04 -04:00
Rudi Grinberg
fdf921bbaf
cc-4105: Made reloadMetadataGroupAction safer by validating input
2012-07-17 16:43:04 -04:00
Rudi Grinberg
b021c3e925
Added todo comment
2012-07-17 16:43:04 -04:00
Rudi Grinberg
98b4e3c47b
cc-4105: Tweaked php method to have more consistent return values
2012-07-17 16:43:04 -04:00
Rudi Grinberg
68a218d277
cc-4105: fixed runtime error where recorder would initialize and api client instance from a method that would not exist\n\tRefactored getDateTimeObj a little bit
2012-07-17 16:43:04 -04:00
Rudi Grinberg
aa298453b7
cc-4105: removed useless comments
2012-07-17 16:43:04 -04:00
Rudi Grinberg
20e32b98ba
Merge branch 'devel' into mediamonitor2
...
Conflicts:
python_apps/api_clients/api_client.py
2012-07-16 17:41:36 -04:00
Rudi Grinberg
cdbabfafce
-cc 4105 : Added error handling in case server does not respond with
...
proper json
2012-07-16 17:10:13 -04:00
Rudi Grinberg
a1c205edff
cc-4105: Removed wrong error handling from api_client. Split up controller action to make it reusable through other actions
2012-07-16 16:43:48 -04:00
Rudi Grinberg
ebd12448ee
cc-4105: placed docstrings inside of methods instead of above
2012-07-16 15:51:51 -04:00
Rudi Grinberg
1c084a3101
moved misplaced docstring
2012-07-16 15:47:44 -04:00
Martin Konecny
832eafdea1
CC-4104: airtime-uninstall should not purge airtime database be default
...
-small fix
2012-07-16 15:43:17 -04:00
Martin Konecny
35d3d63e08
CC-4104: airtime-uninstall should not purge airtime database be default
...
-on reinstall use the database
2012-07-16 15:34:09 -04:00
Martin Konecny
e056e5ff01
correctly rename AirTime to Airtime
2012-07-16 15:33:44 -04:00
Rudi Grinberg
a9f6bb3b5c
cc-4105: changed error handling from returning none to throwing exception
2012-07-16 14:58:23 -04:00
Martin Konecny
4ebcb1b1f9
Merge branch '2.1.x' into devel
...
Conflicts:
airtime_mvc/application/controllers/ApiController.php
airtime_mvc/application/controllers/LibraryController.php
airtime_mvc/application/controllers/PlaylistController.php
airtime_mvc/application/models/Playlist.php
python_apps/media-monitor/airtimefilemonitor/airtimemediamonitorbootstrap.py
python_apps/media-monitor/airtimefilemonitor/airtimemetadata.py
2012-07-16 14:31:03 -04:00
Rudi Grinberg
3e24b71436
removed wrong comments
2012-07-16 10:31:00 -04:00
Rudi Grinberg
8ae0d216c6
formatting fix
2012-07-16 10:09:49 -04:00
Martin Konecny
ce1a63f47d
CC-430: Audio normalization (Replaygain Support)
...
-small bug fixes
2012-07-15 22:55:52 -04:00
Martin Konecny
583695f98c
CC-430: Audio normalization (Replaygain Support)
...
-values are now written through to database
2012-07-15 22:22:42 -04:00
Martin Konecny
632f039977
CC-430: Audio normalization (Replaygain Support)
...
-values are now written through to database
2012-07-15 22:19:55 -04:00
Martin Konecny
b4f1cc13c0
CC-430: Audio normalization (Replaygain Support)
...
make code simpler (don't download database to file)
2012-07-15 22:19:16 -04:00
Rudi Grinberg
0e98bc75c8
cc-4105: hasattr in conditional statement instead of getattr
2012-07-15 22:17:36 -04:00
Rudi Grinberg
71dc7d99b4
cc-4105: added a method in API client corresponding to chunked requests.\nAlso add prepared corresponding apicontroller method
2012-07-15 22:17:36 -04:00
Rudi Grinberg
44d91f7798
cc-4105: clean up url construction in api client
2012-07-15 22:17:36 -04:00
Rudi Grinberg
9f1ec3c05c
created a new controller action for chunked requests from media monitor
2012-07-15 22:16:58 -04:00
Rudi Grinberg
54116fe5aa
cosmetic changes
2012-07-15 22:13:24 -04:00
Rudi Grinberg
6b9cf85fc5
cleared up a lot of boilerplate with lazy properties
2012-07-15 22:13:24 -04:00
Rudi Grinberg
206027073c
added some stat counting
2012-07-15 22:13:24 -04:00
Rudi Grinberg
f9a1af1c1c
fixed clean empty dirs
2012-07-15 22:13:24 -04:00
Rudi Grinberg
69674529cd
almost alpha version
2012-07-15 22:13:24 -04:00
Rudi Grinberg
3b385df969
initial commit
2012-07-15 22:13:24 -04:00
Rudi Grinberg
499a0a5850
cc-4105: hasattr in conditional statement instead of getattr
2012-07-13 18:04:20 -04:00
Rudi Grinberg
8340079b95
cc-4105: added a method in API client corresponding to chunked requests.\nAlso add prepared corresponding apicontroller method
2012-07-13 17:57:18 -04:00
Rudi Grinberg
47893865cc
cc-4105: clean up url construction in api client
2012-07-13 16:32:17 -04:00
Rudi Grinberg
a6d51bea8d
created a new controller action for chunked requests from media monitor
2012-07-13 14:51:43 -04:00
Rudi Grinberg
a4c322efac
cosmetic changes
2012-07-13 12:01:14 -04:00
Rudi Grinberg
120305f383
cleared up a lot of boilerplate with lazy properties
2012-07-13 11:28:16 -04:00
Rudi Grinberg
309b071142
added some stat counting
2012-07-13 10:36:36 -04:00
Rudi Grinberg
832401704a
fixed clean empty dirs
2012-07-13 10:36:36 -04:00
Rudi Grinberg
b0433d4ca4
almost alpha version
2012-07-13 10:36:36 -04:00
Rudi Grinberg
d0245e09fc
initial commit
2012-07-13 10:36:36 -04:00
Martin Konecny
f0f033b4fb
CC-430: Audio normalization (Replaygain Support)
2012-07-12 17:58:29 -04:00
Martin Konecny
62287a2313
-Remove useless api_client interface
2012-07-12 16:51:11 -04:00
Martin Konecny
b782b9a9b6
CC-4099: More stricter checking on ogg file types
...
-fixed
2012-07-11 18:14:03 -04:00
Martin Konecny
fc1b69e1d1
CC-4092: Not checking for return type "None" on some function calls in media-monitor
...
-more fixes
2012-07-11 17:09:17 -04:00
Martin Konecny
ba5a749073
CC-4092: Not checking for return type "None" on some function calls in media-monitor
...
-more fixes
2012-07-11 16:48:46 -04:00
Martin Konecny
bed2a0731b
fix potential exception
2012-07-11 10:39:23 -04:00
Martin Konecny
ee3447f903
CC-4090: Make code style PSR compliant
...
-User.php
-removed all trailing whitespace
2012-07-10 18:51:32 -04:00
Martin Konecny
2e5b1d9ca8
CC-4092: Not checking for return type "None" on some function calls in media-monitor
...
-fixed
2012-07-10 10:48:44 -04:00
Martin Konecny
aecee0574d
Random commits gathered and put into one
...
-since we had an accidental merge between devel and 2.1.x, I'm rounding
up these changes that need to be in 2.1.x and putting them here.
2012-07-09 18:58:22 -04:00
Rudi Grinberg
32c3e877a5
fix typo
2012-07-09 16:30:54 -04:00
Martin Konecny
1e8c8f8157
add a few try catch blocks
2012-07-09 11:21:12 -04:00
Martin Konecny
dec68649c1
code cleanup
...
-changed module name to correct naming convention
-remove some unused imports
2012-07-06 10:20:44 -04:00
Martin Konecny
24349e64d8
CC-430: Audio normalization (Replaygain Support)
...
-some minor fixes for default value (should be 0 dB not 1dB)
2012-07-05 23:30:53 -04:00
Martin Konecny
5c1af49252
CC-430: Audio normalization (Replaygain Support)
...
-Added support on Liquidsoap side
2012-07-05 23:24:34 -04:00
Martin Konecny
ce698d4123
CC-430: Audio normalization (Replaygain Support)
...
-Added support on server side
2012-07-05 22:37:40 -04:00
Martin Konecny
70a0dce26e
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
...
Conflicts:
python_apps/media-monitor/airtimefilemonitor/airtimemediamonitorbootstrap.py
python_apps/media-monitor/airtimefilemonitor/mediamonitorcommon.py
2012-07-05 21:57:12 -04:00
Martin Konecny
a687e48d80
CC-430: Audio normalization (Replaygain Support)
...
-Added support on media-monitor's side
2012-07-05 21:54:44 -04:00
Rudi Grinberg
6fe48547d9
Make sure md['MDATA_KEY_FILEPATH'] is always normalized
2012-07-05 16:46:25 -04:00
Rudi Grinberg
e67be25b85
Fixed typo from copy pasting
2012-07-05 16:32:54 -04:00
Rudi Grinberg
38dbc28e1c
get rid of pypo permissions since it now runs as root
2012-07-05 16:32:54 -04:00
Rudi Grinberg
5e9302d912
Removed unnecessary whitespace
2012-07-05 16:32:54 -04:00
Rudi Grinberg
7f4e6f98f5
fixed is_audio_file to handle extensionless files. made sure is_user_readable closes opened filehandle
2012-07-05 16:32:54 -04:00
Rudi Grinberg
1916ea8b0e
Put duplicate code into mediamonitorcommon. Removed unnecessary blank lines
2012-07-05 16:32:54 -04:00
Rudi Grinberg
6c1af8a96e
Changed uses of 'find' to respect supported_file_formats list
2012-07-05 16:32:54 -04:00
Rudi Grinberg
3dfb35d2d1
Fixed typo. Made supported_file_formats static because they should be same for all instances
2012-07-05 16:32:54 -04:00
Rudi Grinberg
2317a3eba8
removed more code duplication
2012-07-05 16:32:54 -04:00
Rudi Grinberg
5f1b2d23bf
fixed code duplication and replaced manual path concatenation with os.path.join
2012-07-05 16:32:54 -04:00
Rudi Grinberg
d73197b89a
Added traceback log to section where a general exception can be caught
2012-07-04 16:40:35 -04:00
Rudi Grinberg
f8660ed89d
Fixed bug where exception was thrown and logged when metadata was missing(bitrate, samplerate)
2012-07-04 16:40:35 -04:00
Rudi Grinberg
4064512c83
A couple of stylistic changes
2012-07-04 16:40:35 -04:00
Rudi Grinberg
96da87bccb
removed a few line characters
2012-07-04 16:40:35 -04:00
denise
bc93119adc
Merge branch '2.1.x' into devel
2012-07-04 09:46:30 -04:00
Martin Konecny
00745d372d
CC-4058: Timeline -> Cannot add song twice if last cursor is selected
...
-fixed
2012-07-03 17:06:35 -04:00
Martin Konecny
7f66d735a1
fix spelling
2012-07-03 16:43:33 -04:00
Martin Konecny
619f17b2f9
fix indentation
2012-07-03 16:43:24 -04:00
Martin Konecny
0286aa364e
2.1.3 preparation
2012-07-03 16:43:10 -04:00
denise
3e75b28c9d
Merge branch '2.1.x' into devel
...
Conflicts:
airtime_mvc/application/controllers/ApiController.php
2012-07-03 10:42:29 -04:00
James
06ac33b130
CC-4052: Pypo: it's not manually grabbing schedule when it times out.
...
- fixed
2012-06-29 16:07:03 -04:00
denise
001f0790f9
Merge branch '2.1.x' into devel
2012-06-29 12:26:45 -04:00
James
e5e0c925e6
CC-4043: Pypo: add same song twice and cancel the first song, the
...
following song wont play any more
- fixed
2012-06-29 12:11:38 -04:00
denise
335dd1516b
Merge branch '2.1.x' into devel
...
Conflicts:
python_apps/pypo/liquidsoap_scripts/ls_script.liq
2012-06-29 10:57:14 -04:00
James
93bdcf0b26
CC-4032: pyponotify.py fails because not all files in
...
/var/log/airtime/pypo are read/writable by pypo
- fix
2012-06-28 17:17:36 -04:00
Martin Konecny
13fb3a02c5
CC-4032: pyponotify.py fails because not all files in /var/log/airtime/pypo are read/writable by pypo
...
-fixed
2012-06-28 17:09:41 -04:00
Martin Konecny
dd098d47fa
CC-4041: get_current_chain, get_next_schedule_chain should use same utc time variable
...
-fixed
2012-06-28 16:43:22 -04:00
Martin Konecny
f16d8eb438
Log file cleanup + improvements
...
-Don't show queue timeout as error
-Show UTC time and current timezone on pypo startup
2012-06-28 16:16:02 -04:00
Martin Konecny
226b6e8709
CC-4040: Pypo can start before Liquidsoap
...
-fixed
2012-06-28 16:15:39 -04:00
Martin Konecny
939fa24495
CC-4039: pypo-push can sometimes die
...
-fixed
2012-06-28 15:29:38 -04:00
Martin Konecny
7f735fe2fa
Log file cleanup + improvements
...
-Don't show queue timeout as error
-Show UTC time and current timezone on pypo startup
2012-06-28 12:12:22 -04:00
Martin Konecny
81c9eacd00
CC-3892: Pypopush can be executed before Pypofile copying file
...
-fixed
2012-06-27 16:29:33 -04:00
Martin Konecny
63aae4d9b5
pypocli.py cleanup
2012-06-27 14:37:40 -04:00
Martin Konecny
a0723b7007
CC-4030: POLL interval should be 1/2 of the schedule being sent
...
-fixed
2012-06-27 14:37:16 -04:00
Martin Konecny
d6a5200d58
CC-4029: Pypo Notify script incorrectly attempts to use pypo.log log file (should use notify log file)
...
-fixed
2012-06-27 12:42:38 -04:00
Martin Konecny
0a3c9c7351
clean up indentation + imports for python apps
2012-06-26 22:41:11 -04:00
Martin Konecny
4061059d3a
CC-3938: Mono sources don't work for stream rebroadcasting
...
-fixed
2012-06-26 18:04:05 -04:00
Martin Konecny
43c4b943f2
CC-4017: Run airtime-playour process as root user
...
fixed world readable permissions when caching file
2012-06-26 17:50:26 -04:00
Martin Konecny
a6eb74b1fd
CC-4017: Run airtime-playour process as root user
...
-Done
2012-06-26 17:00:14 -04:00
Martin Konecny
7e7f8147da
CC-4017: Run airtime-playour process as root user
...
-done
2012-06-26 14:55:19 -04:00
denise
f029124447
Merge branch '2.1.x' into devel
2012-06-19 17:57:27 -04:00
Martin Konecny
27a6326c58
Merge branch '2.1.2' into 2.1.x
...
Conflicts:
python_apps/pypo/pypofetch.py
2012-06-18 14:57:22 -04:00
denise
ad978c7843
Merge branch '2.1.x' into devel
2012-06-18 11:23:42 -04:00
Martin Konecny
c8559cc88c
2.1.2 preparation
2012-06-17 23:44:36 -04:00
Martin Konecny
ff35322ae9
CC-3988: Pypo: pypo doesn't update last schedule update time when pyp…
2012-06-17 23:24:15 -04:00
James
53af1928cf
CC-3988: Pypo: pypo doesn't update last schedule update time when pypo pulls
...
schedule from the server
- fixed
2012-06-15 21:31:08 -04:00
denise
d02607ed94
CC-3561: Add button to automatically rescan watched folders.
...
-done
2012-06-15 12:16:19 -04:00
denise
6b990f8712
Merge branch '2.1.x' of dev.sourcefabric.org:airtime into devel
2012-06-14 13:45:14 -04:00
denise
3f0a06ee2b
CC-3578: Stream label for scheduled shows could fall back to show or station name when no song is currently playing
...
-done
2012-06-13 12:23:00 -04:00
Martin Konecny
f188eeada2
preparation for 2.1.1 release
2012-06-13 11:35:14 -04:00
denise
f27fbc14f7
CC-3578: Stream label for scheduled shows could fall back to show or station name when no song is currently playing
...
-done (falls back to stream name)
2012-06-12 17:40:00 -04:00
denise
f3b925daa2
CC-3412: Icecast stream name not defined
...
-done
2012-06-12 17:08:36 -04:00
Martin Konecny
22453f3820
CC-3968: Cannot preview file as * .MP3
...
-fixed
2012-06-12 11:31:10 -04:00
James
841dd298d5
CC-3946: Files with upper case "MP3" extension not being imported
...
- fixed
2012-06-08 15:07:14 -04:00
James
67c90ae3d6
Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x
2012-06-08 14:58:48 -04:00
James
0040f29fd2
CC-3953: Airtime will not auto query for new schedule after 1 hour if it
...
received new messages unrelated to schedule in the meantime
- fixed
2012-06-08 14:57:59 -04:00
Martin Konecny
2d78f58d42
CC-3947: Pypo log history is too brief
...
-increased history by 10x
2012-06-08 11:43:55 -04:00
James
0ca45e343b
CC-3878: Recorded media file's track number is changed after restarting media-monitor
...
- fixed
2012-06-06 14:18:54 -04:00
Martin Konecny
c37fe4b070
Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x
2012-06-05 13:08:07 -04:00
Martin Konecny
b128050cc2
CC-3889: Add line "export TERM=xterm" to pypo bash script startup file
...
-fixed
2012-06-05 13:07:59 -04:00
denise
c521e3c545
CC-3849: PlaylistLibrary->Edit Metadata: The deletion of metadata entries has no effect after saving
...
-fixed
2012-06-05 11:20:00 -04:00
Martin Konecny
b6446442ba
CC-3917: record_date field in recorded shows causing problem
...
-fixed
2012-06-04 11:43:41 -04:00
Martin Konecny
3f481309b8
fix cache not being removed
2012-05-30 18:26:49 -04:00
Martin Konecny
8f214c2ae6
make sure pypo user can write /etc/airtime/liquidsoap.cfg
2012-05-29 11:23:42 -04:00
Martin Konecny
11b52905df
CC-3892: Pypopush can be executed before Pypofile copying file
...
-temp solution
2012-05-29 11:10:48 -04:00
Martin Konecny
d8ae8002d2
-make sure to autogenerate liquidsoap.cfg before liquidsoap starts
2012-05-28 18:48:40 -04:00
Martin Konecny
b9c6eab39c
make sure we explicitly need to tell Airtime services to start
2012-05-28 17:42:48 -04:00
Martin Konecny
41efd93628
pypo-initialize syntax cleanup
2012-05-28 14:28:07 -04:00
Martin Konecny
34523e8ec9
don't start liquidsoap if liquidsoap.cfg DNE
2012-05-28 14:27:44 -04:00
Martin Konecny
fb715b135c
regenerate liquidsoap.cfg if it doesn't exist
2012-05-28 14:27:30 -04:00
Martin Konecny
3d23d5102b
make sure /usr/bin/airtime-liquidsoap symlink is gone
2012-05-28 13:36:49 -04:00
Martin Konecny
910f8e8627
ensure dirs end with "/"
2012-05-25 16:19:39 -04:00
Martin Konecny
7299704ed0
remove airtime-liquidsoap symbolic link on uninstall
2012-05-23 12:38:37 -04:00
Martin Konecny
8720aabc27
CC-3857: Chmod fixes for files which should not be executable
...
-fixed
2012-05-22 11:22:43 -04:00
Martin Konecny
dc789b808d
CC-3852: Liquidsoap source.skip just skip current item in the queue instead of all the items in the queue
...
-replace queue.ignore with queue.remove
2012-05-18 18:11:51 -04:00
Martin Konecny
b2c63544a9
CC-3840: Deleting current playing item sometimes results in random next track playing
...
-possibly fixed
2012-05-17 16:30:40 -04:00
Martin Konecny
105d752ada
CC-3840: Deleting current playing item sometimes results in random next track playing
...
-possibly fixed
2012-05-16 17:12:47 -04:00
Martin Konecny
97df2ee6c7
CC-3840: Deleting current playing item sometimes results in random next track playing
...
-possibly fixed
2012-05-16 16:27:38 -04:00
Martin Konecny
b677d2985b
-remove useless to utf8 conversions
2012-05-16 15:38:26 -04:00
denise
1629f41a8d
CC-3737: ON AIR turns to grey from time to time, while the stream keeps playing
...
-fixed
2012-05-16 12:54:02 -04:00
Martin Konecny
fd70768910
fix bug with pypo crashing
2012-05-16 10:28:30 -04:00
Martin Konecny
191de74bae
CC-3811: Error found in Media Monitor and Apache's log about Media Monitor try to store recorded file
2012-05-15 17:36:33 -04:00
Martin Konecny
4fd7cd75e9
CC-3828: Pypo push crashed
...
-fixed
2012-05-15 17:35:44 -04:00
Martin Konecny
4a6a31c5a4
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-indent error
2012-05-14 19:55:38 -04:00
Martin Konecny
cadf0acac7
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-fix utf-8 check
2012-05-14 19:53:07 -04:00
Martin Konecny
c397a6f797
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-move utf-8 locale check to bash
2012-05-14 19:46:53 -04:00
Martin Konecny
c1d33e9f72
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-syntax errors
2012-05-14 19:31:50 -04:00
Martin Konecny
b79f02ab88
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
2012-05-14 19:19:42 -04:00
Martin Konecny
92931f662f
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 18:35:20 -04:00
Martin Konecny
c24a8a2308
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 17:50:08 -04:00
Martin Konecny
08c20cff10
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-add UTF-8 header everywhere...
2012-05-14 16:09:49 -04:00
Naomi Aro
4165bf6289
CC-3812 : Recorder needs to sleep using microseconds
2012-05-11 18:50:56 +02:00
Martin Konecny
a734540e5b
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-fixed with hack...
2012-05-10 14:36:59 -04:00
Martin Konecny
a7a3da85c3
more debug information for system encoding
2012-05-10 11:16:51 -04:00
Martin Konecny
b7285bba0d
-fix missing import
2012-05-10 11:14:44 -04:00
Martin Konecny
9bb8e2ad8e
CC-3792: Record show's file cannot be saved
...
-fixed
2012-05-10 00:12:14 -04:00
Martin Konecny
ee52d2e36e
CC-3792: Record show's file cannot be saved
...
-fixed
2012-05-09 23:24:15 -04:00
Martin Konecny
a56755ed47
CC-3789: Need to place rejected files into /problem_files directory
...
-test liquidsoap playability before organizing file
2012-05-09 22:03:58 -04:00
Martin Konecny
aeb9db95f0
CC-3794: Liquidsoap isn't in media monitor's path
2012-05-09 14:18:17 -04:00
Martin Konecny
3b2e812e51
CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
...
-debug info
2012-05-09 12:21:53 -04:00
Martin Konecny
80861bc643
CC-3771: year column in cc_files sometimes has values greater than 2^31-1, which causes postgresql to fail when trying to convert this to a year.
...
-better way to do this...
2012-05-09 01:18:58 -04:00
Martin Konecny
0c6144a0f6
CC-3789: Need to place rejected files into /problem_files directory
...
-make test_file_playability() a class method
2012-05-09 01:02:49 -04:00
Martin Konecny
032fb4e981
CC-3789: Need to place rejected files into /problem_files directory
...
-only do this for files under /srv/airtime/stor
2012-05-09 00:06:33 -04:00
Martin Konecny
4caba5bdea
CC-3789: Need to place rejected files into /problem_files directory
...
-done
2012-05-09 00:02:02 -04:00
Martin Konecny
f769472252
CC-3788: In Media Monitor convert to UTF-8 "just" before passing to urlencode, not before that.
...
-fixed
2012-05-08 23:58:48 -04:00
Martin Konecny
7376e16077
CC-3784: Some media files can be added twice when trying to upload 200 media files
...
-should be fixed
2012-05-08 17:32:50 -04:00
Martin Konecny
ad7964899c
-better logging.
...
-Also moved "-type f" argument to end of find command so that it doesn't
need to do a "stat" on non ogg/mp3 files.
2012-05-08 14:57:16 -04:00
Martin Konecny
a895c3a354
CC-3783: Liquidsoap file verification rejects all mono files
...
-fixed
2012-05-08 14:56:13 -04:00
Martin Konecny
22c1e67d58
CC-3779: Make Airtime more resilient to Ubuntu upgrades
...
undo this change for now
2012-05-07 18:12:59 -04:00
Martin Konecny
95a130bd90
CC-3779: Make Airtime more resilient to Ubuntu upgrades
2012-05-07 16:46:53 -04:00
Martin Konecny
8de8a0be33
replace many Popen calls with more modern subprocess.call
2012-05-07 15:46:49 -04:00
Martin Konecny
ece93ac054
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fix silly regression
2012-05-07 14:39:54 -04:00
Martin Konecny
d997047f5e
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fixed
2012-05-07 14:25:49 -04:00
Martin Konecny
91d1dfbbfa
CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
...
-fixed
2012-05-07 13:54:39 -04:00
Martin Konecny
240756f98b
CC-3767: Pypo push crashed
2012-05-04 19:50:16 -04:00
Martin Konecny
0685148c10
CC-3749: Media Monitor should not load files pypo cannot read
...
-incorrect variable name
2012-05-04 18:05:02 -04:00
Martin Konecny
b1611f5b86
CC-3749: Media Monitor should not load files pypo cannot read
...
-incorrect variable name
2012-05-04 18:01:49 -04:00
Martin Konecny
4d7d17fe55
fix invalid file variable name
2012-05-04 17:25:59 -04:00
Martin Konecny
676205bb00
CC-3750Media Library->Edit Metadata: media-monitor throw exception when trying to edit metadata with non-ascii characters
...
-Improved save metadata function
2012-05-04 15:49:33 -04:00
Martin Konecny
906b6e8bd0
CC-3749: Media Monitor should not load files pypo cannot read
...
-logic error
2012-05-04 15:22:54 -04:00
Martin Konecny
d98d23d483
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 15:04:54 -04:00
Martin Konecny
7e9d1a3308
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:50:38 -04:00
Martin Konecny
e13d06df45
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:45:43 -04:00
Martin Konecny
d6a12053eb
CC-3752: Media Monitor DB sync
...
-forgot to exit
2012-05-04 13:39:48 -04:00
Martin Konecny
fa373a683e
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:37:43 -04:00
Martin Konecny
08217d59fc
CC-3749: Media Monitor should not load files pypo cannot read
...
-fixed
2012-05-04 13:23:46 -04:00
Martin Konecny
ebc8af0863
CC-3749: Media Monitor should not load files pypo cannot read
2012-05-04 13:03:05 -04:00
Martin Konecny
6f3b1bc7c2
Remove 2 second sleep after pushing to Liquidsoap queue
2012-04-30 21:06:26 -04:00
Martin Konecny
39a3382157
CC-3736: Full Install fail at Ubuntu 12.04: virtualenv problem
...
-should be fixed
2012-04-30 17:53:28 -04:00
Martin Konecny
f59bae4246
CC-3736: Full Install fail at Ubuntu 12.04
...
-Fix logger format
2012-04-30 17:26:04 -04:00
Martin Konecny
234ee0f696
CC-3736: Full Install fail at Ubuntu 12.04
2012-04-30 17:13:52 -04:00
Martin Konecny
c84acdfea6
CC-3736: Full Install fail at Ubuntu 12.04
...
-Forgot some imports
2012-04-30 17:10:12 -04:00
Martin Konecny
141d27bf27
CC-3736: Full Install fail at Ubuntu 12.04
...
-various fixes
2012-04-30 17:06:35 -04:00
Martin Konecny
db2ccb1859
CC-3736: Full Install fail at Ubuntu 12.04: virtualenv problem
...
-pip no longer supports and we don't need the -E (environment) option
2012-04-30 15:48:36 -04:00
Martin Konecny
cf1e9e7615
configure locale for pypo
2012-04-27 17:25:12 -04:00
Martin Konecny
47051c460e
-syntax error in api_client
2012-04-27 16:20:40 -04:00
Martin Konecny
763d1918d9
fix pypo refusing to start
2012-04-27 16:18:23 -04:00
Martin Konecny
d7b6146ef9
locales for media-monitor
2012-04-27 16:08:51 -04:00
Martin Konecny
41aeec8a21
replace deprecated urllib with urllib2, and automatic reconnection attempts
2012-04-27 16:05:26 -04:00
Martin Konecny
0e32b5586f
make sure we create tmp directory for media-monitor if it doesn't exist.
2012-04-27 16:04:19 -04:00
Martin Konecny
da7b87866c
-check whether getdefaultlocale actually returns a value before attempting to use it.
2012-04-26 17:59:25 -04:00
Martin Konecny
773206ab22
http://www.python.org/dev/peps/pep-0008/#package-and-module-names
2012-04-26 17:50:35 -04:00
Martin Konecny
b3816061b9
CC-3610: Now Playing ->songs in the Now Playing do not reflect the changes affected changed END_OF_SHOW
...
-fixed
2012-04-26 14:46:29 -04:00
James
83a8c301d7
CC-3708: Recorded file has no creator in metadata, not being associated with
...
a rebroadcast show.
- the propel db integration was changing str value to int for int columns in DB
2012-04-25 12:14:13 -04:00
Martin Konecny
ec8115828a
CC-3673: media monitor encoding problem
...
-made media-monitor not start if non UTF-8 encoding detected.
2012-04-24 16:24:54 -04:00
Martin Konecny
7c49fc77d5
CC-3700: media-monitor- Surround all accesses to external resources with try/except
...
-fixed
2012-04-22 13:42:45 -04:00
Martin Konecny
86282a8d8a
CC-3699: Calls to system() function from our Liquidsoap script are blocking
...
-fixed
2012-04-22 12:01:40 -04:00
Martin Konecny
dae8682e51
CC-3691: Pypo needs to write stderr + stdout to the log file
...
-fixed
2012-04-20 19:12:36 -04:00
James
c1a6202da8
CC-3630: Deleting files from organize folder if they don't have
...
correct Meta data
- done
2012-04-20 10:56:51 -04:00
paul.baranowski
96b010e7f0
CC-1927 Remove PEAR DB
...
* Removed all traces of PEAR functions.
* Fixed AirtimeInstall::GetVersionInstalled() to return the correct answer
even when it cant connect to the database. Also fixed return value to
be consistent on failure.
* Fixed phone_home_stat.php and soundcloud-uploader.php
2012-04-19 16:35:19 -04:00
Martin Konecny
9c9838b35c
CC-3664: setting of pypo.cfg -> cache_for does not take effect
...
-these options are deprecated. Have been removed.
2012-04-17 10:23:15 -04:00
Martin Konecny
5bc720fd4c
CC-3657: Watch Folders -> mp3 files could not be loaded
...
-fixed
2012-04-16 15:11:05 -04:00
Martin Konecny
31303d26e4
CC-3651: tmp file does not copy to Pypo cache
...
-fixed
2012-04-16 11:45:48 -04:00
Martin Konecny
26be52c459
CC-3462: If destination file already exists in pypo cache, double check if it's the correct file size
...
-had two copy functions :S
2012-04-13 15:23:01 -04:00
James
7a983b52ed
CC-3641: Stream Transition: When a song is added to the for the first time
...
, the transition fade effects fade in
- fixed
2012-04-13 13:25:40 -04:00
Martin Konecny
169a4827e4
-cleanup unused variables.
...
-use lambda functions instead of littering class with small functions
2012-04-12 23:14:02 -04:00
Martin Konecny
f96b990275
Merge branch '2.0.x' into devel
...
Conflicts:
VERSION
airtime_mvc/application/models/Systemstatus.php
install_minimal/include/airtime-constants.php
install_minimal/include/airtime-upgrade.php
python_apps/api_clients/api_client.py
python_apps/media-monitor/install/media-monitor-copy-files.py
python_apps/media-monitor/install/media-monitor-initialize.py
python_apps/pypo/install/pypo-initialize.py
python_apps/pypo/liquidsoap_bin
python_apps/pypo/pypopush.py
utils/airtime-log.php
2012-04-12 19:10:17 -04:00
Martin Konecny
6c17cf6e24
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2012-04-12 17:23:03 -04:00
Martin Konecny
fe3dfb6b0c
CC-3635: Pypo needs subsecond accuracy for start time
...
-Done
2012-04-12 17:21:42 -04:00
James
86718cc58e
CC-3628: Media Monitor not sending a delete message to Airtime
...
- fixed
2012-04-12 17:20:31 -04:00
Martin Konecny
a594569ddc
CC-3625: "Now Playing->delete the current playing items" will stop output of pypo-liquidsoap
...
-fixed
2012-04-12 17:09:54 -04:00
Naomi Aro
e2adaff5cf
CC-3630 : Deleting files from organize folder if they don't have correct Meta data
2012-04-12 18:07:16 +02:00
denise
d06b3573e9
CC-3623: Need to send show name to Liquidsoap. (Currently sending name as "TODO")
...
-fixed
2012-04-11 19:22:47 -04:00
James
0ec58f0bc3
CC-3250: UI design for mount monitor for media monitor
...
( Manage Media Folder and Playlist Builder screen)
- adding tooltip and fixed a minor bug
2012-04-11 17:24:26 -04:00
James
1f5f5057bf
CC-3430: Live Stream: Admin should be able to kick out the source connection
...
- fixed
2012-04-11 16:20:27 -04:00
James
92f0f11047
CC-3475: Pypo does not handles the case of RabbitMQ being restarted
...
- added the other exception as well
2012-04-11 16:12:06 -04:00
James
268ba66194
CC-3566: Preferences->"Fade In" is not respected when Show starts
...
- adding some comments
2012-04-11 13:44:24 -04:00
James
13502b4c08
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2012-04-11 12:27:54 -04:00
James
f82aef2a85
CC-3566: Preferences->"Fade In" is not respected when Show starts
...
- millisecond value of fade was sent wrong from php side.
- crossfade() call was removed and it was causing fade in/out not working.
2012-04-11 12:27:41 -04:00
Martin Konecny
92f057593e
CC-3428: liquidsoap seems to have troubles with this file
...
-need to escape double quotes not single :P
2012-04-11 11:21:51 -04:00
Martin Konecny
a09a31bc88
CC-3610: Now Playing ->songs in the Now Playing do not reflect the changes affected changed END_OF_SHOW
...
-pypo side fixed
2012-04-10 23:13:52 -04:00
Martin Konecny
bc6e911673
CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails
...
-fixed
2012-04-10 21:52:54 -04:00
Martin Konecny
1344c27d30
CC-3615: AddMedia,Add Watched Folders-> Uploading of certain playable media fails
...
-fixed
2012-04-10 19:55:53 -04:00
James
21f8ed2578
CC-3475: Pypo does not handles the case of RabbitMQ being restarted
...
- pypomsghandler catches such execption and handles the case by calling
init_rabbit_mq()
2012-04-10 17:36:59 -04:00
Martin Konecny
c71fb37c74
CC-3428: liquidsoap seems to have troubles with this file
...
-update path so that media-monitor finds our liquidsoap first instead
of system's
2012-04-09 11:52:37 -04:00
Martin Konecny
6e471c0060
CC-3428liquidsoap seems to have troubles with this file
...
-check file integrity before adding to library.
2012-04-08 20:16:53 -04:00
Martin Konecny
b9e840552b
-cleaned up some WTF!?!??! code
2012-04-08 19:29:55 -04:00
Martin Konecny
e549e997ae
CC-3525: Pypo needs to look at end time of each track when receiving a new schedule
2012-04-07 22:33:32 -04:00
Martin Konecny
60d521a88a
CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
...
-done
2012-04-05 20:42:15 -04:00
Martin Konecny
788aef2f03
CC-3604: Clear Pypo cache dir on upgrade/reinstall
...
-done
2012-04-05 15:31:20 -04:00
Martin Konecny
3611f1071d
CC-3575: Use invoke-rc.d to start and stop services, rather than calling init scripts directly
...
-fixed
2012-04-05 15:09:20 -04:00
Martin Konecny
b00e74e831
-remove "disable_auto_start_services" install option
2012-04-05 14:56:11 -04:00
Martin Konecny
d9d8211a3b
CC-3601: Pypo schedule needs to be sorted before pushing
...
-fixed
2012-04-04 15:25:57 -04:00
Martin Konecny
162c35419d
CC-3572: pypo user should have shell set to /bin/false
...
-done
2012-04-02 19:04:16 -04:00
Martin Konecny
57f782d3c2
CC-3520: Change default password of monit
...
-fixed
2012-04-01 00:20:47 -04:00
Martin Konecny
e1fd58198c
CC-3572: pypo user should have shell set to /bin/false
...
-fixed
2012-03-31 22:11:12 -04:00
James
4d9abb5f7c
CC-3533: "On the fly" Stream Rebroadcasting-> interruption problem
...
while pause in-between DJ stream tracks
- fixed by wrapping all the input.harbor source with mksafe()
2012-03-30 16:30:17 -04:00
Martin Konecny
7045a4bd95
CC-3564: Sometimes Airtime output stream goes silent when it is playing and we are shuffling tracks around.
...
-fixed
2012-03-30 15:15:34 -04:00
James
7325d51ada
CC-3449: Live Stream: Kick out live dj at the end of the show
...
- fixed so airtime sends series of kick_out events according to
cached_ahead value in cfg file.
2012-03-29 16:57:28 -04:00
Martin Konecny
9a4efd3faf
CC-3493: Create submodule git repository for Liquidsoap binaries
...
-done
2012-03-29 11:31:50 -04:00
Martin Konecny
41b9ea1c14
-more detailed message if pypo-install can't find liquidsoap file
2012-03-28 23:50:49 -04:00
Martin Konecny
29afb6e191
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
...
Conflicts:
python_apps/pypo/pypopush.py
2012-03-28 22:49:57 -04:00
Martin Konecny
fe0f72c8f4
-remove liquidsoap binaries
2012-03-28 22:47:45 -04:00
Martin Konecny
ffdc009290
CC-3485: Liquidsoap annotation is missing liq_fade_in and liq_fade_out
...
-fixed
2012-03-28 17:08:11 -04:00
James
4f5d7efaa1
CC-3449: Live Stream: Kick out live dj at the end of the show
...
- done
2012-03-28 15:12:01 -04:00
james
f4b9774b08
CC-3535: PypoFetch: make disconnect_source() and switch_source() static method
...
- done
2012-03-28 09:39:46 -04:00
Martin Konecny
f8a71a3923
CC-3531: When importing watched directory, correcting a file's permissions does not work correctly.
...
-fixed
2012-03-27 16:59:26 -04:00
Martin Konecny
24262d5ed5
cc-3521: remove 2 second delay
2012-03-27 15:34:56 -04:00
Martin Konecny
654ff76ea4
CC-3399: Use VBR instead of CBR for Vorbis (OGG) audio streams
...
-Done
2012-03-27 15:33:44 -04:00
Martin Konecny
d83267e6dc
-remove crossfade function from ls scripts since it wasn't doing anything.
2012-03-27 15:16:58 -04:00
James
f41ebbe7a7
CC-3521: Live Stream: Remove 2 second scilence when transition happens
...
- reduced the blank duration to 0.1 sec
2012-03-26 18:56:28 -04:00
James
0bdfa74566
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2012-03-26 18:39:24 -04:00
Martin Konecny
d7af91f306
CC-3520: Change default password of monit
...
-done
2012-03-26 17:59:44 -04:00
James
ef801c7a10
CC-3484: Pypo: On bootup, it should grab station name and stream label
...
for liquidsoap
- fixed
2012-03-26 17:44:07 -04:00
James
aba89824f0
CC-3490: liquidsoap_prepare_terminate.py is not using python virtual env
...
- fixed
2012-03-26 15:42:00 -04:00
Martin Konecny
269096b9e8
cc-3476: detect if Liquidsoap is not playing something when it should and fix it
2012-03-26 14:33:33 -04:00
Martin Konecny
1a4e6c563b
cc-3476: dynamic timeout
2012-03-26 14:33:33 -04:00
Martin Konecny
c301cd5256
cc-3476: dynamic timeout
2012-03-26 14:33:33 -04:00
Martin Konecny
2070de03ce
cc-3476-dynamic-timeout
...
-finally found a way to make this simple
2012-03-26 14:33:33 -04:00
Martin Konecny
a013e3b4d0
cc-3476: use dynamic timeouts in pypo
2012-03-26 14:33:33 -04:00
Martin Konecny
4f5b9a0c91
-decoding exec_command from UTF-8 multiple times (bad)
2012-03-26 10:57:56 -04:00
James
b4e9f9699c
CC-3483: Live Stream: default fade in/out for live stream transition
...
- take care of bootstrap of pypo
2012-03-20 22:29:52 -04:00
James
6b768c2f99
CC-3483: Live Stream: default fade in/out for live stream transition
...
- done. changing fade value doesn't require LS to restart
2012-03-20 22:16:17 -04:00
James
d4142f8b8b
CC-3484: Pypo: On bootup, it should grab station name and stream
...
label for liquidsoap
- fixed
- created new function set_bootstrap_variables()
2012-03-20 16:41:15 -04:00
Martin Konecny
6166d1d590
-updated comment in pypofetch
2012-03-18 00:38:39 -04:00
Martin Konecny
d35332e0ba
CC-3371: Don't pause 2 seconds between checking queue in pypo-push
...
-Done
2012-03-18 00:33:22 -04:00
Martin Konecny
22cc362f1c
CC-3448: Cancel show shouldn't send "cancel show" msg to pypo anymore
...
-done
2012-03-17 23:51:58 -04:00
Martin Konecny
73eb691be2
-some cases where pypo-notify is still writing to pypo.log instead of notify.log
2012-03-17 14:16:54 -04:00
Martin Konecny
7a7eb02de5
-fix errors pointed out by pydev code completion
2012-03-17 14:16:11 -04:00
Martin Konecny
db4c916d9a
-add support for PyDev code analysis (need to make pypo directory a package)
2012-03-17 13:56:41 -04:00
Martin Konecny
903698efc5
CC-3470: Smarter way for pypo to recover when it should be playing something.
...
-fixed
2012-03-17 13:55:56 -04:00
Martin Konecny
6634e9f663
cc-3447: synchronize access to liquidsoap via telnet
...
-add another critical section
2012-03-16 20:47:46 -04:00
Martin Konecny
c8c9e46228
cc-3447: pypo telnet class
2012-03-16 20:41:50 -04:00
Martin Konecny
4d96a16cbe
-comment out unused function in pypo-fetch
2012-03-16 20:39:49 -04:00
Martin Konecny
067cd1280a
-remove some annoying logging info from pypopush
2012-03-16 00:49:08 -04:00
Martin Konecny
79964186ed
CC-3462: If destination file already exists in pypo cache, double...
...
-done
2012-03-16 00:48:39 -04:00
Martin Konecny
0716e0425c
-Media monitor not handling unicode incorrectly or comparing UTF-8 with unicode
2012-03-15 23:28:47 -04:00
Martin Konecny
cca3995dba
cc-2675: edit ongoing show
...
-almost there?
2012-03-14 15:37:04 -04:00
Martin Konecny
217be89766
cc-2675: Edit ongoing show
...
-progress being made
2012-03-14 15:37:04 -04:00
Martin Konecny
1d1405f7fd
CC-2675: Edit ongoing show
...
-initial commit
2012-03-14 15:37:04 -04:00
James
c5c9fd7ba8
CC-3430: Live Stream: Admin should be able to kick out the source connection
...
- Clicking a button on UI triggers sending msg to pypo, which will lead running
'kick' command in liquidsoap.
2012-03-14 14:43:11 -04:00
James
2ee4b227fc
CC-3439: Live Stream: Only admin should be able to turn on/of switch and
...
able to see kick out button
- done
2012-03-14 14:43:11 -04:00
James
3c6aff093e
CC-3437: Live Stream: Liquidsoap(Pypo) should preserve the last switch status
...
when it restarts.
- Pypo contacts airtime on bootup and ask what the last switch status was
2012-03-14 14:43:10 -04:00
James
4eefc05366
CC-3427: Live Stream: Ability to switch off Scheduled Play
...
- done
2012-03-14 14:43:10 -04:00
James
68fa46f017
CC-3415: Live Stream: Disconnect all input.harbor connections before
...
terminating the process
- call prepare termiate on monit-restart()
2012-03-14 14:43:10 -04:00
James
cde6db812f
CC-3415: Live Stream: Disconnect all input.harbor connections before
...
terminating the process
- Modified init.d script. init.d script calls liquidsoap_prepare_terminate.py
2012-03-14 14:43:10 -04:00
James
f193047a1c
CC-3367: Display in Now Playing whether Live DJ stream and Live Master stream
...
are connected and give user the ability to block those streams
- added stream source switch interface
- backend code
2012-03-14 14:43:10 -04:00
James
d4a387e113
- adding switch to liquidsoap
2012-03-14 14:41:00 -04:00
James
dfe87723f0
- bug fix in stream setting
...
- testing lisquidsoap
2012-03-14 14:41:00 -04:00
James
128a497059
CC-3224: "On-the-fly" stream rebroadcasting
...
- frond-end implementation for master dj and live dj
- db implementation
- liquidsoap is broken on this commit
2012-03-14 14:41:00 -04:00
James
96c4462adc
- delete unnecessary part from config files
2012-03-14 14:41:00 -04:00
James
1ebe3d1812
CC-3224: "On-the-fly" stream rebroadcasting
...
- Live source is created when only both port and mount point are specified
2012-03-14 14:41:00 -04:00
James
30901aa0d6
CC-3224: "On-the-fly" stream rebroadcasting
...
- A section where user can setup port and mount point for harbor input in
stream setting page(front-end and back-end)
- updated the part where it rewrites the liquidsoap.cfg file
2012-03-14 14:41:00 -04:00
James
48bb19d758
CC-3224: "On-the-fly" stream rebroadcasting
...
- web interface
- auth script for liquidsoap
- DB changes
2012-03-14 14:41:00 -04:00
James
ca04a7a686
CC-3224: "On-the-fly" stream rebroadcasting
...
- Form in preference section
2012-03-14 14:41:00 -04:00
Martin Konecny
1dc9f51c47
CC-3411: pypo-notify should write to its own log
...
-done
2012-03-13 16:53:10 -04:00
Martin Konecny
6f270bfb3d
Merge branch '2.0.x' into devel
...
Conflicts:
VERSION
airtime_mvc/application/models/Schedule.php
airtime_mvc/application/models/Show.php
airtime_mvc/public/js/airtime/dashboard/helperfunctions.js
install_minimal/include/airtime-constants.php
python_apps/api_clients/api_client.py
python_apps/pypo/pypocli.py
python_apps/pypo/pypofetch.py
2012-03-12 17:52:17 -04:00
Naomi Aro
b58e948825
CC-733 : adding extra error messages
2012-03-09 11:28:43 +01:00
Martin Konecny
9715de11f5
CC-3372: Improved pypo cache delete
...
-Done
2012-03-05 19:02:46 -05:00
Martin Konecny
249b743dd1
CC-3384: Pypo On-Air is off and streaming is not playing on every other songs in a show.
...
-temporary solution to make sure we don't push same song multiple times.
2012-03-05 16:09:17 -05:00
Martin Konecny
a4f528021f
CC-3384: Pypo On-Air is off and streaming is not playing on every other songs in a show.
...
-fixed, but there is another small problem
2012-03-05 16:01:58 -05:00
Martin Konecny
c353009d39
CC-3377: Airtime 2.0.2 install fails for ubuntu 11.10
...
-user binary_path var
2012-03-02 18:41:03 -05:00
Martin Konecny
82812e15a5
CC-3377: Airtime 2.0.2 install fails for ubuntu 11.10
...
-should be fixed
2012-03-02 11:45:27 -05:00
Martin Konecny
d03d01bce9
CC-3366: Pypo: Use local files instead of downloading them
...
-done
2012-03-01 18:00:46 -05:00
Martin Konecny
92f19139b9
CC-3336: Refactor schedule API used by pypo
...
-done
2012-02-29 21:27:42 -05:00
Martin Konecny
a6413f2d1a
CC-3336: Refactor schedule API used by pypo
2012-02-28 22:33:19 -05:00
Martin Konecny
497715df44
Merge branch 'cc-3336-refactor-pypo' of dev.sourcefabric.org:airtime into cc-3336-refactor-pypo
...
Conflicts:
airtime_mvc/application/models/Schedule.php
python_apps/pypo/pypofetch.py
python_apps/pypo/pypopush.py
2012-02-28 19:22:13 -05:00
Martin Konecny
b572b26b68
CC-3336: Refactor schedule API used by pypo
...
-make sure that empty arrays are objects and not arrays
-clean up some comments
2012-02-28 15:32:18 -05:00
Martin Konecny
1d02c56874
CC-3336: Refactor schedule API used by pypo
...
-refactored pypo-push
2012-02-28 15:04:24 -05:00
Martin Konecny
11f31effca
CC-3336: Refactor schedule API used by pypo
2012-02-28 15:04:24 -05:00
Martin Konecny
99c24ed038
CC-3336: Refactor schedule API used by pypo
...
-removed export_source
-rewrote GetScheduledPlaylists()
2012-02-28 14:52:44 -05:00
James
d8f7cce56e
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 14:45:33 -05:00
James
d4cdac505a
CC-3346: Recorder: Merge recorder with pypo
...
- fixed log message
2012-02-28 14:45:18 -05:00
James
5aabe89069
CC-3346: Recorder: Merge recorder with pypo
...
- separated rabitMQ listener part out from pypoFetch and created
pypomessagehandler.py
Conflicts:
python_apps/pypo/pypofetch.py
2012-02-28 14:44:39 -05:00
james
91ef7f7669
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-28 14:42:43 -05:00
Martin Konecny
413d669bbf
Merge branch 'cc-3336-refactor-pypo' of dev.sourcefabric.org:airtime into cc-3336-refactor-pypo
...
Conflicts:
airtime_mvc/application/models/Schedule.php
python_apps/pypo/pypofetch.py
python_apps/pypo/pypopush.py
-weird conflict. I must have committed while I had my changes git-stash'ed
2012-02-28 13:58:10 -05:00
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
4e72c1150d
CC-3346: Recorder: Merge recorder with pypo
...
- Upgrade for 2.0.2
2012-02-24 16:24:12 -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
443b55302c
-update version strings from 2.0.1 -> 2.1.0
2012-02-14 15:52:52 -05:00
Martin Konecny
54cbc86a0a
Merge branch '2.0.x' into devel
...
Conflicts:
VERSION
airtime_mvc/application/Bootstrap.php
airtime_mvc/application/controllers/LibraryController.php
airtime_mvc/application/controllers/ScheduleController.php
airtime_mvc/application/models/Nowplaying.php
airtime_mvc/application/models/Show.php
airtime_mvc/application/models/airtime/CcShowInstances.php
2012-02-14 14:47:07 -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
James
9ae0bed01a
CC-3299: Media monitor should not change the owner of watched files
...
- Media Monitor will try to set files to world readable upon adding
2012-02-08 17:43:32 -05:00
James
86150a5fba
CC-3299: Media monitor should not change the owner of watched files
...
- Media Monitor will try to set files to world readable upon adding
2012-02-08 17:42:42 -05:00
James
860a5e4f7e
- version string change for 2.0.1
2012-02-08 16:23:01 -05:00
James
af305fce47
CC-3299: Media monitor should not change the owner of watched files
...
- it sets dir permission 02777 and file permission to 0666 if the path
is under "stor" dir, else it tries add world readable bit.
2012-02-08 15:16:11 -05:00
James
5b47402ed0
CC-3299: Media monitor should not change the owner of watched files
...
- it sets dir permission 02777 and file permission to 0666 if the path
is under "stor" dir, else it tries add world readable bit.
2012-02-08 15:14:58 -05:00
james
b08e7787d3
CC-3299: Media monitor should not change the owner of watched files
...
- bug fix
- better logging
2012-02-07 13:37:42 -05:00
james
22a53dd250
CC-3282: Issue with file causing media-monitor to crash (Spotted on Resonance FM)
...
- removed part of the code where it tries to handle cp1252 which ended up
causing more issues
Conflicts:
python_apps/media-monitor/airtimefilemonitor/airtimemetadata.py
2012-02-07 13:37:27 -05:00
james
951f90adc0
CC-3299: Media monitor should not change the owner of watched files
...
- bug fix
- better logging
2012-02-07 13:35:55 -05:00
james
e5a8d65576
CC-3282: Issue with file causing media-monitor to crash (Spotted on Resonance FM)
...
- removed part of the code where it tries to handle cp1252 which ended up
causing more issues
2012-02-07 13:35:46 -05:00
Martin Konecny
da2ab1caa9
Merge branch 'cc-3297-php-db-and-zendframework-external' into 2.0.x
2012-02-06 20:29:12 -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
James
94aaf5b70e
CC-3299: Media monitor changes the owner of watched files?
...
- bug fixed
2012-02-06 12:33:24 -05:00
James
3689d229d1
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:32:40 -05:00
James
4b7272a173
CC-3299: Media monitor changes the owner of watched files?
...
- bug fixed
2012-02-06 12:32:21 -05:00
Martin Konecny
62d1d56fd2
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:28:49 -05:00
Martin Konecny
e8afd086bd
-fix annoying issue where media-monitor refuses to start if tmp directory
...
/var/tmp/airtime does not exist. Just create it.
2012-02-06 12:28:39 -05:00
James
4043f011b5
Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
2012-02-06 12:28:31 -05:00
James
084214b6c8
CC-3299: Media monitor changes the owner of watched files?
...
- media monitor now tries to set the permission to www-data if the file/dir
cannot be read by www-data
2012-02-06 12:28:16 -05:00
James
a79dd4fe04
CC-3299: Media monitor changes the owner of watched files?
...
- media monitor now tries to set the permission to www-data if the file/dir
cannot be read by www-data
2012-02-06 12:26:20 -05:00
Martin Konecny
214c6e85cc
-remove unneeded check of "if file_info is not None:"
...
-remove undefined variable fomr phone_home_stat.php
2012-02-02 16:14:13 -05:00
James
6812f69962
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- fixed a bug.
- extra fix: handle cancel recording event gracefully
- better log
2012-02-01 10:59:03 -05:00
James
1df1388602
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- bug fix
2012-02-01 10:59:03 -05:00
James
25ab4d39b2
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- The issue was that the recorder wasn't pulling any schedule from
Airtime. It should pull it when real timeout(every 1 hr) happens
2012-02-01 10:59:03 -05:00
James
47eacd1165
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- fixed a bug.
- extra fix: handle cancel recording event gracefully
- better log
2012-02-01 10:33:03 -05:00
James
da89b9fa74
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- bug fix
2012-02-01 10:33:03 -05:00
James
47acb16e20
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- The issue was that the recorder wasn't pulling any schedule from
Airtime. It should pull it when real timeout(every 1 hr) happens
2012-02-01 10:33:03 -05:00
James
3b64da7f4e
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- fixed a bug.
- extra fix: handle cancel recording event gracefully
- better log
2012-01-31 15:28:57 -05:00
James
4874eb4f34
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- bug fix
2012-01-31 11:37:12 -05:00
James
733b23e7fc
CC-3286: Shows not recorded after upgrade to 2.0.0 from 1.8.2
...
- The issue was that the recorder wasn't pulling any schedule from
Airtime. It should pull it when real timeout(every 1 hr) happens
2012-01-31 11:22:30 -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
54ee177f7d
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2012-01-16 13:58:45 -05:00
James
ecdd957525
CC-3245: upgrade 1.8->2.0 cause error in show recorder
...
- new cofig field was missing from recorder.cfg.200
- better log when execption happens
2012-01-13 16:25:56 -05:00
James
a24310e690
CC-3245: upgrade 1.8->2.0 cause error in show recorder
...
- new cofig field was missing from recorder.cfg.200
- better log when execption happens
2012-01-13 16:24:16 -05:00
James
08a09e4096
CC-2977: Never delete files from the database
...
- using mtab(previous and current) files to figure out directories to be
added or removed
- adding index to cc_files
- see the tickets and media monitor design page for more info
2012-01-12 17:55:05 -05:00
James
09d50e7e25
Merge branch 'airtime-2.0.x' of dev.sourcefabric.org:airtime into airtime-2.0.x
2012-01-12 16:38:21 -05:00
James
04b592b831
CC-3245: upgrade 1.8->2.0 cause error in show recorder
...
- fixed
2012-01-12 16:36:14 -05:00
James
04b48d47cc
CC-2977: Never delete files from the database
...
- Files are marked deleted(file_exists to false) on deletion.
- Dirs are marked removed(removed flag to true) on removal of watched
folder in a usual way. If dir is unmounted, without being removed from
watched list first, it will be marked as not exists(exist flag to false)
- Manage Media Folders will show if dirs exist or not( mounted or not)
- Playlist builder will show if files exists or not
2012-01-11 12:17:48 -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
e7ad7f4b79
Merge branch 'airtime-2.0.x' of dev.sourcefabric.org:airtime into airtime-2.0.x
2011-12-15 11:16:35 -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
Naomi Aro
6d9e9f3459
CC-2268 : Make MP3 optional for show recorder to remove dependency on lame
2011-12-14 18:07:06 +01:00
Naomi Aro
7a607ba98f
CC-2268 : Make MP3 optional for show recorder to remove dependency on lame
...
have changed to default ogg option/choice between mp3|ogg recording in config.
haven't removed any packages from install just incase they affect liquidsoap.
2011-12-14 17:59:40 +01:00
Martin Konecny
695073c116
-SAAS release
2011-12-07 12:06:31 -05:00
Martin Konecny
60299ff789
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-12-07 11:51:41 -05:00
Martin Konecny
257824c411
-preparation for beta2 release
2011-12-07 11:51:28 -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
757b2cac4f
CC-3041: Module virtualenv was already imported
...
-hid the error message.
2011-11-25 18:02:56 -05:00
Martin Konecny
15a27526f9
SAAS-83: Add ability to install Airtime components separately
...
-fixed
2011-11-24 18:10:06 -05:00
Martin Konecny
07b2ed2caf
CC-3107: Recorded show file doesn't appear in the playlist builder
...
-fixed
2011-11-24 16:03:12 -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
2fc46cd29b
CC-3039: Install script doesnt check whether virtualenv exists (Ubuntu 11.10)
...
-fixed
-moved virtualenv version check into virtualenv-install.sh
2011-11-14 21:28:27 -05:00
Martin Konecny
c19b7f7c6e
Merge branch '1.9.1' into devel
...
Conflicts:
VERSION
airtime_mvc/application/configs/constants.php
airtime_mvc/application/models/MusicDir.php
install_full/ubuntu/airtime-full-install
install_minimal/include/airtime-upgrade.php
python_apps/api_clients/api_client.py
python_apps/media-monitor/airtimefilemonitor/mediamonitorcommon.py
2011-11-14 21:19:56 -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
c2eae518c4
CC-2978: Install fails on Ubuntu 11.10
...
-fixed for oneiric version of rabbitmq
2011-11-10 14:42:46 -05:00
James
32743ca780
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- added extra comment
2011-11-09 13:36:08 -05:00
James
f2b3ef1b73
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- added extra comment
2011-11-09 13:35:22 -05:00
Martin Konecny
b33ced99c8
CC-2954: Exception in media monitor using Dropbox
...
-Need to check if size is >=2, not 3.
2011-11-03 22:12:03 -04:00
James
8e88c56bc6
CC-2954: Exception in media monitor using Dropbox
...
- This will take care of the exception issue
2011-11-03 16:05:52 -04:00
James
a156548ba6
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- adding comment
2011-11-03 15:35:30 -04:00
James
b75935abc3
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- adding comment
2011-11-03 15:35:04 -04:00
James
905eaa9ec8
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- fixed
2011-11-03 15:26:10 -04:00
James
a85f284296
CC-3016: Import files doesn't work on Debian(1.9.5, 2.0)
...
- fixed
2011-11-03 15:25:09 -04:00
Martin Konecny
4c5386c0f3
1.9.5 preparations
2011-11-02 15:19:27 -04:00
Martin Konecny
6291c67ace
Merge branch '1.9.1' into devel
2011-11-02 10:39:00 -04:00
Martin Konecny
5d0f36f130
CC-3013: Media Monitor throws exception when trying to convert String to Int.
...
-fixed
-also specified base 10 radix
2011-11-02 10:36:00 -04:00
Martin Konecny
b14f2e894d
CC-3012: Media-monitor crash: "Exception: list index out of range"
...
-fixed
2011-11-02 10:10:28 -04: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
cd0ff848fc
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-10-27 15:22:49 -04:00
Martin Konecny
cf4f151302
CC-2758: Make airtime-install script Debian/Ubuntu compatible
...
-fixes
2011-10-27 15:22:35 -04:00
James
83c0f7db9b
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-10-27 14:37:57 -04:00
James
455f10f815
CC-2954: Exception in media monitor using Dropbox
...
- This will take care of the exception issue
2011-10-27 14:34:03 -04:00
Martin Konecny
7496d26032
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-10-27 14:02:15 -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
cdcc8ee5ad
CC-2935: Upgrade: delete virtualenv dir and reinstall virtualenv
...
- done
- we reinstall virtualenv on anycase, so we don't need virtualenv-check
2011-10-26 10:41:21 -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
James
c35f77a9aa
CC-2932: Recorder: When show is recorded, the file name is generated
...
with UTC time.
- fixed
- new pybundle is created with 'pytz' package
2011-10-05 17:27:00 -04:00
martin
8d5efd7752
-update liquidsoap to pre-release 1.0 version
2011-10-05 11:44:44 -04:00
James
b90b69ebde
CC-2926: Clicking "Choose File" in support settings to upload image
...
defaults to "Audio/MPEG" type in Chrome
- fixed
- extra fix: removing debugging code from api_client.py
2011-10-05 11:21:13 -04:00
James
6e25ae5abf
CC-2795: Give option to set download flag of recorded shows uploaded
...
to Soundcloud by default
- removed debugging code
2011-10-04 17:27:57 -04:00
James
973e934151
CC-2927: Media Monitor: if new dir is generated in the process of
...
importing a file, airtime doesn't import the file.
- fixed
2011-10-04 17:23:42 -04:00
James
2786d40db8
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
...
Conflicts:
python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py
2011-10-04 17:22:19 -04:00
James
d56a3ee9d6
CC-2927: Media Monitor: if new dir is generated in the process of
...
importing a file, airtime doesn't import the file.
- fixed
2011-10-04 17:20:22 -04:00
martin
cb3060623c
Merge branch '1.9.1' into devel
...
Conflicts:
airtime_mvc/application/controllers/LibraryController.php
python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py
2011-10-04 14:01:48 -04:00
martin
5190a0c24c
Merge branch '1.9.1' into devel
...
Conflicts:
airtime_mvc/application/controllers/ApiController.php
airtime_mvc/application/models/MusicDir.php
python_apps/media-monitor/airtimefilemonitor/airtimeprocessevent.py
2011-10-04 13:59:27 -04:00
martin
e80a9330f5
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-10-04 13:50:16 -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
James
109bd5d044
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- comments were added
- timestamps updates with IN_MODIFY
2011-10-04 10:20:25 -04:00
James
8d21e4ea95
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- comments were added
- timestamps updates with IN_MODIFY
2011-10-04 10:19:44 -04:00
James
b4d4c54c31
CC-2795: Give option to set download flag of recorded shows uploaded
...
to Soundcloud by default
- fixed name of Soundcloud Model class
2011-10-03 18:02:01 -04:00
James
dcda08e17a
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- fixed
- extra fix: Airtime wasn't updating file when updating metadata
Conflicts:
airtime_mvc/application/controllers/LibraryController.php
2011-10-03 14:17:56 -04:00
James
83e8a610df
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-10-03 14:13:15 -04:00
James
5e9aec93a8
CC-2919: Media Monitor: recorded show doesn't show on library after
...
recording is done
- fixed
- extra fix: Airtime wasn't updating file when updating metadata
2011-10-03 14:10:47 -04:00
martin
3c6692ebce
CC-2806: Create upgrade template file
...
-missing function
-comment out redundant code
-Create cc_component table on upgrade
2011-09-29 19:00:32 -04:00
James
8ef8dbc668
CC-2886: changing file name
2011-09-29 15:45:04 -04:00
James
38c19ed3a3
CC-2886: changing file name
2011-09-29 15:41:16 -04:00
James
bf15b4cf0d
Merge branch '1.9.1' of dev.sourcefabric.org:airtime into 1.9.1
2011-09-29 15:22:40 -04:00
James
6fbf1853ce
CC-2743: Import fails on certain files with
...
'Exception can't sync to an MPEG frame'
- fixed by handling IN_CLOSE_WRITE instead of IN_CREATE
2011-09-29 15:06:31 -04:00
James
ba09d712b6
CC-2882: fix misspelling
...
- fixed
2011-09-29 15:04:19 -04:00
James
3775e5f4a7
CC-2882: Airtime cannot delete watched folder when is been renamed
...
- done
2011-09-29 15:02:34 -04:00
James
46146d1216
cc-2882: Airtime cannot delete watched folder when is been renamed
...
- initial commit
Conflicts:
airtime_mvc/application/models/MusicDir.php
2011-09-29 15:02:30 -04:00
martin
c7ec73e1f2
CC-2891: Unicode error with metadata that contains unicode strings
...
-reversed two changes talked about in code review.
2011-09-29 14:45:56 -04:00
James
9cba129936
CC-2882: fix misspelling
...
- fixed
2011-09-29 10:25:38 -04:00
James
e4959739dc
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-09-29 10:22:25 -04:00
James
f670158c6d
CC-2743: Import fails on certain files with
...
'Exception can't sync to an MPEG frame'
- fixed by handling IN_CLOSE_WRITE instead of IN_CREATE
2011-09-29 10:21:52 -04:00
martin
79f8e36ee4
CC-2886: airtime-check-system should not fail Icecast check
...
if Icecast outputs are not configured in
/etc/airtime/liquidsoap.cfg
2011-09-28 17:46:37 -04:00
martin
4e105e6151
CC-2891: Unicode error with metadata that contains unicode strings
...
-fixed
2011-09-28 16:04:40 -04:00
James
9366938240
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-09-28 15:59:37 -04:00
James
c25a52f3ce
CC-2894: script exits if there is error
...
- done
2011-09-28 15:59:13 -04:00
James
3bbd76466a
CC-2894: install should check that Virtualenv is functional before proceeding
...
- install script now check if all python packages are installed, if not,
it will reinstall it
2011-09-28 15:48:42 -04:00
martin
4f22c5b424
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-09-28 13:53:19 -04:00
martin
eb549fe71a
CC-2897: Liquidsoap doesn't start when no streams are enabled
...
-fixed
2011-09-28 13:53:11 -04:00
James
28f1d885f2
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-09-28 13:46:10 -04:00
James
d1542b0d89
CC-2882: Airtime cannot delete watched folder when is been renamed
...
- done
2011-09-28 13:45:21 -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
James
b1fa8901ca
cc-2882: Airtime cannot delete watched folder when is been renamed
...
- initial commit
2011-09-27 14:49:03 -04:00
martin
2c0b0a2eff
CC-2888: Create a monit file for each airtime component
...
-remove old monit file on upgrade
-remove old monit file from git repo.
2011-09-26 14:47:21 -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
James
6a0a739cef
CC-2871: recorder doesn't record shows when it gets multiple shows in the
...
schedule
- fixed
2011-09-22 15:13:41 -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
a11dba1469
CC-2750: Ability to query health status for pypo, liquidsoap, media monitor, and recorder
2011-09-19 15:46:15 -04:00
Martin Konecny
debfcc112d
Merge branch '1.9.1' into devel
2011-09-19 12:48:15 -04:00
Martin Konecny
2152ae5b3a
CC-2830: airtime-playout not working after reboot on Debian squeeze
...
-fixed
2011-09-19 12:44:43 -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
e1e34d297c
-CC-2750: Ability to query health status for pypo, liquidsoap,
...
media monitor, and recorder
2011-09-16 21:30:50 -04:00
martin
09c1259141
CC-2828: Use monit to monitor rabbitmq-server
...
-after hours of reading documentation, finally found a way to do this!!!
2011-09-16 20:49:33 -04:00
martin
3485b5a39f
Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
2011-09-16 17:53:37 -04:00
martin
80da0ba4a9
CC-2828: Use monit to monitor rabbitmq-server
...
-potential solution for now...
2011-09-16 17:52:23 -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
583a5faf72
CC-2750: Ability to query health status for pypo, liquidsoap,
...
media monitor, and recorder
2011-09-13 18:43:16 -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
1ba200441e
CC-2792: installing Airtime 2.0 beta fails on ubuntu 10.04 64 bit
...
-possibly fixed
2011-09-09 15:38:14 -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
53306dffa4
-update version string to 1.9.4
2011-09-08 15:18:54 -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
abee16ba4a
CC-2747: removing debug code
...
- fixed
2011-09-01 16:07:13 -04:00
James
610b7a6d2c
CC-2747: removing debug code
...
- done
2011-09-01 16:06:01 -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
fefbd9ac79
Merge branch '1.9.1' into devel
2011-08-31 16:23:32 -04:00
James
22c9416c31
CC-2747: When metadata contains non utf-8 encoding, we should handle it
...
- we cover some cases with cp1252 encoding for now.
- extra fix: Logging.php (copied from 2.0.0)
2011-08-31 14:46:21 -04:00
James
c460519a88
Merge branch '1.9.1' into devel
2011-08-31 10:15:00 -04:00
James
cab2a0f8f4
CC-2661: Upgrade script for steam config feature
...
- done
2011-08-29 17:44:28 -04:00
martin
8b0b5851f6
-fix typo in recorder.py
2011-08-29 14:43:30 -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
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