1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 10:49:37 +02:00

* Added new functions to HttpQ controller

* Fixed Catalog cleaning issues and album art issues
* Fixed a minor javascript error with the localplay stuff
* Started work on write_playlists.php.inc (https://ampache.bountysource.com/task/show/542)
This commit is contained in:
Karl 'vollmerk' Vollmer 2007-01-14 03:00:05 +00:00
parent 29420520e9
commit c19f512180
6 changed files with 219 additions and 52 deletions

View file

@ -970,7 +970,10 @@ class Catalog {
/* Do a little stats mojo here */
$current_time = time();
/* Disabling for now need to re-work the logic on this
* but I don't want to do that right before a stable, does not
* search at all, this is less then perfect, but hey :(
if ($type != 'fast_add') {
if ($verbose) {
echo "\n<b>" . _('Starting Album Art Search') . ". . .</b><br />\n";
@ -979,6 +982,7 @@ class Catalog {
}
$this->get_album_art();
}
*/
/* Update the Catalog last_update */
$this->update_last_add();
@ -1167,10 +1171,11 @@ class Catalog {
// now delete invalid entries
$this->clean_albums();
$this->clean_stats();
$this->clean_artists();
$this->clean_genres();
$this->clean_flagged();
$this->clean_stats();
$this->clean_ext_info();
} // update_remote_catalog
@ -1552,8 +1557,10 @@ class Catalog {
/* After we have updated all the songs with the new information clear any empty albums/artists */
$this->clean_albums();
$this->clean_artists();
$this->clean_stats();
$this->clean_genres();
$this->clean_flagged();
$this->clean_stats();
$this->clean_ext_info();
// Update the last_update
$this->update_last_update();
@ -2139,10 +2146,11 @@ class Catalog {
// Run the Aritst/Album Cleaners...
$this->clean_albums();
$this->clean_artists();
$this->clean_stats();
$this->clean_playlists();
$this->clean_flagged();
$this->clean_genres();
$this->clean_stats();
$this->clean_ext_info();
} // delete_catalog