You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2009/01/28 12:35:00 UTC

[jira] Closed: (NUTCH-571) parse-mp3 plugin doesn't always index album of mp3

     [ https://issues.apache.org/jira/browse/NUTCH-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney closed NUTCH-571.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

This seems simple enough. I committed it as of rev. 738455.

Thanks!



> 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
>             Fix For: 1.0.0
>
>
> 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.