Commit Graph

532 Commits

Author SHA1 Message Date
Rudi Grinberg 76bc290623 cc-4105: modularized mm2.py. fixed little bug where proper last ran time wasn't being used 2012-08-14 14:50:42 -04:00
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 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 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 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 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
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
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 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 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 20e32b98ba Merge branch 'devel' into mediamonitor2
Conflicts:
	python_apps/api_clients/api_client.py
2012-07-16 17:41:36 -04:00
Rudi Grinberg 3e24b71436 removed wrong comments 2012-07-16 10:31:00 -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
Rudi Grinberg 0e98bc75c8 cc-4105: hasattr in conditional statement instead of getattr 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 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 47893865cc cc-4105: clean up url construction in api client 2012-07-13 16:32:17 -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