--- getid3.module	2008-06-26 10:27:28.586115177 +0200
+++ new.getid3.module	2008-06-26 10:27:11.869680444 +0200
@@ -38,7 +38,7 @@ function getid3_requirements($phase) {
 function getid3_load($display_warning = TRUE) {
   @(include_once(getid3_get_path() .'/getid3/getid3.php')) or _getid3_library_not_found($display_warning);
   $version = GETID3_VERSION;
-  return !empty($version);
+  return ($version != 'GETID3_VERSION');
 }
 
 /**
@@ -55,12 +55,14 @@ function _getid3_library_not_found($disp
  * Create and initialize an instance of getID3 class.
  */
 function &getid3_instance() {
-  getid3_load();
-  $id3 = new getID3();
-  $id3-> option_md5_data = true;
-  $id3-> option_md5_data_source = true;
-  $id3-> encoding = 'UTF-8';
-  return $id3;
+  $id3 = null;
+  if (getid3_load()) {
+    $id3 = new getID3();
+    $id3-> option_md5_data = true;
+    $id3-> option_md5_data_source = true;
+    $id3-> encoding = 'UTF-8';
+  }
+  return $id3;  
 }
 
 /**
