summaryrefslogtreecommitdiffstats
path: root/artists.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-25 23:55:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-25 23:55:35 +0000
commit9803be045ba3895cc981d5e7e22fd80f80d6544d (patch)
tree089d4d6e6e8abaa91881bb8d0f19ee6cbde7348a /artists.php
parent993a0a7a65f60f0d91b707b342a9367bf8afbbd9 (diff)
downloadampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.tar.gz
ampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.tar.bz2
ampache-9803be045ba3895cc981d5e7e22fd80f80d6544d.zip
removed some more references to the genre stuff, added ability to customized what is considered a prefix on albums and artists (requires update of config file) added next and stop to the shoutcast localplay controller
Diffstat (limited to 'artists.php')
-rw-r--r--artists.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/artists.php b/artists.php
index 7f53ab90..a3bc3404 100644
--- a/artists.php
+++ b/artists.php
@@ -48,15 +48,10 @@ switch($_REQUEST['action']) {
break;
case 'update_from_tags':
- $artist = new Artist($_REQUEST['artist']);
-
- show_box_top(_('Starting Update from Tags'));
-
- Catalog::update_single_item('artist',$_REQUEST['artist']);
-
- echo "<br /><strong>" . _('Update From Tags Complete') . "</strong> &nbsp;&nbsp;";
- echo "<a href=\"" . Config::get('web_path') . "/artists.php?action=show&amp;artist=" . $_REQUEST['artist'] . "\">[" . _('Return') . "]</a>";
- show_box_bottom();
+ $type = 'artist';
+ $object_id = intval($_REQUEST['artist']);
+ $target_url = Config::get('web_path') . "/artists.php?action=show&amp;artist=" . $object_id;
+ require_once Config::get('prefix') . '/templates/show_update_items.inc.php';
break;
case 'rename_similar':
if (!$user->has_access('100')) { access_denied(); }