diff options
author | Chris 'cslamar' Slamar <chris@slamar.org> | 2010-07-29 13:58:43 +0000 |
---|---|---|
committer | Chris 'cslamar' Slamar <chris@slamar.org> | 2010-07-29 13:58:43 +0000 |
commit | 720dd019a0fa5d529cf41e58dff27a9cc123c5f7 (patch) | |
tree | 07d5bbf654e3c04e840587b7d14c4621a3e9c570 /artists.php | |
parent | 06e9339109af745e7ddb30ea86d011ee1380aca4 (diff) | |
download | ampache-720dd019a0fa5d529cf41e58dff27a9cc123c5f7.tar.gz ampache-720dd019a0fa5d529cf41e58dff27a9cc123c5f7.tar.bz2 ampache-720dd019a0fa5d529cf41e58dff27a9cc123c5f7.zip |
Search for similar artists
Diffstat (limited to 'artists.php')
-rw-r--r-- | artists.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/artists.php b/artists.php index 1f915d94..ea9cb414 100644 --- a/artists.php +++ b/artists.php @@ -42,6 +42,15 @@ switch($_REQUEST['action']) { $object_ids = $artist->get_songs(); require_once Config::get('prefix') . '/templates/show_artist.inc.php'; break; + + case 'show_like': + $artist = new Artist($_REQUEST['artist']); + $artist->format(); + $object_type = 'artist'; + $object_ids = $artist->get_like(); + require_once Config::get('prefix') . '/templates/show_artist.inc.php'; + break; + case 'update_from_tags': $type = 'artist'; |