bug-libextractor
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-libextractor] Handling MP3 files: duplicate types


From: Christian Grothoff
Subject: Re: [bug-libextractor] Handling MP3 files: duplicate types
Date: Fri, 15 Sep 2006 20:31:09 -0600
User-agent: KMail/1.9.4

Use the  "-d" option to kill duplicates.  Note that this will not kill two 
entries of the same type if they have different values, so you could still 
get something like

title - New Kid In Town
title - new kid in town

(only case-sensitive, exact matches, similar to what "|sort | uniq" would give 
you are filtered out with -d).

I hope this helps.

Christian

On Friday 15 September 2006 10:44, Debarshi 'Rishi' Ray wrote:
> While using 'extract' to read the meta information from MP3 files,
> which contain both the ID3v1 and ID3v2 tags, keywords belonging to
> duplicate types are returned.
>
> Here is an example:
> address@hidden tmp]$ extract tune.mp3
> format - 96 kbps, 44100 hz, 5m03 stereo
> resource-type - MPEG V1
> mimetype - audio/mpeg
> description - Eagles                        : New Kid In Town
>       (Hotel California              )
> comment -
> genre - Rock
> date - 1976
> album - Hotel California
> artist - Eagles
> title - New Kid In Town
> title - New Kid In Town
> artist - Eagles
> album - Hotel California
> genre - rock
> media type - DIG
> address@hidden tmp]$ extract -p title tune.mp3
> title - New Kid In Town
> title - New Kid In Town
> address@hidden tmp]$ extract -d title tune.mp3
> format - 96 kbps, 44100 hz, 5m03 stereo
> resource-type - MPEG V1
> mimetype - audio/mpeg
> description - Eagles                        : New Kid In Town
>       (Hotel California              )
> comment -
> genre - Rock
> date - 1976
> album - Hotel California
> artist - Eagles
> title - New Kid In Town
> title - New Kid In Town
> artist - Eagles
> album - Hotel California
> genre - rock
> media type - DIG
> address@hidden tmp]$
>
> Is not 'extract' supposed to suppress the duplicate types? I am using
> version 0.5.13.
>
> Happy hacking,
> Debarshi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]