Index: getid3/audio_getid3.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/getid3/audio_getid3.module,v
retrieving revision 1.7
diff -u -p -r1.7 audio_getid3.module
--- getid3/audio_getid3.module	30 Sep 2008 02:03:07 -0000	1.7
+++ getid3/audio_getid3.module	30 Sep 2008 18:42:09 -0000
@@ -7,12 +7,11 @@ include_once drupal_get_path('module', '
  * Implementation of hook_nodeapi().
  */
 function audio_getid3_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
-  switch ($op) {
-    case 'insert':
-    case 'update':
+  if ($node->type == 'audio') {
+    if ($op == 'insert' || $op == 'update') {
       // update the metadata in the file
       _audio_getid3_save_to_file($node);
-      break;
+    }
   }
 }
 
