Commit Graph

1153 Commits

Author SHA1 Message Date
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
Martin Konecny 619f17b2f9 fix indentation 2012-07-03 16:43:24 -04:00
Martin Konecny 0286aa364e 2.1.3 preparation 2012-07-03 16:43:10 -04:00
denise 3e75b28c9d Merge branch '2.1.x' into devel
Conflicts:
	airtime_mvc/application/controllers/ApiController.php
2012-07-03 10:42:29 -04:00
James 06ac33b130 CC-4052: Pypo: it's not manually grabbing schedule when it times out.
- fixed
2012-06-29 16:07:03 -04:00
denise 001f0790f9 Merge branch '2.1.x' into devel 2012-06-29 12:26:45 -04:00
James e5e0c925e6 CC-4043: Pypo: add same song twice and cancel the first song, the
following song wont play any more

- fixed
2012-06-29 12:11:38 -04:00
denise 335dd1516b Merge branch '2.1.x' into devel
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
2012-06-29 10:57:14 -04:00
James 93bdcf0b26 CC-4032: pyponotify.py fails because not all files in
/var/log/airtime/pypo are read/writable by pypo

- fix
2012-06-28 17:17:36 -04:00
Martin Konecny 13fb3a02c5 CC-4032: pyponotify.py fails because not all files in /var/log/airtime/pypo are read/writable by pypo
-fixed
2012-06-28 17:09:41 -04:00
Martin Konecny dd098d47fa CC-4041: get_current_chain, get_next_schedule_chain should use same utc time variable
-fixed
2012-06-28 16:43:22 -04:00
Martin Konecny f16d8eb438 Log file cleanup + improvements
-Don't show queue timeout as error
-Show UTC time and current timezone on pypo startup
2012-06-28 16:16:02 -04:00
Martin Konecny 226b6e8709 CC-4040: Pypo can start before Liquidsoap
-fixed
2012-06-28 16:15:39 -04:00
Martin Konecny 939fa24495 CC-4039: pypo-push can sometimes die
-fixed
2012-06-28 15:29:38 -04:00
Martin Konecny 7f735fe2fa Log file cleanup + improvements
-Don't show queue timeout as error
-Show UTC time and current timezone on pypo startup
2012-06-28 12:12:22 -04:00
Martin Konecny 81c9eacd00 CC-3892: Pypopush can be executed before Pypofile copying file
-fixed
2012-06-27 16:29:33 -04:00
Martin Konecny 63aae4d9b5 pypocli.py cleanup 2012-06-27 14:37:40 -04:00
Martin Konecny a0723b7007 CC-4030: POLL interval should be 1/2 of the schedule being sent
-fixed
2012-06-27 14:37:16 -04:00
Martin Konecny d6a5200d58 CC-4029: Pypo Notify script incorrectly attempts to use pypo.log log file (should use notify log file)
-fixed
2012-06-27 12:42:38 -04:00
Martin Konecny 0a3c9c7351 clean up indentation + imports for python apps 2012-06-26 22:41:11 -04:00
Martin Konecny 4061059d3a CC-3938: Mono sources don't work for stream rebroadcasting
-fixed
2012-06-26 18:04:05 -04:00
Martin Konecny 43c4b943f2 CC-4017: Run airtime-playour process as root user
fixed world readable permissions when caching file
2012-06-26 17:50:26 -04:00
Martin Konecny a6eb74b1fd CC-4017: Run airtime-playour process as root user
-Done
2012-06-26 17:00:14 -04:00
Martin Konecny 7e7f8147da CC-4017: Run airtime-playour process as root user
-done
2012-06-26 14:55:19 -04:00
denise f029124447 Merge branch '2.1.x' into devel 2012-06-19 17:57:27 -04:00
Martin Konecny 27a6326c58 Merge branch '2.1.2' into 2.1.x
Conflicts:
	python_apps/pypo/pypofetch.py
