Commit Graph

1699 Commits

Author SHA1 Message Date
Rudi Grinberg 6c75a086e1 cc-4421: Added for wav length 2012-09-13 17:47:04 -04:00
Rudi Grinberg 12e27e659a Extracted read_wave_duration out of code 2012-09-13 17:03:05 -04:00
Rudi Grinberg 7586aa37f3 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-13 16:28:54 -04:00
Rudi Grinberg 8e0f003309 Formatting 2012-09-13 16:28:38 -04:00
Rudi Grinberg 4349dbe4fd Added special handling for wav 2012-09-13 16:26:31 -04:00
Martin Konecny d534f22ce4 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-13 16:11:15 -04:00
Martin Konecny da72c00f28 CC-4370: Transitioning between two webstreams: a hiccup in the stream is audible
-fixed
2012-09-13 16:10:17 -04:00
Rudi Grinberg 251e0f054a Typo 2012-09-13 15:48:36 -04:00
Rudi Grinberg 1e76b6c751 Fixed typo 2012-09-13 15:45:30 -04:00
Rudi Grinberg 9eaa052744 FakeMutagen inherits from dict 2012-09-13 15:38:30 -04:00
Rudi Grinberg 05f4bb64b2 cc-4421: Created a fake mutagen object for files that mutagen does not recognize 2012-09-13 15:05:36 -04:00
Rudi Grinberg 8d08aa888b cc-4421: Added special handling for files that mutagen returns None for. 2012-09-13 14:54:52 -04:00
Rudi Grinberg a832ad61dc Fixed bug where path would not be normpathed 2012-09-13 11:38:40 -04:00
Rudi Grinberg e2f8d8e0e7 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-13 11:10:43 -04:00
Martin Konecny 50f723fa7a CC-4416: Error with AAC files and Replaygain
-fixed
2012-09-13 11:06:44 -04:00
Rudi Grinberg 52882ef938 Added mp4 removed aac. 2012-09-13 10:35:13 -04:00
Rudi Grinberg 8e91c515f0 cc-4397: Fixed handling for bad metadata. 2012-09-12 17:26:37 -04:00
Rudi Grinberg 92532cb708 cc-4394: Added m4a 2012-09-12 14:54:11 -04:00
Rudi Grinberg 03d3dc8312 Added good debugging for removed_watch_directory 2012-09-11 17:03:49 -04:00
Rudi Grinberg b0a7f60b10 Fixed typo 2012-09-11 16:29:45 -04:00
Rudi Grinberg 355b0ad35d cc-4292: Initial fix of the MD5 issue. Now MD5's are only collected not really used for anything. Moves are handled completely
through paths.
2012-09-11 16:02:39 -04:00
Rudi Grinberg 458089a773 cc-4359: Fixed without breaking anything else. Reverted bootrsrapping to default operation except for media monitor restart which uses a
special bootstrap that respects file_exists settings.
2012-09-11 11:19:44 -04:00
Rudi Grinberg 7cba85ea05 cc-4359: Fixed without breaking other problems. 2012-09-10 18:27:52 -04:00
Rudi Grinberg 160b28af5d Added flag for two different list_all_db_files requests. 2012-09-10 17:42:59 -04:00
Rudi Grinberg 0dab4fa231 cc-4388: Fixed. 2012-09-10 17:40:03 -04:00
Rudi Grinberg 3fc60c741d MM2: Normalize directory paths received from airtime once and for all. 2012-09-10 17:39:43 -04:00
Rudi Grinberg fdc7245a15 Removed translation of dashes to slashes. 2012-09-10 16:30:18 -04:00
Rudi Grinberg 4fe8407659 Adde configurable value for list_all_files 2012-09-10 16:29:17 -04:00
Rudi Grinberg c4f486e539 MM2: More detailed logging. 2012-09-10 16:08:33 -04:00
Martin Konecny e85ea5c683 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-10 15:35:42 -04:00
Martin Konecny 3107286799 CC-4370: Transitioning between two webstreams a hiccup in the stream is audible 2012-09-10 15:35:32 -04:00
Rudi Grinberg 259a3eb792 cc-4359: normpath'd music dir before passing it to manager.py to remove
watch
2012-09-10 14:51:29 -04:00
Rudi Grinberg b085f9ef67 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-10 14:15:07 -04:00
Rudi Grinberg 8d7a3a2042 removed unused code 2012-09-10 12:46:41 -04:00
Martin Konecny e5de4f560d Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-09-10 12:18:41 -04:00
Martin Konecny ac8610ca06 CC-4385: Problem with mono streams for stream rebroadcasting
-fixed
2012-09-10 12:18:19 -04:00
Rudi Grinberg a479a11c8f Removed crazy handling of flac. 2012-09-07 18:23:14 -04:00
Martin Konecny d20c450226 CC-4370: Transitioning between two webstreams a hiccup in the stream is audible
-some major refactoring before fixing this problem
2012-09-07 17:38:24 -04:00
Martin Konecny 989f040603 CC-4371: input.harbor for rebroadcasting webstreams has hardcoded password.
-fixed
2012-09-07 11:41:20 -04:00
Rudi Grinberg 8a5333fa7f Removed supported for files that mutagen cannot read 2012-09-05 16:09:29 -04:00
Rudi Grinberg 0798d67b2d cc-4350: Possible fix. 2012-09-05 16:04:59 -04:00
Rudi Grinberg 272840eb5a Added logging for liquidsoap run command. 2012-09-05 16:04:28 -04:00
Rudi Grinberg 4fdf3c1b77 MM2: Removed assertion in favor of warning. 2012-09-05 16:04:11 -04:00
Rudi Grinberg 0538023e39 MM2: Removed python 2.7 style dictionary comprehnsions for backward compatibility 2012-09-05 15:27:23 -04:00
Rudi Grinberg 131fd2cce4 sexification of docstring 2012-09-05 11:56:31 -04:00
Rudi Grinberg 71d4462272 MM2: removed redundant kbps in filename 2012-09-05 11:15:31 -04:00
Rudi Grinberg 7d010e1e28 cc-4241: Changed date to time in filename for recorded shows 2012-09-05 11:06:33 -04:00
Rudi Grinberg f4848a8306 cc-4241: Tweaked metadata handling again 2012-09-05 10:59:56 -04:00
Rudi Grinberg d12833a71e Pypo debugging 2012-09-05 10:36:32 -04:00
Rudi Grinberg 6c52a229b9 mm2: added back metadata handling. Added new "Enterprise Metadata
Framework"
2012-09-05 10:32:37 -04:00
Rudi Grinberg ab9fbc48ae MM2: Added docstrings 2012-09-05 10:24:10 -04:00
Rudi Grinberg 5c9d0b7db5 mm2: changed metadata handling 2012-09-05 10:20:10 -04:00
Rudi Grinberg ed368b82c0 Removed unnecessary songs from media monitor. 2012-09-04 17:25:13 -04:00
Rudi Grinberg b08874ad97 Changed pypo recordeder to output title metadata with media monitor compatible output. To avoid extra parsing. 2012-09-04 17:24:29 -04:00
Rudi Grinberg cae2245936 MM2: Cleaned up pure.py a little 2012-09-04 16:52:22 -04:00
Rudi Grinberg 446d63a1d7 cc-4343: temporary workaround in action 2012-09-04 09:49:16 -04:00
Rudi Grinberg 5609530dfc MM2: Removed debugging. 2012-09-04 09:35:44 -04:00
Rudi Grinberg 6b0b0bd4a4 MM2: Removed useless code. 2012-09-04 09:16:32 -04:00
Rudi Grinberg 970708bd23 MM2: Removed dead code path 2012-09-04 09:01:51 -04:00
Rudi Grinberg 7135fdbc3d k 2012-09-04 09:00:11 -04:00
Rudi Grinberg 1c425eb17d cc-4339: removed unnecessary file 2012-09-04 08:55:22 -04:00
Martin Konecny b8d9861001 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-31 18:12:18 -04:00
Martin Konecny fbea75e680 CC-4335: Timeline: Scheduling multiple webstreams, they can not be playing smoothly
-fixed
2012-08-31 18:12:11 -04:00
Rudi Grinberg d54cf1c212 mm2: added some decent debuggin 2012-08-31 18:10:18 -04:00
Rudi Grinberg 69ac52973d Replaygain: added better logging 2012-08-31 17:58:12 -04:00
Rudi Grinberg 77e1ecce7d Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-31 17:48:58 -04:00
Rudi Grinberg 74e4425ead cc-4329: Fixed this by adding liquid soap playability test from mm1 2012-08-31 17:22:25 -04:00
Martin Konecny 886888a958 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-31 17:21:48 -04:00
Martin Konecny 3ed15d565e CC-4327: Timeline: Cancel a track, the following webscream does not get played
-fixed
2012-08-31 17:21:24 -04:00
Rudi Grinberg 4de8d32fad cc-4332: Added nicu before command invocation 2012-08-31 15:50:02 -04:00
Rudi Grinberg 434bcf15ab cc-4329: Fixed this by adding liquid soap playability test from mm1 2012-08-31 14:53:45 -04:00
Martin Konecny 1aa73c7347 CC-4321: NowPlaying: Cancelling Webstream has no effect and results in OnAir being grayed out
-syntax error :/
2012-08-31 12:52:07 -04:00
Martin Konecny 61537c550e CC-4321: NowPlaying: Cancelling Webstream has no effect and results in OnAir being grayed out
-fix out of bounds error
2012-08-31 12:49:35 -04:00
Martin Konecny 0ceb0167fe Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-31 12:18:48 -04:00
Martin Konecny c043053407 CC-4321: NowPlaying: Cancelling Webstream has no effect and results in OnAir being grayed out
-fixed
2012-08-31 12:18:37 -04:00
Daniel James 4ffbbfa164 Update the text sent to the console, since binary is no longer installed here 2012-08-31 14:36:05 +01:00
Rudi Grinberg 9318d069be Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-30 16:50:21 -04:00
Rudi Grinberg 3571e2c691 cc-1710: switched bwf to wav 2012-08-30 16:50:10 -04:00
Martin Konecny f9dca67376 CC-4322: Prevent pypo-notify from hanging if server becomes unresponsive
-up timeout to 45 sec
2012-08-30 15:58:05 -04:00
Martin Konecny 796885594f CC-4322: Prevent pypo-notify from hanging if server becomes unresponsive
-fixed
2012-08-30 15:56:34 -04:00
Martin Konecny a56af856b8 CC-4322: Prevent pypo-notify from hanging if server becomes unresponsive
-fixed
2012-08-30 15:52:47 -04:00
Martin Konecny c201473dbd CC-4311: On Air button gets greyed out few seconds after show starts
-fixed
2012-08-30 12:02:26 -04:00
Rudi Grinberg 27dea9cfc1 cc-4241: removed broken code 2012-08-30 11:25:58 -04:00
Rudi Grinberg b735d9c45c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-29 18:29:18 -04:00
Rudi Grinberg ef7c30b55e cc-4241: Partially resolved issue. Added tests. 2012-08-29 18:29:01 -04:00
Martin Konecny 859445c766 CC-3301: Add ability to switch stereo/mono stream in stream settings
-fixed
2012-08-29 17:39:24 -04:00
Martin Konecny 8b5f94fa9f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-29 11:05:14 -04:00
Martin Konecny ec4343deb0 CC-4313Make sure any service can re-create its log file if the file is removed
-fixed
2012-08-29 11:04:56 -04:00
Rudi Grinberg 2536c28a01 MM2: more robust handling of bit rate 2012-08-28 17:51:48 -04:00
Rudi Grinberg 416bb5fb2b MM2: added some docstrings to Manager.py 2012-08-28 17:39:25 -04:00
Rudi Grinberg 21bad35c39 cc-4309: possible fix 2012-08-28 17:32:48 -04:00
Rudi Grinberg ee54ef2b81 mm2: checking for null value 2012-08-28 17:26:33 -04:00
Martin Konecny 481616a0d6 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-28 17:22:57 -04:00
Rudi Grinberg 0517e674bd Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-28 16:22:51 -04:00
Martin Konecny 67d79b97e4 CC-4114: separate Liquidsoap into its own init.d script
-changed my mind - don't restart liquidsoap if pypo restarts
2012-08-28 15:32:25 -04:00
Martin Konecny 8d81ecf3ad CC-4114: separate Liquidsoap into its own init.d script
if liquidsoap restarts, automatically notify pypo
2012-08-28 15:14:57 -04:00
Rudi Grinberg e21c9788da MM2: cosmetic changes 2012-08-28 11:59:32 -04:00
Rudi Grinberg a276e1c2c6 cc-4305: Fixed bug + added test. 2012-08-28 11:54:35 -04:00
Rudi Grinberg 03015ac89c cc-4305: removed unnecessary temporary variable 2012-08-28 11:11:01 -04:00
Rudi Grinberg 7a926edd8f cc-4305: renamed time variable not to interefere with time module 2012-08-28 11:07:32 -04:00
Rudi Grinberg 52b2423596 cc-4305: documented set_metadata_and_save 2012-08-28 10:54:55 -04:00
Rudi Grinberg 8a490c3aa4 cc-4305: removed extra commas that don't do anything 2012-08-28 10:52:20 -04:00
Rudi Grinberg 7d29379b07 cc-3936: Dirty hack to fix issue. We are using pydispatch to add new watch directories and giving the mm.manager another responsiblity
it should not have.
2012-08-27 16:50:22 -04:00
Rudi Grinberg be602c3318 cc-3936: Bug fixed where mm2. was using wrong method to launch. 2012-08-27 16:50:22 -04:00
Rudi Grinberg d5ccf183a0 cc-4269: added coalesce_events option like in mm1 2012-08-27 16:50:22 -04:00
Rudi Grinberg ed6489cd8d MM2: added assertion for eventcontractor 2012-08-27 15:41:33 -04:00
Rudi Grinberg 589477c8fe documented some shitty parts of the code 2012-08-27 15:00:11 -04:00
Rudi Grinberg c14af747b0 cc-3936: Fixed bug where wrong path was being used to identify a file's ownership. 2012-08-27 12:28:44 -04:00
Rudi Grinberg 87225d322e cc-3936: Fixed assertion. 2012-08-27 12:28:16 -04:00
Rudi Grinberg 92edaba55c cc-3936: Added test for get_owner function of the owner module. 2012-08-27 12:08:36 -04:00
Rudi Grinberg 97bb041ba3 cc-3936: Added assertion for organizer to only handle correct events. 2012-08-27 12:08:21 -04:00
Rudi Grinberg 7270893b4d cc-3936: Clarified comments regarding event hooks and file ownership. 2012-08-27 12:07:54 -04:00
Rudi Grinberg 687a6d3c5a cc-3936: removed intrusive logging 2012-08-27 11:49:36 -04:00
Rudi Grinberg ba61d4f4fb cc-3936: Fixed bug caught by unit tests. 2012-08-27 11:26:48 -04:00
Rudi Grinberg fd98b8c8b6 cc-3936: Documented 2 classes and 1 method. 2012-08-27 11:21:39 -04:00
Rudi Grinberg c05fd2baed cc-3936: Fixed bug where owner assignment statement was missing. 2012-08-27 11:21:20 -04:00
Rudi Grinberg d4bead4bd9 cc-3936: Added documenatation for various events. 2012-08-27 11:16:00 -04:00
Rudi Grinberg fec8f06135 cc-3936:
- added get_owner to actually get the owner of the file for event objects.
- removed possibly annoying logging.
2012-08-27 11:06:06 -04:00
Rudi Grinberg 517fa705bc cc-3936: added owner recognition to organizer. 2012-08-27 11:06:06 -04:00
Rudi Grinberg ad4cc7bdaf cc-3936: Assigned MDATA_KEY_OWNER_ID to new file events. 2012-08-27 11:06:06 -04:00
Rudi Grinberg 1654d524d1 cc-3936:
Added some tests for media.monitor.owners.
2012-08-27 11:06:06 -04:00
Rudi Grinberg 8e6bc0bede cc-3936:
Added reset owners function for safe use. Changed the return mechanics of add_file_owner.
2012-08-27 11:06:06 -04:00
Rudi Grinberg 899d76ecbb cc-3936:
Added mechanism that will assign ownership to file events in mm2
2012-08-27 11:06:06 -04:00
Rudi Grinberg 506f6afa7b cc-3936:
Added function to recognize the owner of a file if it's there.
Added corresponding tests.
2012-08-27 11:06:06 -04:00
Rudi Grinberg c7cf687e66 MM2: Imporoved some logging and error checking. 2012-08-22 17:01:39 -04:00
Rudi Grinberg d12b1645fd MM2: Fixed bug where mm would choke on songs without MDATA_KEY_CREATOR when trying to decide if they
are recorded or not.
2012-08-22 14:39:25 -04:00
Rudi Grinberg 94df848358 MM2: removed shit comments. 2012-08-22 11:42:30 -04:00
Rudi Grinberg 73e52adee1 Upgraded version number to 2.2.0 2012-08-22 10:39:26 -04:00
Rudi Grinberg c9afe4fa47 mm2: sexified tests 2012-08-21 17:30:05 -04:00
Rudi Grinberg e918a56aea MM2: corrected unit tests 2012-08-21 17:23:51 -04:00
Rudi Grinberg e02d927402 mm2: removed useless print statement 2012-08-21 17:17:20 -04:00
Martin Konecny 15eae0698b Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-21 16:55:17 -04:00
Rudi Grinberg 3871540e62 big code reformatting in pypo 2012-08-21 16:39:37 -04:00
Rudi Grinberg 64a36ea21a cc-4240: fixed 2012-08-21 16:33:37 -04:00
Rudi Grinberg 8a0774d298 cc-4240: Added more tracebacks 2012-08-21 15:56:08 -04:00
Rudi Grinberg 36c3bf5763 cc-4240: added recorder stacktrace print 2012-08-21 15:12:45 -04:00
Rudi Grinberg 1090226fc3 cc-4255: registered component so that status works 2012-08-21 14:24:25 -04:00
Rudi Grinberg 12e4585410 MM2: formatted some code 2012-08-21 14:07:26 -04:00
Rudi Grinberg e15d345b4f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-21 12:50:42 -04:00
Rudi Grinberg 8dc4bcb7d3 cc-4241: fixed this bug. and maybe 4232 too. 2012-08-21 12:50:29 -04:00
Rudi Grinberg 01060f560c cc-4241: corrected unit test. 2012-08-21 12:49:57 -04:00
Rudi Grinberg bbf5a86415 MM2: refactoring of metadata handling 2012-08-21 12:34:29 -04:00
Martin Konecny 20cfd01f80 CC-1665: Scheduled stream rebroadcasting and recording
-ls_script cleanup
2012-08-21 12:20:15 -04:00
Martin Konecny 656e5eb429 Merge branch '2.1.x' into devel
Conflicts:
	python_apps/pypo/install/pypo-initialize.py
