Commit Graph

1283 Commits

Author SHA1 Message Date
Rudi Grinberg d51687ed6a cc-4105: no longer ignoring flac and other formats 2012-08-14 17:14:27 -04:00
Rudi Grinberg f11d4e43ef cc-4105: improved index file creation method to use 'with' statement 2012-08-14 17:12:15 -04:00
Rudi Grinberg 57a32a0da2 cc-4105: removed bad comments 2012-08-14 16:25:24 -04:00
Rudi Grinberg 9880a8732f cc-4105: fixed bug: return statement missing 2012-08-14 15:45:40 -04:00
Rudi Grinberg d3e6c57372 cc-4105: cleaned up pure.py 2012-08-14 15:40:10 -04:00
Rudi Grinberg 26afdd8851 cc-4105: removed unused method 2012-08-14 15:35:13 -04:00
Rudi Grinberg 0b872afe59 cc-4105: added docstrings and fixed code formatting 2012-08-14 15:33:32 -04:00
Rudi Grinberg a73d0940bd cc-4105: more code duplication removed 2012-08-14 15:24:57 -04:00
Rudi Grinberg 95d33b9248 cc-4105: removed code duplication 2012-08-14 15:21:46 -04:00
Rudi Grinberg 1921ee6d59 cc-4105: changed DeleteFile+NewFile into a ModifyFile event in bootstrapping 2012-08-14 15:11:46 -04:00
Rudi Grinberg c2b65b187c cc-4105: code cleanup 2012-08-14 15:07:56 -04:00
Rudi Grinberg a3b71d7ae3 added __init__ to root dir of mm2 2012-08-14 14:50:44 -04:00
Rudi Grinberg d1bc4fd097 cc-4105: code formatting 2012-08-14 14:50:43 -04:00
Rudi Grinberg a2333309a7 cc-4105: removed unused code. refactored logging a bit 2012-08-14 14:50:43 -04:00
Rudi Grinberg b22b9b9aa3 cc-4105: updated config and installation scripts 2012-08-14 14:50:43 -04:00
Rudi Grinberg 843dd664e3 cc-4105: added another bug related to event contracting 2012-08-14 14:50:43 -04:00
Rudi Grinberg 542f78d2df cc-4105: updated old media monitor install 2012-08-14 14:50:43 -04:00
Rudi Grinberg 4b6350dc2e cc-4105: added some changes to ease installation 2012-08-14 14:50:43 -04:00
Rudi Grinberg ff38a5f719 cc-4105: major reformatting of imports 2012-08-14 14:50:43 -04:00
Rudi Grinberg 3af6036d9e cc-4105: major code reformatting effort 2012-08-14 14:50:43 -04:00
Rudi Grinberg 5d33ca7c6f cc-4105: a whole bunch of docstrings were added 2012-08-14 14:50:43 -04:00
Rudi Grinberg 6238424113 cc-4105: added docs. removed unused method 2012-08-14 14:50:43 -04:00
Rudi Grinberg 12a5edfd5c cc-4105: added a bunch of docstrings 2012-08-14 14:50:42 -04:00
Rudi Grinberg e4a756075a cc-4105: removed workarond for old bug. bug was: events not being removed from contractor 2012-08-14 14:50:42 -04:00
Rudi Grinberg 4708d76091 cc-4105: more event contractor bug fixes 2012-08-14 14:50:42 -04:00
Rudi Grinberg f2fea19c85 cc-4105: fixed first big event contracting bug 2012-08-14 14:50:42 -04:00
Rudi Grinberg 3ce2555a35 cc-4105: fixed little typo that caused a bug 2012-08-14 14:50:42 -04:00
Rudi Grinberg 076a9c2296 cc-4105: added mechanism to remove duplicate events 2012-08-14 14:50:42 -04:00
Rudi Grinberg 745221f77c cc-4105: added command line option parsing 2012-08-14 14:50:42 -04:00
Rudi Grinberg ee1491a487 cc-4105: fixed bug with editing metadata id3v2 2012-08-14 14:50:42 -04:00
Rudi Grinberg 0e2d523bf6 cc-4105: workaround for fix for terrible bug 2012-08-14 14:50:42 -04:00
Rudi Grinberg 9015b93527 cc-4105: removed old debug statements 2012-08-14 14:50:42 -04:00
Rudi Grinberg ab658a3800 cc-4105: fixed horrible bug related to 'strong' reffing 2012-08-14 14:50:42 -04:00
Rudi Grinberg 95e4488518 cc-4105: removed un needed code 2012-08-14 14:50:42 -04:00
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 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 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