parse-mp3 plugin doesn't always index album of mp3
--------------------------------------------------

                 Key: NUTCH-571
                 URL: https://issues.apache.org/jira/browse/NUTCH-571
             Project: Nutch
          Issue Type: Bug
          Components: indexer
    Affects Versions: 0.9.0
            Reporter: Joseph Chen


The parse-mp3 plugin does not always index the album of an mp3.  The reason for 
this bug is a simple typo in MetadataCollector.java:

  public String getTitle() {
    String text = "";
    if (title != null) {
      text = title;
    }
   if (album != null) {
      if (!text.equals("")) {
        text += " - " + album;
      } else {
        text = title;
      }
    }

...

Changing line 79 from "text = title" to "text = album" fixes the problem.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to