2012-06-18 14:57:22 -04:00
denise ad978c7843 Merge branch '2.1.x' into devel 2012-06-18 11:23:42 -04:00
Martin Konecny c8559cc88c 2.1.2 preparation 2012-06-17 23:44:36 -04:00
Martin Konecny ff35322ae9 CC-3988: Pypo: pypo doesn't update last schedule update time when pyp… 2012-06-17 23:24:15 -04:00
James 53af1928cf CC-3988: Pypo: pypo doesn't update last schedule update time when pypo pulls
schedule from the server

- fixed
2012-06-15 21:31:08 -04:00
denise d02607ed94 CC-3561: Add button to automatically rescan watched folders.
-done
2012-06-15 12:16:19 -04:00
denise 6b990f8712 Merge branch '2.1.x' of dev.sourcefabric.org:airtime into devel 2012-06-14 13:45:14 -04:00
denise 3f0a06ee2b CC-3578: Stream label for scheduled shows could fall back to show or station name when no song is currently playing
-done
2012-06-13 12:23:00 -04:00
Martin Konecny f188eeada2 preparation for 2.1.1 release 2012-06-13 11:35:14 -04:00
denise f27fbc14f7 CC-3578: Stream label for scheduled shows could fall back to show or station name when no song is currently playing
-done (falls back to stream name)
2012-06-12 17:40:00 -04:00
denise f3b925daa2 CC-3412: Icecast stream name not defined
-done
2012-06-12 17:08:36 -04:00
Martin Konecny 22453f3820 CC-3968: Cannot preview file as * .MP3
-fixed
2012-06-12 11:31:10 -04:00
James 841dd298d5 CC-3946: Files with upper case "MP3" extension not being imported
- fixed
2012-06-08 15:07:14 -04:00
James 67c90ae3d6 Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x 2012-06-08 14:58:48 -04:00
James 0040f29fd2 CC-3953: Airtime will not auto query for new schedule after 1 hour if it
received new messages unrelated to schedule in the meantime

