diff --git a/CREDITS b/CREDITS index 826799c99..b52ae289e 100644 --- a/CREDITS +++ b/CREDITS @@ -2,7 +2,7 @@ CREDITS ======= -Version 2.5.1 +Version 2.5.3 Albert Santoni (albert.santoni@sourcefabric.org) Role: Developer Team Lead diff --git a/VERSION b/VERSION index 5a1ef0b72..b7fd8620d 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ PRODUCT_ID=Airtime -PRODUCT_RELEASE=2.5.0 +PRODUCT_RELEASE=2.5.3 diff --git a/install_minimal/include/airtime-constants.php b/install_minimal/include/airtime-constants.php index 2a3bf95ee..fd6240bd2 100644 --- a/install_minimal/include/airtime-constants.php +++ b/install_minimal/include/airtime-constants.php @@ -1,3 +1,3 @@ filterByDbType('stor') + ->filterByDbExists(true) + ->findOne(); + $storPath = $musicDir->getDbDirectory(); + + $freeSpace = disk_free_space($storPath); + $totalSpace = disk_total_space($storPath); + + Application_Model_Preference::setDiskUsage($totalSpace - $freeSpace); + } +} diff --git a/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php b/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php index 042b92d05..31792eb7a 100644 --- a/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php +++ b/install_minimal/upgrades/airtime-2.5.3/airtime-upgrade.php @@ -1,8 +1,10 @@