You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Joseph Chen (JIRA)" <ji...@apache.org> on 2007/11/03 03:25:50 UTC

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

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.


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

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668324#action_12668324 ] 

Hudson commented on NUTCH-571:
------------------------------

Integrated in Nutch-trunk #708 (See [http://hudson.zones.apache.org/hudson/job/Nutch-trunk/708/])
     - parse-mp3 plugin doesn't always index album of mp3. Patch
by Joseph Chen.


> 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.