- fixed
2012-06-08 14:57:59 -04:00
Martin Konecny 2d78f58d42 CC-3947: Pypo log history is too brief
-increased history by 10x
2012-06-08 11:43:55 -04:00
James 0ca45e343b CC-3878: Recorded media file's track number is changed after restarting media-monitor
- fixed
2012-06-06 14:18:54 -04:00
Martin Konecny c37fe4b070 Merge branch '2.1.x' of dev.sourcefabric.org:airtime into 2.1.x 2012-06-05 13:08:07 -04:00
Martin Konecny b128050cc2 CC-3889: Add line "export TERM=xterm" to pypo bash script startup file
-fixed
2012-06-05 13:07:59 -04:00
denise c521e3c545 CC-3849: PlaylistLibrary->Edit Metadata: The deletion of metadata entries has no effect after saving
-fixed
2012-06-05 11:20:00 -04:00
Martin Konecny b6446442ba CC-3917: record_date field in recorded shows causing problem
-fixed
2012-06-04 11:43:41 -04:00
Martin Konecny 3f481309b8 fix cache not being removed 2012-05-30 18:26:49 -04:00
Martin Konecny 8f214c2ae6 make sure pypo user can write /etc/airtime/liquidsoap.cfg 2012-05-29 11:23:42 -04:00
Martin Konecny 11b52905df CC-3892: Pypopush can be executed before Pypofile copying file
-temp solution
2012-05-29 11:10:48 -04:00
Martin Konecny d8ae8002d2 -make sure to autogenerate liquidsoap.cfg before liquidsoap starts 2012-05-28 18:48:40 -04:00
Martin Konecny b9c6eab39c make sure we explicitly need to tell Airtime services to start 2012-05-28 17:42:48 -04:00
Martin Konecny 41efd93628 pypo-initialize syntax cleanup 2012-05-28 14:28:07 -04:00
Martin Konecny 34523e8ec9 don't start liquidsoap if liquidsoap.cfg DNE 2012-05-28 14:27:44 -04:00
Martin Konecny fb715b135c regenerate liquidsoap.cfg if it doesn't exist 2012-05-28 14:27:30 -04:00
Martin Konecny 3d23d5102b make sure /usr/bin/airtime-liquidsoap symlink is gone 2012-05-28 13:36:49 -04:00
Martin Konecny 910f8e8627 ensure dirs end with "/" 2012-05-25 16:19:39 -04:00
Martin Konecny 7299704ed0 remove airtime-liquidsoap symbolic link on uninstall 2012-05-23 12:38:37 -04:00
Martin Konecny 8720aabc27 CC-3857: Chmod fixes for files which should not be executable
-fixed
2012-05-22 11:22:43 -04:00
Martin Konecny dc789b808d CC-3852: Liquidsoap source.skip just skip current item in the queue instead of all the items in the queue
-replace queue.ignore with queue.remove
2012-05-18 18:11:51 -04:00
Martin Konecny b2c63544a9 CC-3840: Deleting current playing item sometimes results in random next track playing
-possibly fixed
2012-05-17 16:30:40 -04:00
Martin Konecny 105d752ada CC-3840: Deleting current playing item sometimes results in random next track playing
-possibly fixed
2012-05-16 17:12:47 -04:00
Martin Konecny 97df2ee6c7 CC-3840: Deleting current playing item sometimes results in random next track playing
-possibly fixed
2012-05-16 16:27:38 -04:00
Martin Konecny b677d2985b -remove useless to utf8 conversions 2012-05-16 15:38:26 -04:00
denise 1629f41a8d CC-3737: ON AIR turns to grey from time to time, while the stream keeps playing
-fixed
2012-05-16 12:54:02 -04:00
Martin Konecny fd70768910 fix bug with pypo crashing 2012-05-16 10:28:30 -04:00
Martin Konecny 191de74bae CC-3811: Error found in Media Monitor and Apache's log about Media Monitor try to store recorded file 2012-05-15 17:36:33 -04:00
Martin Konecny 4fd7cd75e9 CC-3828: Pypo push crashed
-fixed
2012-05-15 17:35:44 -04:00
Martin Konecny 4a6a31c5a4 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-indent error
2012-05-14 19:55:38 -04:00
Martin Konecny cadf0acac7 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-fix utf-8 check
2012-05-14 19:53:07 -04:00
Martin Konecny c397a6f797 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-move utf-8 locale check to bash
2012-05-14 19:46:53 -04:00
Martin Konecny c1d33e9f72 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-syntax errors
2012-05-14 19:31:50 -04:00
Martin Konecny b79f02ab88 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder 2012-05-14 19:19:42 -04:00
Martin Konecny 92931f662f CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 18:35:20 -04:00
Martin Konecny c24a8a2308 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-override LC_ALL=POSIX that happens on system bootup
2012-05-14 17:50:08 -04:00
Martin Konecny 08c20cff10 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-add UTF-8 header everywhere...
2012-05-14 16:09:49 -04:00
Naomi Aro 4165bf6289 CC-3812 : Recorder needs to sleep using microseconds 2012-05-11 18:50:56 +02:00
Martin Konecny a734540e5b CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-fixed with hack...
2012-05-10 14:36:59 -04:00
Martin Konecny a7a3da85c3 more debug information for system encoding 2012-05-10 11:16:51 -04:00
Martin Konecny b7285bba0d -fix missing import 2012-05-10 11:14:44 -04:00
Martin Konecny 9bb8e2ad8e CC-3792: Record show's file cannot be saved
-fixed
2012-05-10 00:12:14 -04:00
Martin Konecny ee52d2e36e CC-3792: Record show's file cannot be saved
-fixed
2012-05-09 23:24:15 -04:00
Martin Konecny a56755ed47 CC-3789: Need to place rejected files into /problem_files directory
-test liquidsoap playability before organizing file
2012-05-09 22:03:58 -04:00
Martin Konecny aeb9db95f0 CC-3794: Liquidsoap isn't in media monitor's path 2012-05-09 14:18:17 -04:00
Martin Konecny 3b2e812e51 CC-3791: Media Monitor crash when there are media files with non-ascii name in watched folder
-debug info
2012-05-09 12:21:53 -04:00
Martin Konecny 80861bc643 CC-3771: year column in cc_files sometimes has values greater than 2^31-1, which causes postgresql to fail when trying to convert this to a year.
-better way to do this...
2012-05-09 01:18:58 -04:00
Martin Konecny 0c6144a0f6 CC-3789: Need to place rejected files into /problem_files directory
-make test_file_playability() a class method
2012-05-09 01:02:49 -04:00
Martin Konecny 032fb4e981 CC-3789: Need to place rejected files into /problem_files directory
-only do this for files under /srv/airtime/stor
2012-05-09 00:06:33 -04:00
Martin Konecny 4caba5bdea CC-3789: Need to place rejected files into /problem_files directory
-done
2012-05-09 00:02:02 -04:00
Martin Konecny f769472252 CC-3788: In Media Monitor convert to UTF-8 "just" before passing to urlencode, not before that.
-fixed
2012-05-08 23:58:48 -04:00
Martin Konecny 7376e16077 CC-3784: Some media files can be added twice when trying to upload 200 media files
-should be fixed
2012-05-08 17:32:50 -04:00
Martin Konecny ad7964899c -better logging.
-Also moved "-type f" argument to end of find command so that it doesn't
 need to do a "stat" on non ogg/mp3 files.
