Commit Graph

2394 Commits

Author SHA1 Message Date
drigato cd6c4f7ede Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-16 17:24:56 -04:00
Albert Santoni cdce4ca104 CC-5709: Airtime Analyzer
* Fixed the unit tests
* Improved length testing because it seems to fluctuate a bit with
  your mutagen version (great, eh?)
2014-04-16 16:42:37 -04:00
Albert Santoni 9a3c88f009 CC-5709: Airtime Analyzer
* Explicitly set the locale in upstart conf to avoid UTF-8/unicode
  errors from python. Fixes CC-5794.
2014-04-16 15:33:02 -04:00
Albert Santoni de189f91ec Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-16 13:05:41 -04:00
Albert Santoni b0670f5f47 CC-5709: Airtime Analyzer
* Log tracebacks from child process
2014-04-16 13:05:02 -04:00
Albert Santoni 0431044ee2 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-16 11:11:47 -04:00
Albert Santoni 4d1843ca1f Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer 2014-04-16 11:11:24 -04:00
Albert Santoni f491211167 CC-5709: Airtime Analyzer
* Retry HTTP requests (kinda crappy, should find a better design pattern to
  solve this) - CC-5775
* Persist failed HTTP requests at shutdown
2014-04-16 11:10:06 -04:00
drigato 8ae172b0bb Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-16 10:55:25 -04:00
drigato 7aba416c3b Small fix to ftp hook script.
Removed space that was getting added to the api key
2014-04-16 10:54:55 -04:00
Albert Santoni 8fb95316f2 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts:
	airtime_mvc/locale/de_DE/LC_MESSAGES/airtime.po
	airtime_mvc/locale/es_ES/LC_MESSAGES/airtime.po
2014-04-09 15:01:11 -04:00
Albert Santoni e4af3a5a0e CC-5709: Airtime Analyzer
* Better SIGTERM handling for airtime_analyzer
* Nuke the .identifier files saved by Airtime
2014-04-08 17:28:50 -04:00
Albert Santoni 5948dc41da Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-08 14:29:34 -04:00
Albert Santoni 84ee3d26cb CC-5709: Airtime Analyzer
* Fixed metadata import, whoops
2014-04-08 14:16:07 -04:00
drigato bbc81be1d3 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-08 12:09:32 -04:00
Albert Santoni b8b913ff68 CC-5709: Airtime Analyzer
* Fixed daemonization stuff for upstart
* Adding missing unit test files
2014-04-07 16:19:44 -04:00
Albert Santoni e044187aed Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts:
	python_apps/airtime_analyzer/setup.py
2014-04-04 19:48:22 -04:00
Albert Santoni b02dc45a53 CC-5709: Airtime Analyzer
* Fixed airtime_analyzer setup script
2014-04-04 19:46:59 -04:00
Albert Santoni 20b056c9f0 CC-5709: Airtime Analyzer
* Added upstart script for starting on bootup
2014-04-04 19:09:46 -04:00
Albert Santoni b7db432cf6 CC-5709: Airtime Analyzer
* Added upstart script for starting on bootup
2014-04-04 19:08:57 -04:00
Albert Santoni cf492045cc CC-5709: Airtime Analyzer
* A bunch of cleanup and fix for metadata extraction on files mutagen can't read
2014-04-04 12:35:50 -04:00
Albert Santoni 95b369c54d CC-5709: Airtime Analyzer
* Remove awful StoredFile::uploadFile() function
* Massive airtime_analyzer commenting and cleanup
* Cleaned up the upload code
* Temporarily disabled the liquidsoap playability test.
2014-04-03 16:13:26 -04:00
Albert Santoni 0398072d45 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-03 11:35:37 -04:00
Albert Santoni 86b94b970f CC-5709: Airtime Analyzer
* Fix for incorrect length sometimes happening (VBR MP3?)
2014-04-03 11:34:57 -04:00
Albert Santoni 9c0314eaa0 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-02 16:52:01 -04:00
Albert Santoni 2a172afe3e CC-5709: Even more slightly better exception handling 2014-04-02 16:51:38 -04:00
Albert Santoni aabb8ec01f Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-02 16:48:04 -04:00
Albert Santoni f6369c02ee CC-5709: Airtime Analyzer
* Catch bad callback_url
2014-04-02 16:47:24 -04:00
Albert Santoni a6e80e2789 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas 2014-04-01 12:29:20 -04:00
Albert Santoni 12c16bc120 CC-5709: Airtime Analyzer
* Make the airtime_analyzer config path a runtime param
2014-04-01 12:28:40 -04:00
drigato 82958a10ae CC-5708: proftpd hook for new File API
small fix for testing script
2014-03-28 12:26:40 -04:00
drigato 49996a9986 CC-5708: proftpd hook for new File API
encased var in {}
2014-03-28 11:15:28 -04:00
drigato 2fdc4291e3 CC-5708: proftpd hook for new File API
testing ftp hook script
2014-03-27 16:48:57 -04:00
drigato cc4e43a8b5 CC-5708: proftpd hook for new File API
variable escaping?
2014-03-27 16:48:27 -04:00
Albert Santoni 1c5e2d6205 Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts:
	airtime_mvc/public/index.php

* Reverted some SaaS-only thing Martin did a year ago. Looks benign but
  only one way to find out...
2014-03-27 16:38:03 -04:00
drigato 2bc37b9fea CC-5708: proftpd hook for new File API
added handling for if the web server is down
2014-03-27 15:46:42 -04:00
drigato eb72f25151 CC-5708: proftpd hook for new File API
uncomment curl command
2014-03-27 11:11:10 -04:00
drigato 700b28ae38 CC-5708: proftpd hook for new File API
removed testing lines
2014-03-27 11:09:18 -04:00
drigato b37938dbd8 Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer 2014-03-27 11:05:36 -04:00
drigato ead1ec4795 CC-5708: proftpd hook for new File API 2014-03-27 11:05:23 -04:00
Albert Santoni 7e0c9bc684 Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer 2014-03-26 15:07:40 -04:00
Albert Santoni 58a38ffd3a CC-5709: Airtime Analyzer
* Added unit test coverage report stuff
* Added more unit tests
* 98% test coverage :-)
* Fixed a few bugs and removed some dead code
2014-03-26 15:06:48 -04:00
drigato 681fe4630b CC-5708: proftpd hook for new File API
url and API key are hard coded right now.
Next task is to somehow decipher these with whatever ftp parameters we can pass in to the scipt.
2014-03-25 18:09:47 -04:00
Albert Santoni 03267fe83b Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer 2014-03-25 14:35:07 -04:00
Albert Santoni f8c221a610 CC-5709: Airtime Analyzer
* Fixed and updated the unit tests
2014-03-25 14:34:50 -04:00
drigato 3bffb02bc0 CC-5708: proftpd hook for new File API 2014-03-24 18:22:34 -04:00
Albert Santoni 6952902b22 CC-5709: Airtime Analyzer
* Unbreak stuff
2014-03-24 16:05:53 -04:00
Albert Santoni eb37b39406 CC-5709: Airtime Analyzer
* Added missing FileMoverAnalyzer file that I forgot to commit
2014-03-24 13:03:20 -04:00
Albert Santoni 61c2c90b7e CC-5709: Airtime Analyzer
* Remove the "hidden" field from the REST blacklist, the analyzer needs to set it.
* Added import_status column messages in the recent uploads table
* Auto-refresh the recent uploads table while imports are pending
* Moved the file moving stuff to its own analyzer in airtime_analyzer
* Basic error reporting to the REST API in airtime_analyzer, needs
  hardeneing though
* Fixed a bug with the number of recent uploads
* Prevent airtime_analyzer from running if media_monitor is running
2014-03-22 02:12:03 -04:00
Albert Santoni 8f7ecafcf6 CC-5709: Airtime Analyzer
* A bunch of changes that somehow didn't make it into my last commit...
* confused
2014-03-21 14:03:17 -04:00
Albert Santoni 878dd11ccc CC-5709: Airtime Analyzer
* Overhauled Add Media screen, now shows state of recent uploads
* Dropped old unused "state" column, added new file_import column to cc_files
* New PluploadController methods
* Save the filename as the track title for unprocessed uploads
* Hide pending files from the library until they've been processed.
* Don't overwrite files with duplicate names, we rename them instead.
2014-03-21 13:22:00 -04:00
cliffctwang 3c40c6d627 Merge branch '2.5.x' into 2.5.x-saas 2014-03-21 09:46:30 -04:00
cliff.wang b827321093 cc-5747 Replaygain: doesnt work for aac tracks 2014-03-20 13:02:37 -04:00
Albert Santoni 2a783f3825 Merge branch '2.5.x' into 2.5.x-saas 2014-03-17 15:41:14 -04:00
Albert Santoni 16c56e6aff CC-5709: Airtime Analyzer
* Fixed error in media API authentication
* Improved documentation
2014-03-17 14:43:50 -04:00
Albert Santoni 50a42f12bb CC-5709: Airtime Analyzer
* File import via the Add Media page now works!
* Reworked StoredFile::copyFileToStor() because it's still needed.
* Reworked the way file paths are reported in airtime_analyzer
  and in the RESTful media API
