Commit Graph

1126 Commits

Author SHA1 Message Date
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