2012-05-08 14:57:16 -04:00
Martin Konecny a895c3a354 CC-3783: Liquidsoap file verification rejects all mono files
-fixed
2012-05-08 14:56:13 -04:00
Martin Konecny 22c1e67d58 CC-3779: Make Airtime more resilient to Ubuntu upgrades
undo this change for now
2012-05-07 18:12:59 -04:00
Martin Konecny 95a130bd90 CC-3779: Make Airtime more resilient to Ubuntu upgrades 2012-05-07 16:46:53 -04:00
Martin Konecny 8de8a0be33 replace many Popen calls with more modern subprocess.call 2012-05-07 15:46:49 -04:00
Martin Konecny ece93ac054 CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
-fix silly regression
2012-05-07 14:39:54 -04:00
Martin Konecny d997047f5e CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
-fixed
2012-05-07 14:25:49 -04:00
Martin Konecny 91d1dfbbfa CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.
-fixed
2012-05-07 13:54:39 -04:00
Martin Konecny 240756f98b CC-3767: Pypo push crashed 2012-05-04 19:50:16 -04:00
Martin Konecny 0685148c10 CC-3749: Media Monitor should not load files pypo cannot read
-incorrect variable name
2012-05-04 18:05:02 -04:00
Martin Konecny b1611f5b86 CC-3749: Media Monitor should not load files pypo cannot read
-incorrect variable name
2012-05-04 18:01:49 -04:00
Martin Konecny 4d7d17fe55 fix invalid file variable name 2012-05-04 17:25:59 -04:00
Martin Konecny 676205bb00 CC-3750Media Library->Edit Metadata: media-monitor throw exception when trying to edit metadata with non-ascii characters
-Improved save metadata function
2012-05-04 15:49:33 -04:00
Martin Konecny 906b6e8bd0 CC-3749: Media Monitor should not load files pypo cannot read
-logic error
2012-05-04 15:22:54 -04:00
Martin Konecny d98d23d483 CC-3749: Media Monitor should not load files pypo cannot read
-fixed
2012-05-04 15:04:54 -04:00
Martin Konecny 7e9d1a3308 CC-3749: Media Monitor should not load files pypo cannot read
-fixed
2012-05-04 13:50:38 -04:00
Martin Konecny e13d06df45 CC-3749: Media Monitor should not load files pypo cannot read
-fixed
2012-05-04 13:45:43 -04:00
Martin Konecny d6a12053eb CC-3752: Media Monitor DB sync
-forgot to exit
2012-05-04 13:39:48 -04:00
Martin Konecny fa373a683e CC-3749: Media Monitor should not load files pypo cannot read
-fixed
2012-05-04 13:37:43 -04:00
Martin Konecny 08217d59fc CC-3749: Media Monitor should not load files pypo cannot read
-fixed
2012-05-04 13:23:46 -04:00
Martin Konecny ebc8af0863 CC-3749: Media Monitor should not load files pypo cannot read 2012-05-04 13:03:05 -04:00
Martin Konecny 6f3b1bc7c2 Remove 2 second sleep after pushing to Liquidsoap queue 2012-04-30 21:06:26 -04:00
Martin Konecny 39a3382157 CC-3736: Full Install fail at Ubuntu 12.04: virtualenv problem
-should be fixed
2012-04-30 17:53:28 -04:00
Martin Konecny f59bae4246 CC-3736: Full Install fail at Ubuntu 12.04
-Fix logger format
2012-04-30 17:26:04 -04:00
Martin Konecny 234ee0f696 CC-3736: Full Install fail at Ubuntu 12.04 2012-04-30 17:13:52 -04:00
Martin Konecny c84acdfea6 CC-3736: Full Install fail at Ubuntu 12.04
-Forgot some imports
2012-04-30 17:10:12 -04:00
Martin Konecny 141d27bf27 CC-3736: Full Install fail at Ubuntu 12.04
-various fixes
2012-04-30 17:06:35 -04:00
Martin Konecny db2ccb1859 CC-3736: Full Install fail at Ubuntu 12.04: virtualenv problem
-pip no longer supports and we don't need the -E (environment) option
2012-04-30 15:48:36 -04:00
Martin Konecny cf1e9e7615 configure locale for pypo 2012-04-27 17:25:12 -04:00
Martin Konecny 47051c460e -syntax error in api_client 2012-04-27 16:20:40 -04:00
Martin Konecny 763d1918d9 fix pypo refusing to start 2012-04-27 16:18:23 -04:00
Martin Konecny d7b6146ef9 locales for media-monitor 2012-04-27 16:08:51 -04:00
Martin Konecny 41aeec8a21 replace deprecated urllib with urllib2, and automatic reconnection attempts 2012-04-27 16:05:26 -04:00
Martin Konecny 0e32b5586f make sure we create tmp directory for media-monitor if it doesn't exist. 2012-04-27 16:04:19 -04:00
Martin Konecny da7b87866c -check whether getdefaultlocale actually returns a value before attempting to use it. 2012-04-26 17:59:25 -04:00
Martin Konecny 773206ab22 http://www.python.org/dev/peps/pep-0008/#package-and-module-names 2012-04-26 17:50:35 -04:00
Martin Konecny b3816061b9 CC-3610: Now Playing ->songs in the Now Playing do not reflect the changes affected changed END_OF_SHOW
-fixed
2012-04-26 14:46:29 -04:00
James 83a8c301d7 CC-3708: Recorded file has no creator in metadata, not being associated with
a rebroadcast show.

- the propel db integration was changing str value to int for int columns in DB
2012-04-25 12:14:13 -04:00
Martin Konecny ec8115828a CC-3673: media monitor encoding problem
-made media-monitor not start if non UTF-8 encoding detected.
2012-04-24 16:24:54 -04:00
Martin Konecny 7c49fc77d5 CC-3700: media-monitor- Surround all accesses to external resources with try/except
-fixed
2012-04-22 13:42:45 -04:00
Martin Konecny 86282a8d8a CC-3699: Calls to system() function from our Liquidsoap script are blocking
-fixed
2012-04-22 12:01:40 -04:00