Commit Graph

1589 Commits

Author SHA1 Message Date
Rudi Grinberg 11043d2eba Refactored notify_webstream_data 2012-10-31 12:46:51 -04:00
Rudi Grinberg 83211698a4 Added retrying mechanism to ApiRequest 2012-10-31 12:20:00 -04:00
Rudi Grinberg 4ef38cbc91 Added retry mechanism 2012-10-31 11:45:22 -04:00
Rudi Grinberg 474f5aba48 Added hack for the response type not being set 2012-10-31 11:33:42 -04:00
Rudi Grinberg 18d6cd7868 removed commented code 2012-10-31 11:22:04 -04:00
Rudi Grinberg cf27c18df7 Refactored update_replay_gain_values 2012-10-31 11:01:24 -04:00
Rudi Grinberg e3914c429d refactored get_stream_setting 2012-10-31 10:56:52 -04:00
Rudi Grinberg 82a8fe99ae Refactored docstring 2012-10-31 10:54:02 -04:00
Rudi Grinberg 162028ee8a Unused method removed 2012-10-31 10:52:14 -04:00
Rudi Grinberg 24088d63e0 Formatting 2012-10-31 10:48:14 -04:00
Rudi Grinberg 8e6f6b8894 formatted comment. added TODO 2012-10-31 10:48:03 -04:00
Rudi Grinberg 09c3e3a694 Refactored get_schedule not to suck 2012-10-31 10:47:08 -04:00
Rudi Grinberg 9cea6210bb refactored __get_airtime_version 2012-10-31 10:45:36 -04:00
Rudi Grinberg 91ce35ee9a added todo 2012-10-31 10:43:59 -04:00
Rudi Grinberg 75ce5b205d Fixed setup_media_monitor 2012-10-30 17:48:24 -04:00
Rudi Grinberg 3ed762bc38 check_live_stream_auth fixed 2012-10-30 17:47:09 -04:00
Rudi Grinberg 4ad1468313 refactored get_shows_to_record 2012-10-30 17:45:22 -04:00
Rudi Grinberg d6f644d53f Removed unused method 2012-10-30 17:44:27 -04:00
Rudi Grinberg e85996d814 Removed unused method 2012-10-30 17:43:11 -04:00
Rudi Grinberg 8f82e2623c Removed unused method 2012-10-30 17:42:52 -04:00
Rudi Grinberg d482933b1a notify_liquidsoap_started refactored 2012-10-30 17:41:53 -04:00
Rudi Grinberg 1d325949e7 notify_media_item_start_playing uses RequestProvider 2012-10-30 17:40:53 -04:00
Rudi Grinberg 3b8181062c pointless refactoring of stuff that's never used 2012-10-30 17:35:10 -04:00
Rudi Grinberg c7e1902aa2 removed unnecessary json parse 2012-10-30 17:18:06 -04:00
Rudi Grinberg 41839ed872 Fixed list_all_db_files to use RequestProvider 2012-10-30 17:17:02 -04:00
Rudi Grinberg de72067e90 Fixed typo calling get_files_without_replay_gain 2012-10-30 17:02:33 -04:00
Rudi Grinberg 722a3e6e5d Fixed register_component to use RequestProvider 2012-10-30 16:50:38 -04:00
Rudi Grinberg 81074f9c44 changed notify_source_status to use RequestProvider 2012-10-30 16:42:00 -04:00
Rudi Grinberg f8b5f1dce6 update_file_system_mount is removed because it's not used 2012-10-30 16:31:14 -04:00
Rudi Grinberg 81bfbe9e7e get_boostrap_info and get_files_without_replay_gain_value use RequestProvider 2012-10-30 16:29:37 -04:00
Rudi Grinberg 830a8b6fa5 removed watched_dir_missing 2012-10-30 16:24:20 -04:00
Rudi Grinberg 671d784204 Changed set_storage_dir to use RequestProvider 2012-10-30 16:23:35 -04:00
Rudi Grinberg efc15e4d88 Changed remove_watched_dir to use RequestProvider 2012-10-30 16:22:34 -04:00
Rudi Grinberg 08242336a0 Changed list_all_watched_dirs and add_watched_dirs to use RequestProvider 2012-10-30 16:21:18 -04:00
Rudi Grinberg 4b526fe454 Fixed bug where post data is None 2012-10-30 16:16:02 -04:00
Rudi Grinberg 959cb11bec Removed old code in send_media_monitor_requests 2012-10-30 16:11:08 -04:00
Rudi Grinberg 5a8f51fc26 Fixed urlencode in ApiRequest 2012-10-30 16:08:52 -04:00
Rudi Grinberg 83f5c9a3ce Fixed typo 2012-10-30 16:03:33 -04:00
Rudi Grinberg 013346056e Changed send_media_monitor_requests to use RequestProvider 2012-10-30 15:48:24 -04:00
Rudi Grinberg 845db6a3cc Added TODO 2012-10-30 15:45:41 -04:00
Rudi Grinberg 24dce45a06 Added support for post data and updated test 2012-10-30 15:45:10 -04:00
Rudi Grinberg b751482183 Formatting 2012-10-30 15:36:39 -04:00
Rudi Grinberg 59c55ae27f Updated api client to do automatic json parsing. Updated tests to reflect that as well 2012-10-30 15:19:51 -04:00
James 3e60ac4393 remove \r line endings 2012-10-30 13:23:09 -04:00
Rudi Grinberg 232bbd2bb7 Added tests for the requestprovider class 2012-10-30 00:29:52 -04:00
Rudi Grinberg a6417439af Fixed a few simple bugs 2012-10-30 00:29:35 -04:00
Rudi Grinberg a71bebc35b Fixed typo in RequestProvider definition 2012-10-29 23:38:33 -04:00
Rudi Grinberg a33a1e6e2a Added more testing for ApiRequest using mocks 2012-10-29 23:34:26 -04:00
Rudi Grinberg ccb4925779 Added tests for ApiRequest 2012-10-29 22:44:45 -04:00
Rudi Grinberg 593542b5ed Fixed ApiRequest typo (def -> class) 2012-10-29 22:44:29 -04:00
Rudi Grinberg fb59e78fda Added tests for ApcUrl class 2012-10-29 22:19:35 -04:00
Rudi Grinberg 5ab3ba221d Fixed bug in params method returning after first iteration in loop 2012-10-29 22:19:16 -04:00
Rudi Grinberg 5a1f405993 formatting 2012-10-29 19:53:06 -04:00
Rudi Grinberg c9ce288a65 Beginning of api client refactor 2012-10-29 19:01:48 -04:00
Rudi Grinberg b5bad594bf Wrapping + initial ApiClient 2012-10-29 17:46:47 -04:00
Rudi Grinberg 0b71c913a9 Added TODO and removed line of code that assigned to unused variables 2012-10-29 17:25:53 -04:00
Rudi Grinberg 0d78a825e0 Formatting 2012-10-29 17:20:56 -04:00
Martin Konecny 5f0fd0ef09 Merge branch '2.2.x' of dev.sourcefabric.org:airtime into 2.2.x 2012-10-29 16:29:20 -04:00
Martin Konecny e40d49219b add missing gstreamer.liq file 2012-10-29 16:29:10 -04:00
Rudi Grinberg 2556f3ba30 added error handling on the caller of replaygain instead of in api client 2012-10-29 14:57:43 -04:00
Rudi Grinberg 18d8e24a56 Formatting 2012-10-29 14:40:24 -04:00
Rudi Grinberg a3be821f3f Added Url class for making Api Client requests 2012-10-29 12:30:53 -04:00
Rudi Grinberg dc00528cd5 Merged baseUrl related conflicts 2012-10-29 11:56:20 -04:00
Rudi Grinberg bf5bc3a116 Changed APC to new-style classes 2012-10-29 11:43:39 -04:00
Rudi Grinberg 3cec987d10 Added todo 2012-10-29 11:42:24 -04:00
Rudi Grinberg 31a7b8f943 Removed usesless try catch from send_media_monitor_requests. 2012-10-29 11:40:41 -04:00
Rudi Grinberg 3b51c93766 Refactored pyponotify. Removed code duplication and made runner reusable by other scripts. 2012-10-29 11:25:05 -04:00
Martin Konecny 5ab183e01e Merge branch '2.2.x' of dev.sourcefabric.org:airtime into 2.2.x 2012-10-26 18:23:36 -04:00
Rudi Grinberg 0a396378e5 cc-4635: Fix 2012-10-26 17:15:28 -04:00
Rudi Grinberg c4f0491ff6 cc-4635: Fix 2012-10-26 17:04:42 -04:00
Rudi Grinberg 72928bb5e6 cc-4635: Fix 2012-10-26 16:59:32 -04:00
Rudi Grinberg e10f81aec8 cc-4635: Fix 2012-10-26 16:48:03 -04:00
Rudi Grinberg 7cd8541696 cc-4635: Fix 2012-10-26 16:41:29 -04:00
Rudi Grinberg 7c48683492 cc-4635: Fix 2012-10-26 16:02:32 -04:00
Rudi Grinberg b8a5c6ce95 cc-4634: Fixed 2012-10-26 15:44:58 -04:00
Rudi Grinberg 0135fbe9dd Fixed code formatting 2012-10-26 13:10:09 -04:00
Rudi Grinberg 10a6a4d541 formatted docstrings. fixed decorator with functools 2012-10-26 13:10:09 -04:00
Rudi Grinberg 2e54fd64d3 Formatted more docstrings 2012-10-26 13:10:09 -04:00
Rudi Grinberg 0f1e843017 Formatted docstring 2012-10-26 13:10:09 -04:00
Rudi Grinberg b2650b9a21 Added comment 2012-10-26 13:10:08 -04:00
Rudi Grinberg 41b1b357eb formatted more docstrings 2012-10-26 13:10:08 -04:00
Rudi Grinberg cccbfa2c34 Formatted docstrings 2012-10-26 13:10:08 -04:00
Rudi Grinberg 5ed86e2666 added docstring for wave duration 2012-10-26 13:10:08 -04:00
Rudi Grinberg 958b489fca formatted comments and removed unused function 2012-10-26 13:10:08 -04:00
Rudi Grinberg a0f83c4db0 removed big unused method 2012-10-26 13:10:08 -04:00
Rudi Grinberg a42210e321 added comment for destructor 2012-10-26 13:10:08 -04:00
Rudi Grinberg fb28c3a6c5 Formatting 2012-10-26 13:10:08 -04:00
Rudi Grinberg 212e3bd30e created a module for requests (refactorings) 2012-10-26 13:10:08 -04:00
Rudi Grinberg 0422127689 Added unit tests for requestsync 2012-10-26 13:10:08 -04:00
Rudi Grinberg 38cbd7d7e4 added emf unit tests 2012-10-26 13:10:08 -04:00
Rudi Grinberg a6ab91333f formatting 2012-10-26 13:10:08 -04:00
Rudi Grinberg 289d5575ec Cleaned the shit out of RequestSync. Removed old comments and useless code 2012-10-26 13:10:08 -04:00
Rudi Grinberg 86b262ed8f uncoupled threading from making a request 2012-10-26 13:10:08 -04:00
Rudi Grinberg f718070d3c Uncoupled the api_client instance from the RequestSync object 2012-10-26 13:10:08 -04:00
Rudi Grinberg 9169893e4d Alignment of method definitions 2012-10-26 13:10:08 -04:00
Rudi Grinberg 29c96d2efe Removed md5 related test 2012-10-26 13:10:08 -04:00
Rudi Grinberg 1359bb402e Removed useless comment 2012-10-26 13:10:08 -04:00
Rudi Grinberg 54e6bec16a Reshuffled/removed some unit tests to get rid of omf 2012-10-26 13:10:08 -04:00
Rudi Grinberg f81f671292 Removed unused method 2012-10-26 13:10:08 -04:00
Rudi Grinberg 66b5bf304f changed test strings 2012-10-26 13:10:08 -04:00
Rudi Grinberg 6a8d902a61 Removed omf 2012-10-26 13:10:08 -04:00
Rudi Grinberg 9a1948707c Removed duplicate code 2012-10-26 13:10:08 -04:00
Rudi Grinberg 0638d21473 Refactored code 2012-10-26 13:10:08 -04:00
Rudi Grinberg 7255241e6c Removed old commented code 2012-10-26 13:10:08 -04:00
Rudi Grinberg 5a593112b3 Use emf instead of omf 2012-10-26 13:10:08 -04:00
Rudi Grinberg ff8969efb9 Improved handling for paths and added tests for it 2012-10-26 13:10:08 -04:00
Rudi Grinberg cefc5c99d9 Added special handling for title in emf 2012-10-26 13:10:08 -04:00
Rudi Grinberg d00c74fdbe Renamed test 2012-10-26 13:10:08 -04:00
Rudi Grinberg 482e2475ca cleaned up test 2012-10-26 13:10:08 -04:00
Rudi Grinberg 7db61cc4b4 fixed tests 2012-10-26 13:10:07 -04:00
Rudi Grinberg 591d2d741f Added original path element in metadata 2012-10-26 13:10:07 -04:00
Rudi Grinberg 027153b882 Fixed emf handling of bad definitions 2012-10-26 13:10:07 -04:00
Rudi Grinberg 09a8dfefc1 Fixed metadata definitions in emf 2012-10-26 13:10:07 -04:00
Rudi Grinberg 4242ed38be Added more testing for emf 2012-10-26 13:10:07 -04:00
Rudi Grinberg 445ec23b8e Added utility method for reading mutagen info through emf. 2012-10-26 13:10:07 -04:00
Rudi Grinberg a2792b01ac Got rid of emf bug where a list of 0 elements might be accessed. 2012-10-26 13:10:07 -04:00
Rudi Grinberg 4bbc1fa95b Added comparison for emf and non emf metadata values. 2012-10-26 13:10:07 -04:00
Rudi Grinberg 31b2a29392 Added docstirng for __slice_deps 2012-10-26 13:10:07 -04:00
Rudi Grinberg 55567d1de0 Aded diff_dict function to help locate differences between emf and old metadata parsing. 2012-10-26 13:10:07 -04:00
Rudi Grinberg b7b11feae0 emf improvements 2012-10-26 13:10:07 -04:00
Rudi Grinberg 10c4a71866 Added default translator for mdata elements that don't specify it 2012-10-26 13:10:07 -04:00
Rudi Grinberg a88b7255ff removed automatic loading of emf definitions 2012-10-26 13:10:07 -04:00
Rudi Grinberg cad6a7e7b0 added perliminary stuff for emf 2012-10-26 13:10:07 -04:00
Martin Konecny e285bcfba1 update liquidsoap library scripts
-git commit hash f776e7f4c5d3729cbcf863381f3cadd96c578a5b
2012-10-26 12:54:10 -04:00
Martin Konecny 6500c3312d Merge branch '2.2.x'
Conflicts:
	install_minimal/airtime-install
	python_apps/media-monitor/airtimefilemonitor/airtimemetadata.py