2014-03-17 10:19:39 -04:00
Albert Santoni 259edebadc CC-5709: Airtime Analyzer
* Fixed import of length, MIME type, and bitrate into Airtime
2014-03-13 16:52:11 -04:00
Albert Santoni c0aee37e37 CC-5709: Airtime Analyzer
* Fixed the RabbitMQ setup instructions in the README
2014-03-13 14:38:01 -04:00
Albert Santoni 451b19150b CC-5709: Airtime Analyzer
* Notify airtime_analyzer of new uploads with RabbitMQ
* Use a durable exchange for airtime-uploads
2014-03-13 13:35:48 -04:00
Albert Santoni f4ea417b83 CC-5709: Airtime Analyzer
* Renamed a function in MediaController for clarity
* Updated airtime_analyzer README
2014-03-13 12:12:12 -04:00
Albert Santoni 73cbead4c3 CC-5729: Pypo race condition on show source kick event kills playout
* Fixed a race condition in pypo which could kill playout. Input kick
  events and non-file/webstream events could result in an exception
  being thrown. Fixed the logic error behind this, caught the exception
  just in case, and added some code to prevent uncaught pypopush
  exceptions from terminating the thread.
* Could prevent playout breakage in similar situations
2014-03-11 18:01:29 -04:00
Albert Santoni 6d7117f670 CC-5709: Airtime Analyzer
* Added MetadataAnalyzer unit tests and test data
* Improved debug logging and squashed pika logging
* Implemented file moving
* Extract the track number/total
* Fixed mapping of mutagen to Airtime fields in a few spots. The mapping
  matches the DB column names now.
* Fixed the bin/airtime_analyzer binary
* Started work on PluploadController to make it work with the new File
  API
2014-03-10 16:32:23 -04:00
Albert Santoni 4e39fce701 CC-5709: Airtime Analyzer
* Basic HTTP reporting back to the File API works (PUT)
* Use the database table names as JSON field names.
* Fixed result returning bug in message_listener.py
* Fixed API key verification to adhere with the HTTP Basic Auth spec
2014-03-06 16:55:20 -05:00
Albert Santoni 59535850e2 CC-5709: Airtime Analyzer Queue
* Added StatusReporter class to make HTTP requests back to Airtime
* Handle even more errors now
* Added proper logging and log rotation
* Added --debug flag for increased logging.
2014-03-05 22:43:47 -05:00
Albert Santoni a6a64a2b9e CC-5709 / CC-5705 : Airtime Analyzer
* Finished the skeleton of the airtime_analyzer service.
* Basic round-robin, reliable AMQP messaging works.
* Using multiprocess arch so the daemon survives analyzer crashes and
  avoids failures propagating to other nodes.
* Basic metadata extractor using Mutagen is done.
* HTTP requests to the File API to are next to come...
2014-03-05 12:15:25 -05:00
Albert Santoni 86dafaf61c SAAS-404: Separate the Airtime API version from the Airtime version
* Airtime PHP side can be version bumped without pypo freaking out now
2014-02-14 16:22:15 -05:00
Albert Santoni 02a96646e1 Merge branch '2.5.x' into 2.5.x-saas
Conflicts:
	python_apps/pypo/listenerstat.py
2014-02-05 17:35:59 -05:00
Albert Santoni b4e7b9324b Fixed listener stats thread hanging on network errors
* Same fix as before, urlopen() wasn't being used with a timeout.
* Fixes CC-5472 and SAAS-394 aka. listener stats breaking all the time
2014-02-05 17:29:15 -05:00
Albert Santoni dfc4c2f308 SAAS-387: Hunt playout freezes
* Really kill hung pyponotify processes.
2014-02-05 12:20:04 -05:00
Albert Santoni d53c81a410 Fix major pypo freeze
* Set a timeout for HTTP requests in api_client so that they don't
  hang forever if there's a network interruption.
* Prevents pypo from completely freezing up in the network gets jacked.
2014-02-04 17:09:00 -05:00
Albert Santoni c7c2d37b30 Merge branch '2.5.x' into 2.5.x-saas 2014-01-31 13:21:33 -05:00
Albert Santoni 8a6ac21e8c CC-5679: Media Monitor: Uploading folder with tracks will erase organize folder itself
* Fixed problem where the "organize" folder would get deleted if you
  copied a directory into it. Would break FTP uploads on Pro.
2014-01-31 13:20:10 -05:00
Albert Santoni 2525c0dbd6 Fixed a race condition in media-monitor
* Prevent exception if files are copied in very quickly
2014-01-30 15:58:52 -05:00
Naomi Aro 49474ab5c4 Merge branch '2.5.x' into 2.5.x-saas
Conflicts:
	airtime_mvc/application/forms/AddShowWhen.php
	airtime_mvc/application/forms/LiveStreamingPreferences.php
	airtime_mvc/application/models/Schedule.php
	airtime_mvc/application/views/scripts/form/preferences.phtml
	airtime_mvc/application/views/scripts/form/preferences_livestream.phtml
	airtime_mvc/application/views/scripts/form/support-setting.phtml
	airtime_mvc/application/views/scripts/schedule/add-show-form.phtml
2013-12-17 17:20:38 -05:00
drigato 2032eefdde Update version number in airtime-constants.php
Update version number in api_client.py
Create upgrade folder
2013-12-09 15:30:30 -05:00
Naomi 2ab269dd29 CC-5299 : Back to back record shows doesn't work with some devices
waiting until the ecasound process has completed before starting a new recording thread.
2013-10-15 14:31:06 -04:00
Naomi f91cb39e46 CC-5363 : pushing a file twice, noticeable replaygain switch 2013-10-11 17:05:42 -04:00
Albert Santoni f34a6d201a Double the pypo->liquidsoap timeout on second attempt if first attempt failed 2013-10-07 15:39:14 -04:00
Albert Santoni 02101db088 Raise timeout for pypo->liquidsoap communication to improve reliability under load 2013-10-07 15:37:34 -04:00
Naomi a34ae69d4b CC-5347 : Random Error think to do with updating is scheduled status of a webstream
not sending a notify message if webstream source is -1
2013-09-30 15:56:26 -04:00
Naomi 9f38e5a9c6 CC-5342 : Pypo: Webstream disconnection happens when any changes on Now playing page 2013-09-26 17:03:18 -04:00
Daniel James 58ad52f93f CC-5328 Fix virtualenv version check for newer distros 2013-09-25 13:03:35 +01:00
Daniel James 577bbf14b6 Remove swear words from source code 2013-09-23 16:16:51 +01:00
Naomi Aro 682a37894b Merge branch 'ryerson-history' into 2.5.x-saas
Conflicts:
	airtime_mvc/application/views/scripts/menu.phtml
2013-09-02 15:52:43 -04:00
Naomi Aro 60bf334aeb Merge branch '2.4.x' into 2.4.x-saas 2013-09-02 15:46:25 -04:00
Naomi Aro 71ee72015b release version updates and changelog edits. 2013-09-01 00:56:47 -04:00
Naomi 186e438ccb adding upgrades to 2.4.1 for version. 2013-08-28 11:54:34 -04:00
cliff.wang 12a62a3827 CC-5309:Calendar-> Recording Show: Fail to open context menu
Better error msg, also add more information in show-record.log
2013-08-23 14:23:47 -04:00
cliff.wang ceba84d1f7 CC-5308 Liquidsoap input habor will block schedule contents sometime
Remove makesafe wrapper
2013-08-22 15:03:25 -04:00
denise 9cbdd06af2 Removed ugly comment 2013-08-12 16:05:44 -04:00
denise 6501d563be CC-5276: Adding watched folder throws exception sometimes
Fixed by only converting length format if it is not already in the correct format
2013-08-12 16:01:55 -04:00
denise 694e3101a8 Merge branch '2.4.x' into 2.4.x-saas 2013-07-22 11:02:35 -04:00
denise de76b3a12f CC-5278: Exception in Pypo 2013-07-17 15:29:21 -04:00
denise 18bb477845 Merge branch '2.4.x' into 2.4.x-saas 2013-07-10 11:32:51 -04:00
denise f9a1cae72e CC-5260: Liquidsoap: Fail to play mono file
Fixed thanks to Bill Burton
2013-07-10 10:35:24 -04:00
Naomi Aro f2d5fa96da Merge branch '2.4.x' into 2.4.x-saas
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
	utils/phone_home_stat.php