2012-08-21 12:07:21 -04:00
Martin Konecny 2a497bf941 remove symlink, not actual binary 2012-08-21 12:06:07 -04:00
Rudi Grinberg 142eb6b66e cc-4241:
Updated tests to test for this bug automatically.
2012-08-21 11:59:29 -04:00
Rudi Grinberg bb1e67a83c small refactoring of to os.path.join instead of manual path concatenation. 2012-08-21 10:46:48 -04:00
Rudi Grinberg 93d21b510c MM2:
Fixed wrong use of split (misunderstanding of the maxsplit optional argument)
2012-08-20 18:01:42 -04:00
Martin Konecny 4f7c8bf0db Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-20 16:54:10 -04:00
Martin Konecny a874e9fff7 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-tying up loose ends
2012-08-20 16:54:01 -04:00
Rudi Grinberg a993691c6a Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-20 16:23:15 -04:00
Rudi Grinberg 48ae4a578f cc-4227
Added comments. Removed bad/old upgrade code.
2012-08-20 16:15:14 -04:00
James 1c9e290982 CC-4218: Live resource: Cannot connect live resource.
- fixed
2012-08-20 16:03:29 -04:00
Rudi Grinberg 51fc87c638 cc-4227: removed unnecessary code 2012-08-20 15:02:39 -04:00
Martin Konecny 5315d1efd0 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-fixed syntax error
2012-08-20 14:52:35 -04:00
Martin Konecny 4ad3927554 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-shutdown liquidsoap on install
2012-08-20 14:41:34 -04:00
Martin Konecny 0dd3dd506e add logging in scripts so we know which telnet command is issued 2012-08-20 14:40:46 -04:00
Rudi Grinberg 6c1e822b6a cc-4227: updated install scripts for upgrade 2012-08-20 12:32:16 -04:00
Rudi Grinberg abeef43a5b cc-4227: fixed small bugs in upgrade script and finished testing 2012-08-20 12:15:29 -04:00
Martin Konecny 79ea05bc1b CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-more fixes
2012-08-20 12:11:03 -04:00
Rudi Grinberg b4c014dbcc cc-4227: changed upgrade method. added test stubs for it 2012-08-20 11:19:57 -04:00
Martin Konecny 9f903833d7 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-20 10:55:13 -04:00
Martin Konecny 72de78bcd1 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-changed to use init.d script to restart.
2012-08-19 00:41:25 -04:00
Martin Konecny 1dd1ba4420 CC-4114: use liquidsoap shutdown() command to restart liquidsoap
-moved liquidsoap into its own init.d script. Still need to do some testing.
2012-08-18 22:02:15 -04:00
Martin Konecny a6d10d8378 CC-1665: Scheduled stream rebroadcasting and recording
-fix syntax error
2012-08-18 21:48:57 -04:00
Rudi Grinberg 37aa879ed0 cc-4227: fix of bad fix regarding normalized data 2012-08-17 17:38:08 -04:00
Rudi Grinberg 364f3e777a cc-4227: added simple script to upgrade the config 2012-08-17 17:38:08 -04:00
Martin Konecny b3ef67e617 CC-1665: Scheduled stream rebroadcasting and recording
-info about current pre-buffering webstream should be persistent...
2012-08-17 17:10:42 -04:00
Martin Konecny 84b616cd28 CC-1665: Scheduled stream rebroadcasting and recording
-reduce liquidsoap CPU percentage from 20 -> 17%.
2012-08-17 16:32:26 -04:00
Martin Konecny d8c48a53fe CC-1665: Scheduled stream rebroadcasting and recording
-take care of situation where stream metadata has apostrophe in it.
2012-08-17 16:12:37 -04:00
Martin Konecny 86c0b7db37 CC-1665: Scheduled stream rebroadcasting and recording
-fix syntax error
2012-08-17 15:55:28 -04:00
Martin Konecny 99a3f6ba0c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-17 15:41:53 -04:00
Martin Konecny e2425dd22f EOL vim fixes 2012-08-17 15:38:40 -04:00
Martin Konecny a08b31dd39 CC-1665: Scheduled stream rebroadcasting and recording
-ability to schedule streams without a 5 second pre-buffer
2012-08-17 15:38:24 -04:00
Rudi Grinberg ecd7fe7576 cc-4232: fix this issue 2012-08-17 15:36:33 -04:00
Rudi Grinberg efa4b12e3a cc-4232: fixed typo in doctest 2012-08-17 15:18:40 -04:00
Rudi Grinberg 1c865fc3f1 cc-4232: fixed some tests 2012-08-17 15:08:30 -04:00
Rudi Grinberg 9b7d7abee3 cc-4237: removed fat depenendancies 2012-08-17 12:57:42 -04:00
Rudi Grinberg 418e894d26 MM2: added requirements file to generate pybundle 2012-08-17 12:48:49 -04:00
Rudi Grinberg 5b134d0055 cc-4228: fixed this ticket by stomping out bugs in eventcontractor and tweaking ApiController 2012-08-17 12:37:58 -04:00
Rudi Grinberg 10a7eae498 cc-4228: formatting 2012-08-17 12:37:58 -04:00
Rudi Grinberg 4a10fb2ecf cc-4228: added tests for m.m.eventcontractor 2012-08-17 12:37:58 -04:00
Rudi Grinberg 04836695e7 cc-4228: comment explaining why we aren't doing something that would normally make sense 2012-08-17 12:37:58 -04:00
Rudi Grinberg 2ec3e9f72f cc-4228: removed two subtle bugs where hooks were added wrong and packing and hooking was called in wrong order 2012-08-17 12:37:58 -04:00
Martin Konecny 831a1b1923 CC-4242: MP3 streams have the artist name duplicated
-fixed
2012-08-16 23:51:11 -04:00
Martin Konecny 704a8d0805 CC-1665: Scheduled stream rebroadcasting and recording
-make sure any buffers are cleared out from stream when queue is playing and vice-versa
2012-08-16 23:50:32 -04:00
Martin Konecny 50b7597e28 CC-4242: MP3 streams have the artist name duplicated
-fixed
2012-08-16 23:49:37 -04:00
Rudi Grinberg 7ceb9bd84a MM2: removed distracting logging 2012-08-16 17:32:54 -04:00
Rudi Grinberg 33f38190e9 MM2: removed bad comments and possible bug 2012-08-16 17:27:43 -04:00
Rudi Grinberg 062e7bbe8b MM2: added listener test 2012-08-16 15:25:57 -04:00
Rudi Grinberg 974858c8f5 MM2: fixed bug where index file wans't being created 2012-08-16 14:34:40 -04:00
Rudi Grinberg 25b5ad43a1 cc-4235: added todo to fix this shit 2012-08-16 13:01:39 -04:00
Rudi Grinberg 699f9b16c0 cc-4235: workaround for this terrible bug 2012-08-16 12:06:10 -04:00
Rudi Grinberg d50c4ded6b cc-4235: added debugging statements 2012-08-16 11:23:01 -04:00
Rudi Grinberg ecbde40979 fixed failing unit test 2012-08-16 10:42:28 -04:00
Rudi Grinberg 050ffa20f9 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-16 10:27:15 -04:00
Rudi Grinberg a87a790ce6 cc-4235: removed some magic to find bug 2012-08-16 10:26:57 -04:00
Martin Konecny 45a4c8d896 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2012-08-15 18:31:07 -04:00
Martin Konecny 5c1c836f11 CC-1665: Scheduled stream rebroadcasting and recording
-pre buffer streams part 3
-finished
2012-08-15 18:30:12 -04:00
Martin Konecny 4ee0c368ac CC-1665: Scheduled stream rebroadcasting and recording
-pre buffer streams part 2
2012-08-15 17:03:14 -04:00
Martin Konecny 1e57c12ce7 CC-1665: Scheduled stream rebroadcasting and recording
-pre buffer streams part 1
2012-08-15 16:43:01 -04:00
Rudi Grinberg 8f114689ae cc-4232: removed wrong comments 2012-08-15 16:30:33 -04:00
Rudi Grinberg 4e0b4c210e cc-4232: added some comments and doctests 2012-08-15 15:56:24 -04:00
Rudi Grinberg c58e2e7ff9 Revert "Revert "cc-4232: changed bit formatter to give empty string when bitrate is set to 0""
This reverts commit 340e5deb51c11c2dd3445cc1483b21c533d5bdef.
2012-08-15 15:56:24 -04:00
Rudi Grinberg a2dfcd6bc2 Revert "cc-4232: changed bit formatter to give empty string when bitrate is set to 0"
This reverts commit 4e25a5ff442258c13f366a4557ca22181cdfac02.
2012-08-15 15:56:24 -04:00
Rudi Grinberg 7fe45a5bbc cc-4232: changed bit formatter to give empty string when bitrate is set to 0 2012-08-15 15:56:24 -04:00
Rudi Grinberg 70747d380c cc-4230: fixed bug in no_extension_basename function 2012-08-15 15:55:33 -04:00
Martin Konecny d773dcd112 CC-1665: Scheduled stream rebroadcasting and recording
-send stream name back to Airtime: [("url","http://idobiradio.com/"), ("title","Good Charlotte - Like It's Her Birthday")]
2012-08-15 15:12:44 -04:00
Rudi Grinberg 71b62608e5 cc-4226: fixed empty fields to be shown as empty strings instead of placeholder unknown. updated tests 2012-08-15 12:03:16 -04:00
Rudi Grinberg e9114b3468 cc-4105: added docstrings, formatted code 2012-08-15 11:22:44 -04:00
Rudi Grinberg 1f422a9609 cc-4105: removed obsolete comments and duplicate code 2012-08-15 11:14:15 -04:00
Rudi Grinberg e570e4de90 cc-4105: possibly fixed bug with __unregister removing keys that aren't there 2012-08-15 11:01:06 -04:00
Rudi Grinberg 5df5238eb3 cc-4105: removed some extensions, not well suported yet 2012-08-15 10:57:44 -04:00
Rudi Grinberg 0573237b7e cc-4105: fixd for parsing metadata title 2012-08-14 17:46:20 -04:00
Rudi Grinberg 96b57d688a cc-4105: code formatting improvements 2012-08-14 17:17:18 -04:00
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 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