2012-10-26 00:31:12 -04:00
Rudi Grinberg 3dd5b2869d Added lsof to check if file is locked 2012-10-25 18:38:15 -04:00
Rudi Grinberg 5b051aae32 changed throttling 2012-10-25 17:20:02 -04:00
Rudi Grinberg b89862f304 tweaked throttling 2012-10-25 16:34:00 -04:00
Rudi Grinberg 9811c67019 more throttling 2012-10-25 16:10:33 -04:00
Rudi Grinberg f21c26677b added throttling 2012-10-25 16:04:12 -04:00
Martin Konecny 795ffbbf63 CC-2236: Overbooked shows do not respect default fade time
-move map_metadata after crossfade function
2012-10-22 16:36:57 -04:00
Martin Konecny 780a05c2aa CC-2236: Overbooked shows do not respect default fade time
-once a release we manage to break fades :) fixed.
2012-10-22 16:23:33 -04:00
Rudi Grinberg d9932dc542 Removed gevent 2012-10-22 15:05:38 -04:00
Rudi Grinberg 32ce685e0e gevent ain't working so it's cut 2012-10-22 12:52:47 -04:00
Rudi Grinberg 75ba2d8e90 Added gevent magic. 2012-10-22 12:14:36 -04:00
Martin Konecny b59d71aa4f Merge branch '2.2.x' of dev.sourcefabric.org:airtime into 2.2.x 2012-10-19 16:49:11 -04:00
Martin Konecny ef78cefcd9 CC-4487: Webstream could not be heard unless you restart playout as well
-cleanup of unused variables
2012-10-19 16:49:01 -04:00
James 2bab46a12e Merge branch '2.2.x' of dev.sourcefabric.org:airtime into 2.2.x 2012-10-19 16:40:49 -04:00
James 58535bef88 CC-4580: No contents in rebroadcast show
- fixed
2012-10-19 16:40:32 -04:00
Martin Konecny bd5fef0bcd CC-4487: Webstream could not be heard unless you restart playout as well
-fixed
2012-10-19 16:29:31 -04:00
Martin Konecny 9dfee6aa68 CC-4564: Webstream: Book same webstream twice in Scheduler, the 2nd one doesn't get played
-fixed
2012-10-19 15:39:45 -04:00
Martin Konecny 1d4b905572 CC-4564: Webstream Book same webstream twice in Scheduler, the 2nd one doesn't get played
-small syntax error in last commit
2012-10-19 15:18:48 -04:00
Martin Konecny 77b430ce01 CC-4564: Webstream Book same webstream twice in Scheduler, the 2nd one doesn't get played
-fixed
2012-10-19 15:14:52 -04:00
denise 7d8079f770 Merge branch '2.2.x' into devel
Conflicts:
	airtime_mvc/application/controllers/ShowbuilderController.php
	airtime_mvc/public/js/airtime/audiopreview/preview_jplayer.js
	airtime_mvc/public/js/airtime/common/common.js
2012-10-19 12:50:36 -04:00
denise d32495d100 CC-2184: Hardcoded CSS path should be relative path instead 2012-10-19 11:09:34 -04:00
Rudi Grinberg 893f9509fa cc-4556: fixed 2012-10-16 18:35:56 -04:00
Rudi Grinberg df54a75d5d Merge branch '2.2.x' of dev.sourcefabric.org:airtime into 2.2.x 2012-10-16 12:20:13 -04:00
Martin Konecny a929561088 CC-4565: Pypopush: Error happens when trying to insert a song right behind a Webstream as well as that Webstream is just finished
-make sure we don't return a negative when calculating interval
seconds
2012-10-16 11:59:37 -04:00
Rudi Grinberg b4cf857ce5 remove cluttering comments 2012-10-09 12:09:44 -04:00
Rudi Grinberg 286e62ffdd typo in comment 2012-10-09 12:09:22 -04:00