2013-06-26 01:25:26 -04:00
Martin Konecny c11021af0f remove commented code 2013-06-14 16:36:47 -04:00
Martin Konecny caa3b420c4 Liquidsoap restart shouldn't timeout 2013-06-13 14:59:23 -04:00
Martin Konecny b929cc0ce5 CC-5232: During playback, a reinstall may push some tracks twice 2013-06-13 14:06:07 -04:00
Martin Konecny bc1c8129a9 CC-5232 - During playback, a reinstall may push some tracks twice 2013-06-13 12:08:25 -04:00
Martin Konecny c365373aab remove useless code and imports 2013-06-12 17:36:24 -04:00
Martin Konecny fb80530069 CC-5229: map_metadata in Liquidsoap is applied twice
fixed
2013-06-12 16:04:57 -04:00
Martin Konecny 6961ba0a00 use he-aac v2 for fdk-aac 2013-06-12 15:31:36 -04:00
Martin Konecny 949ae9667b CC-5226: Metadata isn't correct during playing
-fixed using "insert_metadata" and callbacks instead.
2013-06-12 14:04:52 -04:00
Martin Konecny 4e71345a61 CC-5226: Metadata isn't correct during playing
-fix incorrect metadata formatting
2013-06-12 12:49:28 -04:00
Martin Konecny 0e560d89ad CC-5226:
Metadata isn't correct during playing

-should be fixed
2013-06-12 12:43:27 -04:00
Martin Konecny 21c84dcaad CC-5227 - Sometimes Liquidsoap telnet is unresponsive which causes all Pypo threads to block
-restart Liquidsoap if communication fails..
2013-06-11 17:26:48 -04:00
Martin Konecny f164cf0ad4 CC-5227 - Sometimes Liquidsoap telnet is unresponsive which causes all Pypo threads to block
-initial commit
2013-06-11 15:55:17 -04:00
Martin Konecny 622a7e6ff3 CC-5212
Lucid: Installation is blocked because monit "restart" fails

fixed
2013-06-06 17:13:30 -04:00
Martin Konecny f7a6fec5eb CC-5195: Media Folder: Update media folder will block media uploader
-fixed
2013-06-06 12:54:48 -04:00
Martin Konecny f61eeaf18c CC-5195:
Media Folder: Update media folder will block media uploader

-fixed
2013-06-06 12:44:20 -04:00
Martin Konecny c7d0b6df92 CC-5204
Pypo: Updating stream settings will cause redundant pypopush

-fixed
2013-06-04 15:36:25 -04:00
Martin Konecny 905dd08ed5 Use proper unit conventions for Kilo 2013-05-31 15:59:20 -04:00
Martin Konecny 82a71fdb61 CC-5199
aacencplus encoder is very low quality
2013-05-31 15:59:04 -04:00
Martin Konecny bc22a8a871 Merge branch '2.4.x' of dev.sourcefabric.org:airtime into 2.4.x 2013-05-30 14:02:13 -04:00
Martin Konecny 6fddabdd7c CC-5192
Pypo: Live Streaming in first show will block the next show's first track

-fixed. Was caused by clashing keys
2013-05-30 14:02:05 -04:00
Martin Konecny 1e9829e85c CC-5182
Liquidsoap: Sometime the tracks in schedule cannot be played
2013-05-28 18:06:23 -04:00
Martin Konecny 73a908055a Revert "CC-5123 Pypo: Redundant Pypopush happens after restart pypo service"
This reverts commit 4c3d2b20db.
2013-05-28 16:38:15 -04:00
Martin Konecny 176dd91e20 use proper parameters for earlier versions of 'timeout' command
-hide warning if older version of timeout doesn't support --version
2013-05-28 16:29:07 -04:00
Martin Konecny 3247c7288d use proper parameters for earlier versions of 'timeout' command
-small typo
2013-05-28 16:21:45 -04:00
Martin Konecny a4ca2deb0f use proper parameters for earlier versions of 'timeout' command
-lucid has timeout with incompatible parameters compared to newer
versions of ubuntu.
2013-05-28 16:18:29 -04:00
Martin Konecny 4c3d2b20db CC-5123 Pypo: Redundant Pypopush happens after restart pypo service
-if does not exist does not work on pre 5.2 monit version
2013-05-28 15:54:31 -04:00
Martin Konecny 66bb1f6d93 CC-5123 Pypo: Redundant Pypopush happens after restart pypo service
-added timeout so that monit doesn't try to start Liquidsoap while
it is already being restarted.
2013-05-28 15:48:15 -04:00
Martin Konecny 82c0fe1088 CC-5123
Pypo: Redundant Pypopush happens after restart pypo service

-added timeout so that monit doesn't try to start Liquidsoap while
it is already being restarted.
2013-05-28 15:24:26 -04:00
Martin Konecny 1130cf961c CC-5049: Error messages on Liquidsoap start up/shut down after Airtime install
-fixed
2013-05-27 13:41:36 -04:00
Martin Konecny ca37ec3aff CC-5049:
Error messages on Liquidsoap start up/shut down after Airtime install

Suppress global warning messages. Clients should decide whether to print
or not.
2013-05-23 17:17:00 -04:00
Martin Konecny 2a897414a4 make operators more local to each queue source
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
2013-05-23 13:02:50 -04:00
Martin Konecny 5c11f5fc72 Merge branch '2.4.x' of dev.sourcefabric.org:airtime into 2.4.x
Conflicts:
	python_apps/pypo/liquidsoap_scripts/ls_script.liq
2013-05-22 18:08:14 -04:00
Martin Konecny 4e1dc6a86e make operators more local to each queue source 2013-05-22 18:07:12 -04:00
Martin Konecny 45e5d339a1 make more operators local to each source 2013-05-22 18:03:56 -04:00
Martin Konecny dc19d3f0b0 Merge branch '2.4.x' into 2.4.x-saas 2013-05-22 17:39:33 -04:00
Martin Konecny 36567c85cd create on_metadata callback for each source instead of once on unified source 2013-05-22 17:39:18 -04:00
Martin Konecny ab89b80b85 remove unnecessary install code for saas 2013-05-21 17:36:57 -04:00
Martin Konecny ab5639ef79 remove unnecessary install code for saas 2013-05-21 17:27:34 -04:00
Martin Konecny 3b9b23a7dd Merge branch '2.3.x-saas' into 2.4.x-saas
Conflicts:
	airtime_mvc/application/controllers/ScheduleController.php
	airtime_mvc/application/forms/AddShowWhen.php
	airtime_mvc/application/models/Schedule.php
	python_apps/pypo/airtime-playout
2013-05-21 16:40:10 -04:00
Martin Konecny 8e617b33de add ability to use id's with mksafe operator 2013-05-21 16:31:32 -04:00
Martin Konecny 76a02796b7 implement method stub 2013-05-17 12:16:04 -04:00
Martin Konecny d205b0dbd3 remove string literal 2013-05-17 12:14:33 -04:00
Martin Konecny 59785a952f make up for lack of 'total_seconds()' lib function for pre 2.7 version of python 2013-05-16 12:25:21 -04:00
Martin Konecny d2f29b1f88 more informative message to user about new init.d script behaviour 2013-05-16 12:08:32 -04:00
Martin Konecny 1ab27e3cf8 be more idiomatic 2013-05-15 17:18:42 -04:00
Martin Konecny 95bb5b2f36 CC-5153:
Cancel show won't cut off current song after airtime-playout is restarted

-fixed
2013-05-15 17:18:15 -04:00
Martin Konecny 8545803dbf CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00
-slightly better way of not writing cue-in/cue-out
2013-05-15 13:19:29 -04:00
Martin Konecny 4a82fe2e52 Revert "CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00"
This reverts commit 9ad42b2b2c.
2013-05-15 13:13:37 -04:00
Martin Konecny ba3703b556 Revert "CC-5126:"
This reverts commit a2b500729c.
2013-05-15 13:10:56 -04:00
Martin Konecny 80686b7063 add parameter parsing to airtime-liquidsoap script.
-Allow us to prevent running as daemon
2013-05-15 13:06:16 -04:00
Martin Konecny 9ad42b2b2c CC-5126: Media Monitor: Exception happens when cuein value is 00:00:00
-also removed functions that query for cue-in/cue-out,
since we don't care about these.
2013-05-14 22:26:48 -04:00
Martin Konecny a2b500729c CC-5126:
Media Monitor: Exception happens when cuein value is 00:00:00

-fixed this be ensuring we're not writing cue-in/out values to the file.
This should never have been allowed.
2013-05-14 22:16:30 -04:00
Martin Konecny c693c4b015 remoe id's for mksafe (they aren't supported params) 2013-05-14 15:14:57 -04:00
Martin Konecny a59fc69d17 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-14 15:10:13 -04:00
Martin Konecny b3f0a2fcdd CC-5144:
SHOUTcast listener stats auth not working
2013-05-14 15:10:04 -04:00
Martin Konecny 298e5a9b77 better idenfication of which mksafe is being applied 2013-05-13 17:52:43 -04:00
Martin Konecny f5a0d0a9a4 CC-5123:
Pypo: Redundant Pypopush happens after restart pypo service

-was clearing the queue after fetching the schedule :S
2013-05-13 17:52:22 -04:00
Martin Konecny be465be9b2 CC-5133: Make sure Liquidsoap 1.1.1 is used
add missing file
2013-05-13 16:10:21 -04:00
Martin Konecny 85afe53c89 CC-5133: Make sure Liquidsoap 1.1.1 is used
fixed
2013-05-13 15:45:56 -04:00
Martin Konecny 28576adf42 disable liquidsoap's add operator normalizing audio 2013-05-10 23:19:54 -04:00
Martin Konecny d06b2f3f94 CC-5116:
Please add opus into the file name filter

-fixed
2013-05-08 17:06:50 -04:00
Martin Konecny 4dba722272 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-08 16:53:42 -04:00
Martin Konecny 56b9d0580f CC-5071:
Better RabbitMQ passwords

-fixed
2013-05-08 15:25:30 -04:00
Martin Konecny f0e846db75 CC-5049: Error messages on Liquidsoap start up/shut down after Airtime install
fixed
2013-05-08 13:47:24 -04:00
Martin Konecny 3ae3c7e802 sanity check to warn if cue_out - cue_in != end - start 2013-05-07 15:05:14 -04:00
Martin Konecny 81b2012a45 remove some overly-verbose logging 2013-05-07 13:25:21 -04:00
Martin Konecny 1895686c85 CC-5098: Liquidsoap: Restart liquidsoap will make the output stream silence until next song starts
-fixed
2013-05-06 16:39:17 -04:00
Martin Konecny 2fc4afef68 ensure a proper environment everytime we restart liquidsoap 2013-05-06 12:11:19 -04:00
Martin Konecny 2eaf81d366 ensure a proper environment everytime we restart liquidsoap 2013-05-06 12:08:57 -04:00
Martin Konecny 3a1048bdec ensure pypo registers with server before doing Liquidsoap check 2013-05-06 11:42:39 -04:00
Martin Konecny ec7eb5f264 CC-5094 Liquidsoap crash if unsupported encoder in the liq script
-keep up with liquidsoap changes
2013-05-04 14:11:21 -04:00
Martin Konecny fdcfc4d06c CC-5094
Liquidsoap crash if unsupported encoder in the liq script
2013-05-04 10:57:22 -04:00
Martin Konecny 6c42064c14 refactor methods into appropriate locations 2013-05-02 18:46:16 -04:00
Martin Konecny 84efb4a9b7 work around to work with annoying static methods - should remove these later.. 2013-05-02 17:59:03 -04:00
Martin Konecny 1e25d786ee Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-02 17:31:42 -04:00
Martin Konecny f2564cf732 temporarily disable opus + aac until liquidsoap binaries are ready 2013-05-02 16:09:04 -04:00
Martin Konecny 88ba36601f Merge branch 'master' of dev.sourcefabric.org:airtime 2013-05-01 00:37:26 -04:00
Martin Konecny 623a67d6aa CC-5072:
Ensure all api requests are returning valid JSON

-fixed
2013-04-26 18:27:40 -04:00
Martin Konecny 21b84c153a better logging for return values 2013-04-26 17:54:52 -04:00
Martin Konecny 21bed91678 add brackets to force operator precedence 2013-04-26 15:56:48 -04:00
Martin Konecny 49d1755b52 fix incorrect merge 2013-04-26 13:58:44 -04:00
Martin Konecny 705329ee5d cleanup of unecessary code
-we shouldn't be loading config file multiple times.
2013-04-26 13:48:15 -04:00
Martin Konecny 6cc366b100 CC-5069:
Airtime 2.4 upgrade scripts

-initial commit
2013-04-26 13:43:40 -04:00
Martin Konecny 655c1eb5a9 CC-5043:
Invalid literal for float error from mutagen
2013-04-26 11:37:46 -04:00
Martin Konecny 628e075828 pypo syntax error 2013-04-26 11:35:52 -04:00
Martin Konecny 1158fc2c9e more legible comment 2013-04-25 22:38:06 -04:00
Martin Konecny ca86d6b68b fix potential out-of-bounds string index error 2013-04-25 22:36:21 -04:00
Martin Konecny 7bf6f3669b more stringent verification of equivalence between tracks 2013-04-25 22:33:03 -04:00
Martin Konecny 039d8a7c0f fix worst offenders of > 80 character row length 2013-04-25 22:32:27 -04:00
Martin Konecny 1a765e6cb9 Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts:
	python_apps/pypo/pypocli.py
	python_apps/pypo/pypofetch.py
	python_apps/pypo/pypopush.py
2013-04-25 22:20:03 -04:00
Martin Konecny fb4a02faec cleanup of unecessary code
-we shouldn't be loading config file multiple times.
2013-04-25 22:11:26 -04:00
Martin Konecny 5b2e8e221f Merge branch 'CC-4417-opus-support'
Conflicts:
	python_apps/pypo/airtime-liquidsoap
2013-04-25 18:23:37 -04:00
Martin Konecny ccd3293f3d CC-4417: Opus codec support 2013-04-25 18:23:02 -04:00
Martin Konecny 45ac5282b8 clean unused import 2013-04-24 15:16:50 -04:00
Martin Konecny 80bd57ce4e CC-5050: Tracks with a very high track count cannot be saved into database
-fixed
2013-04-22 17:54:25 -04:00
Martin Konecny 07f0ae6c28 CC-1469: Crossfading support (non-equal power)
-fix restarting airtime playout not resyncing to schedule correctly
2013-04-22 17:33:56 -04:00
Martin Konecny 96579b7ef4 CC-5057: Pypopush error: no attribute 'push_item'
-fixed
2013-04-22 16:48:52 -04:00
Martin Konecny 54a9f50055 CC-5004: Fix mistake in api_client.cfg
-fixed by simply removing all unnecessary stuff to python file
2013-04-18 18:02:54 -04:00
Martin Konecny 479e69de12 CC-5009:
Use Silan to silently update track length in the background

-done
2013-04-18 15:40:33 -04:00
Martin Konecny 10fb9c9165 Merge branch '2.3.x' into 2.3.x-saas 2013-04-08 18:56:12 -04:00
Martin Konecny 5cb950e43f Merge branch '2.3.x' 2013-04-08 18:55:54 -04:00
Martin Konecny 5b4bc038b0 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-04-08 18:53:49 -04:00
Martin Konecny aca651a1b4 better logging 2013-04-08 18:53:35 -04:00
Martin Konecny f13f6c6a70 Merge branch 'master' of dev.sourcefabric.org:airtime 2013-04-07 20:20:57 -04:00
Martin Konecny 0d45d7b8cd CC-5042:
Do process matching by process name instead of PID file

-fixed
2013-04-07 20:19:51 -04:00
Martin Konecny 67e3803189 Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 17:33:19 -04:00
Martin Konecny db5d2283f4 Merge branch '2.3.x'
Conflicts:
	python_apps/pypo/pypofetch.py
2013-04-05 17:33:02 -04:00
Martin Konecny 3d135a9f4a improved logging on why files sometimes aren't removed 2013-04-05 17:31:55 -04:00
Martin Konecny 18574fd10f Merge branch '2.3.x' 2013-04-05 15:57:54 -04:00
Martin Konecny 5b1383d48d Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 15:57:41 -04:00
Martin Konecny 5ff7ce857f use sigkill immediately for unresponsive telnet
-fix order of arguments
2013-04-05 15:57:16 -04:00
Martin Konecny 92d0a6178e Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 15:34:04 -04:00
Martin Konecny 4595aab694 Merge branch '2.3.x' 2013-04-05 15:33:48 -04:00
Martin Konecny d1f655d79d CC-5038: Silan error: list index out of range
-fixed
2013-04-05 15:32:44 -04:00
Martin Konecny afb55c7b51 CC-5038:
Silan error: list index out of range

cosmetic bug fix to prevent so much logging
2013-04-05 14:20:34 -04:00
Martin Konecny 1a389a3765 Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 13:57:46 -04:00
Martin Konecny 08c93e10fd Merge branch '2.3.x' 2013-04-05 13:57:32 -04:00
Martin Konecny cdb53048c7 ensure that an empty listener stats dict is not sent to the server 2013-04-05 13:56:41 -04:00
Martin Konecny 1a8ab6cd89 Merge branch '2.3.x' 2013-04-05 12:43:01 -04:00
Martin Konecny 7727b72e68 Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 12:42:34 -04:00
Martin Konecny 266823b1d9 use sigkill immediately for unresponsive telnet 2013-04-05 12:42:05 -04:00
Martin Konecny 2b019c4615 Merge branch '2.3.x' 2013-04-05 11:28:47 -04:00
Martin Konecny a0bfbce61b Merge branch '2.3.x' into 2.3.x-saas 2013-04-05 11:28:07 -04:00
Martin Konecny f8dbbe71ab increase monit timeout after liquidsoap starts to 30 seconds. 2013-04-05 11:27:45 -04:00
Martin Konecny b988cda2d1 monit alerts in saas 2013-04-04 16:30:39 -04:00
Martin Konecny fcbac2a044 Merge branch '2.3.x' into devel 2013-04-04 15:15:19 -04:00
Martin Konecny a061464ffb Merge branch '2.3.x' into 2.3.x-saas 2013-04-04 15:14:04 -04:00
Martin Konecny 301115c035 CC-5039: Encoded forward slash causing lots of apache error logs
-fixed: data should have been sent as POST rather than GET
2013-04-04 15:12:52 -04:00
Martin Konecny 61f8e64329 Merge branch '2.3.x' into devel 2013-04-03 17:59:04 -04:00
Martin Konecny 6c0b0f7732 Merge branch '2.3.x' into 2.3.x-saas 2013-04-03 17:58:51 -04:00
Martin Konecny 3c68a295b4 CC-5039:
Encoded forward slash causing lots of apache error logs

-fixed: data should have been sent as POST rather than GET
2013-04-03 17:57:29 -04:00
Martin Konecny 5dd54783c0 Merge branch '2.3.x' into 2.3.x-saas 2013-04-03 16:48:37 -04:00
Martin Konecny e2e6a4263c Merge branch '2.3.x' into devel 2013-04-03 16:48:19 -04:00
Martin Konecny ec7c898f5a fix some problems with invalid Liquidsoap PID file 2013-04-03 16:47:46 -04:00
Martin Konecny bfb252edf5 CC-4417: Opus codec support 2013-04-03 11:40:57 -04:00
Martin Konecny 2d2aa8eb46 Merge branch '2.3.x' into 2.3.x-saas 2013-04-02 12:31:03 -04:00
Martin Konecny 0bb7fa4975 don't change monit monitor state on service start/stop 2013-04-02 12:30:15 -04:00
Martin Konecny 811abc4baf don't change monit monitor state on service start/stop 2013-04-01 19:31:13 -04:00
Martin Konecny 01cca88c58 Merge branch '2.3.x' into 2.3.x-saas 2013-03-26 15:02:43 -04:00
Martin Konecny 894887bd62 Merge branch '2.3.x' into devel 2013-03-26 15:02:17 -04:00
Martin Konecny caa2413fd8 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-03-26 15:02:08 -04:00
Martin Konecny 7237d48ef6 fix missing import 2013-03-26 15:01:53 -04:00
Martin Konecny d79bfaaef9 -fix infinite loop on invalid files 2013-03-26 15:01:44 -04:00
Martin Konecny 5ab52b12c7 CC-4417:
Opus codec support
2013-03-26 15:00:41 -04:00
Martin Konecny 38f8a0d231 more robust handling if system permissions go wrong 2013-03-24 22:58:13 -04:00
Martin Konecny 89983bd4f8 remove unnecessary file delete 2013-03-24 22:25:38 -04:00
Martin Konecny a5c8b7624e CC-1469: Crossfading support (non-equal power)
-handle file attributes changing (end time, replaygain etc.)
2013-03-22 15:56:05 -04:00
Martin Konecny 7a6940c96c Merge branch 'cc-1469-crossfade' into devel
Conflicts:
	python_apps/pypo/pypopush.py
2013-03-22 15:24:14 -04:00
Martin Konecny 8a5c82d71a CC-1469: Crossfading support (non-equal power)
-fix few bugs
2013-03-22 15:21:28 -04:00
Martin Konecny 2fc1612460 Merge branch '2.3.x' into devel 2013-03-22 14:24:37 -04:00
Martin Konecny 00475275e5 Merge branch '2.3.x' into 2.3.x-saas 2013-03-22 14:24:12 -04:00
Martin Konecny fc6742869f better frozen liquidsoap handling 2013-03-22 14:23:42 -04:00
Martin Konecny 6d1025507a Merge branch '2.3.x' into devel 2013-03-22 14:05:08 -04:00
Martin Konecny 19753429dc add wait timer before liquidsoap is shutdown 2013-03-22 14:04:50 -04:00
Martin Konecny 33ca2e7c9c CC-1469: Crossfading support (non-equal power)
-refactor
2013-03-22 12:16:17 -04:00
Martin Konecny 708d36ba9c syntax error 2013-03-19 15:22:27 -04:00
Martin Konecny 6dae7d3973 CC-1469: Crossfading support (non-equal power)
-cleanup
2013-03-15 17:00:36 -04:00
Martin Konecny 445573dcdb CC-1469: Crossfading support (non-equal power)
-webstreams scheduled in the future are now working...
2013-03-15 15:07:55 -04:00
Martin Konecny dd7fc61e23 CC-1469: Crossfading support (non-equal power)
-further implementation..
2013-03-15 12:50:23 -04:00
Martin Konecny 2b7ebafa94 CC-1469: Crossfading support (non-equal power)
-further implementation..
2013-03-14 18:29:52 -04:00
Martin Konecny 91d1243554 CC-1469:
Crossfading support (non-equal power)

-initial commit
2013-03-14 16:50:55 -04:00
Martin Konecny 13b3eec0ad Merge branch '2.3.x' into 2.3.x-saas 2013-03-12 16:38:16 -04:00
Martin Konecny 661a407f72 CC-5016: Allow user control for webstream metadata format
-fixed
2013-03-08 16:45:19 -05:00
Martin Konecny fe96b66fd7 CC-5016:
Allow user control for webstream metadata format

-fixed
2013-03-08 16:00:16 -05:00
Martin Konecny 0075b27947 CC-5015: Allow for cue_out points to be Null in DB
-prep for 2.4
2013-03-08 14:57:20 -05:00
Martin Konecny 635dfd356d Merge branch '2.3.x' into devel 2013-03-08 12:39:47 -05:00
Martin Konecny 30970598fe minor fixes
-don't show print subprocess commands to py-interpreter.log
2013-03-08 12:39:29 -05:00
Martin Konecny 3969e38d51 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-03-07 18:34:10 -05:00
Martin Konecny c2fb811100 CC-5012:
remove all shell=True commands for subprocess calls

-fixed
2013-03-07 18:33:55 -05:00
Martin Konecny fc261035a8 CC-4999: Do silan analysis quietly in the background
-set silan nice level to 19
2013-03-06 19:48:35 -05:00
Martin Konecny 3497a3730c Merge branch '2.3.x' into devel 2013-03-06 18:24:48 -05:00
Martin Konecny 0321464ab8 CC-4999:
Do silan analysis quietly in the background

