×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    23

    ID3tag parser needed

    On december 16th was published by Nokia a document concerning Music services.
    It describes also a way to extract tags from media files (title, album,...) using CMetadataUtility class that avoid the resource consuming use of player utility class.

    My question is: Where is this class?? In the FINAL version of 3rd Edition SDK there is no mention in the help and no header file contains CMetadataUtility.

    I hope that some Forum Nokia Expert look at this post....
    Did anyone working on 3rd Edition notice that some classes regarding metadata parsing of media files are missing?

    Is this forum sponsored by Nokia or not?
    I would appreciate a response from Nokia considering that they wrote a PUBLIC document on CMetadataUtility class.
    Last edited by fabrizioe; 2006-02-06 at 15:41.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Re: Missing MetadataUtility Class in 3rd edition

    Just waking up this thread

    Also interested in knowing if the CMetaDataUtility class is available in the S60 3rd edition SDK?

    Or is it included in a SDK update?

    Thanks for any info.

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    23

    Re: Missing MetadataUtility Class in 3rd edition

    As far as I know that class is still missing...
    I wonder why months ago Nokia has released through its forum a document describing a feature not available to third parties??

  4. #4
    Registered User
    Join Date
    Dec 2005
    Location
    Basel
    Posts
    3

    Re: Missing MetadataUtility Class in 3rd edition

    Hi,

    metadata can be accessed on all s60 devices starting from 2.0 via the MMdaAudioPlayerCallback interface implementing class. To retrieve metadata after the audio file has been successfully opened, do the following (note that in the below example i just go after the album metadata):



    // Get number of metadata
    TInt metaCount = 0;
    TInt error = iMdaAudioPlayerUtility->GetNumberOfMetaDataEntries( metaCount );
    LOGSTRING2( "number of meta data entries: %i, ERROR was %i", metaCount, error );
    CMMFMetaDataEntry* metaData = NULL;
    // handle errors
    if ( error!=KErrNone )
    {
    LOGSTRING1( "*** ERROR *** metadata count returned %i -> bail out early", error );
    return;
    }

    while ( (metaCount--) > 0 )
    {
    LOGSTRING1( "looking at metadata entry #%i", metaCount );
    // retrieve metadata
    TRAPD( trapErr, metaData = iMdaAudioPlayerUtility->GetMetaDataEntryL( metaCount ) );
    if ( !metaData || trapErr )
    {
    LOGSTRING1( "*** ERROR *** metadata retrieval failed, trapErr=%i", trapErr );
    }
    else if ( !metaData->Name().CompareF( KAlbumTag ) ) // "album"
    {
    LOGSTRING1( "album meta data found at #%i", metaCount );
    iAudioInfo.SetAlbumName( metaData->Value() );
    LOGSTRING1( "iAlbumName = %S", &iAudioInfo.AlbumName() );
    }
    else
    {
    // Pass.
    LOGSTRING1( "metadata entry #%i not used -> PASS", metaCount );
    }
    delete metaData;
    metaData = NULL;
    }

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Red face Re: Missing MetadataUtility Class in 3rd edition

    Unfortunately the Metadata Utility API was not included in the S60 3rd Edition SDK despite initial plans to do so. The document mentioned above will be updated to reflect the current reality.

    We are apologizing for creating this confusion.

    Best regards,

  6. #6
    Registered User
    Join Date
    Feb 2004
    Posts
    23

    Thumbs down Re: Missing MetadataUtility Class in 3rd edition

    I perfectly aware that Nokia Engineers can not spend full time answering questions on these forums BUT 10 months to have an official reply it seems a little too much.

    regards,
    fabrizioe

  7. #7
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    128

    Talking Re: Missing MetadataUtility Class in 3rd edition

    Is possible to use this CMetaDataUtility API although is not released on the SDK. Are their libraries available on the target? Any information?

  8. #8
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Missing MetadataUtility Class in 3rd edition

    This library is avaliable in the extension plugin SDK

    Please note the licence agreements in it.

    http://www.forum.nokia.com/info/sw.n...tml?cp=protraf

    I would recommend however following veskut's suggestion as this works in the emulator and on UIQ devices.

  9. #9
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    128

    Wink Re: Missing MetadataUtility Class in 3rd edition

    Thank you for your information .

Similar Threads

  1. need information about j2me polish
    By rathikathangaraj in forum Mobile Java General
    Replies: 4
    Last Post: 2007-12-19, 09:01
  2. TTime : TInt64& Int64() problem in S60 3rd edition
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-24, 13:07
  3. OpenGL ES Support in S60 3rd Edition Beta SDK
    By choefele in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-12-14, 06:01
  4. techview CEikHierarchicalListBox missing in S60 3rd edition?
    By akmits in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-12-05, 19:47
  5. Exceptions while loading application
    By avinash_rs in forum Mobile Java General
    Replies: 0
    Last Post: 2003-06-09, 10:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •