diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 60e5bd6fe..eb28ff650 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -210,6 +210,13 @@ class Application_Model_StoredFile if ($dbColumn == "track_title" && (is_null($mdValue) || $mdValue == "")) { continue; } + + // Bpm gets POSTed as a string type. With Propel 1.6 this value + // was casted to an integer type before saving it to the db. But + // Propel 1.7 does not do this + if ($dbColumn == "bpm") { + $mdValue = (int) $mdValue; + } # TODO : refactor string evals if (isset($this->_dbMD[$dbColumn])) { $propelColumn = $this->_dbMD[$dbColumn]; diff --git a/python_apps/airtime_analyzer/setup.py b/python_apps/airtime_analyzer/setup.py index 7b27df24f..61bbd55b2 100644 --- a/python_apps/airtime_analyzer/setup.py +++ b/python_apps/airtime_analyzer/setup.py @@ -30,6 +30,11 @@ setup(name='airtime_analyzer', 'python-daemon', 'requests', 'apache-libcloud', + # These next 3 are required for requests to support SSL with SNI. Learned this the hard way... + # What sucks is that GCC is required to pip install these. + #'ndg-httpsclient', + #'pyasn1', + #'pyopenssl' ], zip_safe=False, data_files=data_files)