-fixed
2013-03-06 18:24:19 -05:00
Martin Konecny 43ffa2aece Merge branch '2.3.x' into 2.3.x-saas
Conflicts:
	airtime_mvc/application/controllers/SystemstatusController.php
2013-03-06 13:47:21 -05:00
Martin Konecny 5ceeb88899 Merge branch '2.3.x' into devel 2013-03-06 13:46:01 -05:00
Martin Konecny 7ca178295f CC-4993: airtime-check-system reports airtime-liquidsoap as down
-fixed
2013-03-06 13:43:22 -05:00
Martin Konecny 8e314477c7 CC-5005: airtime-purge doesn't remove all files
-cleanup
2013-03-06 12:26:07 -05:00
Martin Konecny e669b7a91a refactor some liquidsoap code + remove unused --data argument 2013-03-05 17:31:09 -05:00
Martin Konecny 7039493ea1 2.3.1 preparation 2013-03-05 17:00:52 -05:00
Martin Konecny 1c80701488 Merge branch '2.3.x' into 2.3.x-saas 2013-03-05 16:21:47 -05:00
Martin Konecny cc69418215 Merge branch '2.3.x' into devel 2013-03-05 16:21:22 -05:00
Martin Konecny 215e5ccb4c CC-5001: remove /etc/monit/conf.d/monit-airtime-rabbitmq-server.cfg on 2.3.1 upgrade
-don't even install rabbitmq monit file
2013-03-05 16:21:05 -05:00
Martin Konecny c747b6ad47 CC-4978: Media Monitor: importing file slowly
-disable silan on file import
-silan will need to be done manually for now using airtime-silan
2013-03-04 16:00:14 -05:00
Martin Konecny b744ab74ee Merge branch '2.3.x' into 2.3.x-saas 2013-03-01 18:22:12 -05:00
Martin Konecny 05b988fc6a CC-4758: File removed before Liquidsoap finishes reading it?
-fixed
2013-03-01 16:15:28 -05:00
Martin Konecny 259f70bc21 CC-4915: Media-Monitor cannot handle rabbitmq restart event
-fixed
2013-03-01 16:05:55 -05:00
Martin Konecny 764ee0389f CC-4916: Pypo cannot handle Schedule updates after rabbitmq restart happens
-fixed
2013-03-01 15:52:41 -05:00
Martin Konecny 2f33e99ff5 CC-4915: Media-Monitor cannot handle rabbitmq restart event
-fixed
2013-03-01 15:52:19 -05:00
Martin Konecny d4891803cc CC-4989: upgrade to mutagen 1.21
-done
2013-03-01 14:58:26 -05:00
Martin Konecny 0f7063e8a6 another refactor of the switches in LS 2013-03-01 12:48:32 -05:00
Martin Konecny 7e19eba7e1 another refactor of LS source 2013-03-01 11:44:11 -05:00
Martin Konecny 6624911d2c minor refactor of LS code 2013-02-28 18:54:23 -05:00
Martin Konecny ae503121d8 CC-4984: Exception for replaygain
-fixed
2013-02-28 18:26:15 -05:00
Martin Konecny 5ae4ed67a5 CC-4986: Installation fail because of monit-airtime-liquidsoap.cfg
-fixed
2013-02-28 16:33:59 -05:00
Martin Konecny 66fbfa1554 CC-4986: Installation fail because of monit-airtime-liquidsoap.cfg
-fixed
2013-02-28 16:27:52 -05:00
Martin Konecny b3ecb477be minor refactor of LS code 2013-02-27 17:48:10 -05:00
Martin Konecny fbaba59dca CC-4974: Watchdog for ensuring Liquidsoap does not consume more than 1GB of memory
-changed to 600MB for now. May lower even more later
2013-02-26 14:47:48 -05:00
Martin Konecny 15f2533225 less verbose logging 2013-02-26 13:34:05 -05:00
Martin Konecny 0c88949eb2 potential future optimization by using -b silan option
-in the future this -b should be quicker for silan
2013-02-26 13:33:56 -05:00
Martin Konecny 1e1d291124 CC-4888: Add unofficial support for AAC plugin
-fixed
2013-02-26 12:06:22 -05:00
Martin Konecny e08732fba7 CC-4975: airtime-silan cmd error
-fixed
2013-02-25 19:45:26 -05:00
Martin Konecny e35416b1e8 undo - make sure path names are quoted when passing to lsof 2013-02-25 17:43:02 -05:00
Martin Konecny deb50ea769 make sure path names are quoted when passing to lsof 2013-02-25 16:44:28 -05:00
Martin Konecny b06fd8b3d3 Merge branch '2.3.x' into devel 2013-02-22 12:09:02 -05:00
Martin Konecny 8573a005c9 Merge branch '2.3.x' into 2.3.x-saas 2013-02-22 12:08:40 -05:00
Martin Konecny 57183b8ac8 prevent creation of Zombie processes when running lsof 2013-02-22 12:03:39 -05:00
Martin Konecny 168a364da5 Merge branch '2.3.x' into devel 2013-02-20 14:42:35 -05:00
Martin Konecny 8bec9dea55 Merge branch '2.3.x' into 2.3.x-saas 2013-02-20 14:41:55 -05:00
Martin Konecny 8f53871ddc CC-4970: Process return codes aren't "reaped" after exiting - Zombie processes are created.
-fixed
2013-02-20 14:40:16 -05:00
Naomi e3f4e91bef Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2013-02-15 17:06:42 -05:00
Naomi f2773fcb01 Merge branch '2.3.x' of dev.sourcefabric.org:airtime into 2.3.x 2013-02-15 16:32:43 -05:00
Naomi fe611e7c6a CC-4957 : Replay Gain undefined error, json response not being sent back properly. 2013-02-15 16:32:05 -05:00
denise 9715a9ad6d CC-4883: Python services contacting Apache with strange URL format
-fixed
2013-02-15 12:55:57 -05:00
Martin Konecny c398ce930b Merge branch '2.3.x' into 2.3.x-saas
Conflicts:
	airtime_mvc/application/controllers/PreferenceController.php
2013-02-04 16:22:35 -05:00
Martin Konecny 331386f74f CC-4910: Need to properly handle non-200 http status codes in api client
-fixed
2013-02-04 16:05:58 -05:00
Martin Konecny 34eee60bee CC-4910: Need to properly handle non-200 http status codes in api client
-wrap all service calls in exception
2013-02-03 00:40:41 -05:00
Martin Konecny 04a956217f Merge branch '2.3.x' into 2.3.x-saas 2013-02-02 08:51:06 -05:00
Martin Konecny 1f4cfa8f65 fix pypo not auto restarting 2013-02-02 08:50:44 -05:00
Martin Konecny 27ccefbf0f Merge branch '2.3.x' into 2.3.x-saas 2013-02-01 01:41:16 -05:00
Martin Konecny 149b744ba7 remove using self in a static method 2013-02-01 01:40:48 -05:00
Martin Konecny f145ede01b CC-4905: Unit tests for Pypo
-whitespace removal
2013-01-31 17:45:57 -05:00
Martin Konecny 9053266a14 Merge branch '2.3.x' into 2.3.x-saas 2013-01-31 12:33:38 -05:00
Martin Konecny 8adb4b259c CC-4905: Unit tests for Pypo 2013-01-31 12:33:14 -05:00
Martin Konecny 0a198ae424 Merge branch '2.3.x' into 2.3.x-saas
Conflicts:
	airtime_mvc/application/models/User.php
2013-01-30 18:31:45 -05:00
Martin Konecny e459f739f2 indentation error fix 2013-01-30 11:29:28 -05:00
Martin Konecny 2a0cc9e45f fix indentation 2013-01-30 11:23:20 -05:00
Martin Konecny 9d4e0d2dd1 Merge branch 'martin' into 2.3.x 2013-01-29 12:17:36 -05:00
Martin Konecny 28c01760dd be more gentle to Liquidsoap when sending lots of commands 2013-01-29 12:17:05 -05:00
drigato db4e6bb94a CC-4889: API client URL request is not wrapping in try/catch
-fixed
2013-01-29 10:29:29 -05:00
Martin Konecny 9d8a9faca8 make code formatting easier on eyes 2013-01-28 17:00:35 -05:00
Martin Konecny d7358338f0 improved logging in pypo fetch 2013-01-28 17:00:16 -05:00
Martin Konecny b389e44001 take liquidsoap by the horns if it misbehaves. 2013-01-27 15:00:56 -05:00
Martin Konecny c93b90cc54 prepare for improvements to way pypo communicates with LS 2013-01-26 20:05:31 -05:00
Martin Konecny ea9e97d834 Merge branch '2.3.x' into 2.3.x-saas 2013-01-25 15:15:07 -05:00
Martin Konecny 807aa6b4a6 fix restart liquidsoap being sent as default no arguments for pypo-notify 2013-01-25 15:14:40 -05:00
Martin Konecny 22aafda2a8 Merge branch '2.3.x' into 2.3.x-saas 2013-01-25 14:17:23 -05:00
Martin Konecny 8dd7ffee8c locks should occur inside try/catch 2013-01-25 14:16:53 -05:00
Martin Konecny 7c327e4c75 Merge branch '2.3.x' into 2.3.x-saas 2013-01-25 12:12:21 -05:00
Martin Konecny 21a04803e5 Fix Pypo giving up too early on attempting to receive schedule 2013-01-25 12:11:50 -05:00
Martin Konecny d5894279c4 Merge branch '2.3.x' into 2.3.x-saas 2013-01-25 11:30:46 -05:00
Martin Konecny 7b3850fac6 false not being returned on connection error 2013-01-25 11:30:36 -05:00
Martin Konecny 6f5ffdc1e7 Merge branch '2.3.x' into 2.3.x-saas 2013-01-24 17:49:08 -05:00
Martin Konecny c6ee5bfe58 prepare baby mm for saas 2013-01-22 13:02:45 -05:00
Martin Konecny b637365f55 add some missing statements in the sql upgrade script 2013-01-18 15:58:00 -05:00
Martin Konecny f8208a355c Merge branch 'devel' into 2.3.x-saas 2013-01-18 12:22:45 -05:00
James ed7b22118c Merge branch 'silan-script' into devel 2013-01-18 11:54:10 -05:00
James f70ca93b53 CC-4841: Silan script
done
2013-01-18 11:53:26 -05:00
Martin Konecny 74877b289e CC-4843: Make listener stats work with SaaS in 2.3.x-saas branch
-fixed
2013-01-16 14:05:45 -05:00
Martin Konecny e98d6e92bb Merge branch 'devel' into 2.3.x-saas 2013-01-15 15:38:27 -05:00
denise bbedce2951 Changed default base directory in airtime.conf and api_client.cfg 2013-01-15 13:47:35 -05:00
Martin Konecny 8cd6bd9aa4 Merge branch 'devel' into 2.3.x-saas
Conflicts:
	airtime_mvc/application/controllers/PreferenceController.php
	airtime_mvc/application/forms/AddShowWhen.php
	airtime_mvc/application/forms/GeneralPreferences.php
	airtime_mvc/application/forms/LiveStreamingPreferences.php
	airtime_mvc/application/forms/SoundcloudPreferences.php
	airtime_mvc/application/forms/SupportSettings.php
	airtime_mvc/application/views/scripts/form/preferences.phtml
	airtime_mvc/application/views/scripts/form/preferences_email_server.phtml
	airtime_mvc/application/views/scripts/form/preferences_general.phtml
	airtime_mvc/application/views/scripts/form/preferences_livestream.phtml
	airtime_mvc/application/views/scripts/form/support-setting.phtml
	airtime_mvc/application/views/scripts/schedule/add-
show-form.phtml
	airtime_mvc/public/js/airtime/preferences/preferences.js
	python_apps/api_clients/api_client.py
	python_apps/pypo/listenerstat.py
2013-01-15 13:44:44 -05:00
Martin Konecny c266bf189f upgrade version number to 2.3.0 2013-01-15 12:31:41 -05:00
Martin Konecny 1d6ff24242 SAAS-298: Issues with http://iqkidsradio.airtime.pro/Schedule
potential fix
2013-01-10 10:29:57 -05:00
James 6e7f45e615 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2013-01-08 17:32:39 -05:00
James 1263c04621 CC-4796: Listener Stat: Authentication exception happens but no warning message on UI
- done
2013-01-08 17:32:27 -05:00
Martin Konecny 8b8e12a234 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2013-01-08 17:23:28 -05:00
Martin Konecny e79066de55 CC-4760: Airtime fails to play out 2nd webstream upon switching from one webstream to another
-fix attempt
2013-01-08 17:23:21 -05:00
James adda497bbb CC-4812: Property "off_air_meta" will block airtime-liquidsoap to start
- fixed
2013-01-08 15:52:11 -05:00
James b580a7be73 CC-4812: Property "off_air_meta" will block airtime-liquidsoap to start
- fixed
2013-01-08 12:31:14 -05:00
James 6e241fd3ec CC-4512: Allow changing stream "Offline" message via Web UI
- fixed
2013-01-07 18:14:57 -05:00
Martin Konecny 225a5d8f48 CC-4733: Stream statistics for Shoutcast users
-initial implementation
2013-01-04 18:32:20 -05:00
James 5d76bb2d17 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2013-01-03 18:00:33 -05:00
James ae7b6fe092 CC-4732: Ask for admin username + password in Stream Settings page
- done
2013-01-03 17:58:50 -05:00
Martin Konecny 5df867d142 remove whitespace 2013-01-03 15:05:31 -05:00
James a05259bd8f CC-4771: System -> Streams: It will restart liquidsoap every time when I click "Save" button without changing anything
- fixed
2013-01-03 14:42:12 -05:00
James f5b6d85406 CC-3018: Automatically strip out silence from audio tracks
- adding logging
2013-01-03 14:30:19 -05:00
James a1837366be Merge branch 'cc-3018-silence-detection' into devel 2013-01-03 14:08:21 -05:00
James f936f510c5 CC-3018: Automatically strip out silence from audio tracks
- adding try/catch
2013-01-03 14:07:34 -05:00
James b8f80866cf CC-3018: Automatically strip out silence from audio tracks
- done
2013-01-03 14:02:06 -05:00
Martin Konecny f2322e4f76 -disable liquidsoap playability test 2013-01-03 11:48:00 -05:00
Martin Konecny 77da642996 -fix missing import 2013-01-02 17:49:06 -05:00
Martin Konecny 2589b133d9 CC-4343: Unflushed events loop in media monitor
-fixed
2013-01-02 16:58:24 -05:00
Martin Konecny b9d829a33c CC-4754: Replay gain modifier
-make pypo repush song if its replay_gain changed
2012-12-28 13:58:55 -05:00
Martin Konecny 0596d1c391 Merge branch 'cc-4759-add-aac-stream-in-support' into devel
Conflicts:
	python_apps/media-monitor2/media/monitor/pure.py
2012-12-27 17:29:25 -05:00
Martin Konecny fc09e8cd74 Merge branch '2.2.x' into 2.2.x-saas 2012-12-03 17:08:49 -05:00
Martin Konecny 735ad30483 CC-4726: Sometimes mm doesn't start after a fresh install
-fixed
2012-12-03 16:56:11 -05:00
Martin Konecny e3761bd8d6 -make sure lsof works for files with spaces 2012-12-03 16:33:24 -05:00
denise b2699fa914 merge from devel 2012-12-03 11:06:56 -05:00
Martin Konecny 4983721565 Merge branch '2.2.x' into 2.2.x-saas
Conflicts:
	airtime_mvc/application/forms/LiveStreamingPreferences.php
2012-11-28 16:10:33 -05:00
Martin Konecny 7249e36081 -2.2.1 upgrade scripts 2012-11-27 12:13:16 -05:00
martin 735640d40b Merge branch 'lsof_quote_fix' of https://github.com/rgrinberg/Airtime into devel 2012-11-23 16:18:23 -05:00
martin 50bdeeef26 CC-4702: Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule 2012-11-23 16:00:10 -05:00
James 8d3024d42e api_client fix 2012-11-22 15:59:37 -05:00
James da6013b523 CC-4717: Lintian warnings from devel branch
- fixed
2012-11-22 15:14:55 -05:00
Martin Konecny 612ac415d2 cc-4708: cue points not working
-fixed
2012-11-22 12:24:59 -05:00
Martin Konecny 3a1945a818 CC-4702Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule
-fixed
2012-11-22 11:40:44 -05:00
james 8cc162f7a9 CC-4716: Cannot hear fade in & fade out
- fixed
2012-11-21 17:34:07 -05:00
Rudi Grinberg 1f5a5fd294 typo 2012-11-21 17:24:31 -05:00
Rudi Grinberg 0e91188939 made a unique toucher file 2012-11-21 17:22:32 -05:00
Rudi Grinberg 8c97995c2f Added vulnerability where strings would not be escaped when pass to shell command 2012-11-21 12:55:57 -05:00
Martin Konecny 8aa11f7e8c Better error message for api client constructor 2012-11-21 12:26:37 -05:00
Rudi Grinberg ac6a5a11bf docstring fixes 2012-11-20 16:41:45 -05:00
Rudi Grinberg 383244f962 changed implementation of timer thread because using threading.Timer does not allow us to properly inject
the AirtimeInstance object.
2012-11-20 14:44:58 -05:00
Rudi Grinberg 95e757a52c removed file mediator because it seems to be useless and incompatible with saas 2012-11-20 14:44:24 -05:00
Rudi Grinberg 58d888a59f Small refactoring to let user be assignable from any class that inherits from HasUser 2012-11-20 14:43:48 -05:00
Rudi Grinberg 58662b42be fixed typo missing self 2012-11-20 12:11:31 -05:00
Martin Konecny fed39077c0 Merge branch '2.2.x' into devel 2012-11-20 11:21:29 -05:00
Rudi Grinberg c1959f936e added TODO + formatting 2012-11-19 20:16:06 -05:00
Rudi Grinberg fdf8c9fb4e refactored EventRegistry to play nice with saas. 2012-11-19 20:13:19 -05:00
Rudi Grinberg ebca3fa9f5 refactored file mediator to play nice with saas 2012-11-19 20:13:00 -05:00
Rudi Grinberg 8696571b02 refactor owner to be saas friendly 2012-11-19 19:57:33 -05:00
Rudi Grinberg a28c9d9e27 added untracked configs 2012-11-19 16:46:47 -05:00
Rudi Grinberg a995129df5 added general getsig routine to get the correct signals from anywhere in the code. 2012-11-19 16:07:40 -05:00
Rudi Grinberg 4acb7d92db removed hardcoded signals in the code. 2012-11-19 16:07:26 -05:00
Rudi Grinberg 6101e9dfe3 fixed bug where only part of the path was joined. 2012-11-19 16:06:36 -05:00
Rudi Grinberg e46da35d3b made root path a variable to remove duplication. 2012-11-19 16:06:19 -05:00
Rudi Grinberg cd7d292aa5 fixed faulty regex. 2012-11-19 16:05:52 -05:00
Rudi Grinberg 9d04204389 fixed bug where path was only relative. 2012-11-19 16:05:26 -05:00
Rudi Grinberg 8dd0d80f68 fixed typo that was causing bug 2012-11-19 16:04:43 -05:00
Rudi Grinberg dc8315fef9 added more detailed output when launching baby mm 2012-11-19 16:04:22 -05:00
Rudi Grinberg d595d1112f added routine to verify config exists in "baby" media monitor" 2012-11-19 16:03:58 -05:00
Rudi Grinberg 647832b0a0 added comments to document config options 2012-11-19 16:03:25 -05:00
Rudi Grinberg c784df7f6e Added comments describing config options 2012-11-19 11:35:37 -05:00
Rudi Grinberg 1cbe2fb1a1 typo 2012-11-16 12:59:17 -05:00
Rudi Grinberg 57b2762e5c cleaned up imports 2012-11-16 12:51:23 -05:00
Rudi Grinberg bc9f7c4c95 removed hardcoding of path received from MM for SaaS. 2012-11-16 12:51:07 -05:00
Rudi Grinberg cf6e1d66ee removed direct usage of api client to AirtimeDB which encapsulates that behaviour 2012-11-16 12:36:58 -05:00
Rudi Grinberg 11214d754d docstring formatting 2012-11-16 12:31:10 -05:00
Rudi Grinberg e22162cc87 added initialization message 2012-11-16 12:29:06 -05:00
Rudi Grinberg aeb449ea76 import formatting 2012-11-16 11:15:49 -05:00
Rudi Grinberg a50995cd9b formatting + clearer name. 2012-11-16 11:14:31 -05:00
Rudi Grinberg cc66ac4a83 typo 2012-11-16 11:14:18 -05:00
Rudi Grinberg 7527b366d0 removed instance specific logging 2012-11-16 00:10:40 -05:00
Rudi Grinberg 757a561975 added missing import 2012-11-16 00:10:24 -05:00
Rudi Grinberg 26ad6dae74 Added a convenience constructor for an AirtimeInstance 2012-11-16 00:09:56 -05:00
Rudi Grinberg e12e311537 Added some routines to baby mm. 2012-11-16 00:09:33 -05:00
Martin Konecny 62b3c39c5b CC-4702: Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule
-fixed
2012-11-15 17:35:06 -05:00
Martin Konecny 5f534b5ef6 CC-4702Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule 2012-11-15 17:29:25 -05:00
Martin Konecny 8c73731c41 CC-4633: Use David's new method of Liquidsoap webstream switching
-fixed
2012-11-15 16:43:22 -05:00
Rudi Grinberg 88231a19c3 added baby mm launcher 2012-11-15 15:08:49 -05:00
Rudi Grinberg 9c74b0ea2c removed bastard injection from AirtimeApiClient 2012-11-15 15:08:18 -05:00
Rudi Grinberg 350c6e2f94 moved logging logic to launcher 2012-11-15 15:02:26 -05:00
Rudi Grinberg 11a43eb891 Generalized a lot of launching logic into the saas launcher away from the hosted installation script: mm2.py. 2012-11-15 14:49:55 -05:00
Rudi Grinberg c43dbe42a8 refactored creating an instance into its own function 2012-11-15 14:27:09 -05:00
Rudi Grinberg 975508a549 added TODO 2012-11-15 14:24:17 -05:00
Rudi Grinberg 57b13607c5 removed crap hacks 2012-11-15 14:22:42 -05:00
Martin Konecny 2010778876 cleanup redundant code, remove whitespace 2012-11-15 13:33:27 -05:00
Rudi Grinberg 0b0e96f49c removed old runner code 2012-11-15 12:46:57 -05:00
Rudi Grinberg 8a7535774c fixed import typo 2012-11-15 12:13:52 -05:00
Rudi Grinberg 4ac3efe228 renamed typo log to logger. 2012-11-15 12:13:33 -05:00
Rudi Grinberg 5073ced732 Made timeout watcher provide AirtimeInstnace 2012-11-15 12:12:47 -05:00
Rudi Grinberg fa66f33ffa changed RequestSync to use injected apc and injected it in ThreadedRequestedSync. 2012-11-15 12:12:19 -05:00
Rudi Grinberg 15f4212360 make ManagerTimeout provide the correct AirtimeInstance object. 2012-11-15 12:11:48 -05:00
Rudi Grinberg ab35263869 inject apc properly into AirtimeNotifier 2012-11-15 12:11:18 -05:00
Rudi Grinberg 7ed1f08e07 Added new launch script for mm. 2012-11-15 12:10:52 -05:00
Rudi Grinberg ce4dbf0028 added launcher that should replace most of mm2.py 2012-11-14 22:06:09 -05:00
Rudi Grinberg dd139e5028 added default value for exception class parameter 2012-11-14 16:50:34 -05:00
Rudi Grinberg fcfa5cceee removed useless comment 2012-11-14 14:49:28 -05:00
Rudi Grinberg 2e59eca131 moved files to pypo dir 2012-11-14 14:43:33 -05:00
Rudi Grinberg d5cacf4011 moved replay gain to pypo for better saas performance 2012-11-14 14:43:10 -05:00
Rudi Grinberg f1effc37a9 removed dependency of mm from replaygain 2012-11-14 11:51:00 -05:00
Rudi Grinberg 93ff2ce9f6 removed extra import 2012-11-13 17:32:42 -05:00
Rudi Grinberg 6f42291f8a merge api client conflict 2012-11-13 17:21:48 -05:00
Martin Konecny dfede98b82 Merge branch '2.2.x-saas' of dev.sourcefabric.org:airtime into 2.2.x-saas
Conflicts:
	airtime_mvc/application/models/Schedule.php
2012-11-12 17:46:22 -05:00
Martin Konecny a0a9fc71f1 disable unlimited attempts for pushing stats data 2012-11-12 17:44:26 -05:00