Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 05:58, 27 November 2007.

How to get id3 info from a MP3 file

From Forum Nokia Wiki

TInt nbMetaData;
	CMMFMetaDataEntry * aMetaData;
	TInt err = iMdaAudioPlayerUtility->GetNumberOfMetaDataEntries(nbMetaData);
	if (err != KErrNone)
		nbMetaData = 0;
	for (TInt i=0; i< nbMetaData; i++)
	{
     	aMetaData = iMdaAudioPlayerUtility->GetMetaDataEntryL(i);
		 TBuf<256> name;
		 name.Copy(aMetaData->Name());
		if ( name  == _L("title") )
			iTitle.Copy(aMetaData->Value());
		if ( name  == _L("album") )
			iAlbum.Copy(aMetaData->Value());
		if ( name  == _L("artist") )
			iArtist.Copy(aMetaData->Value());
		if ( name  == _L("genre") )
			iGenre.Copy(aMetaData->Value());
	}

The Audio MetaData Reader in the plugin SDK can be used to do this albeit without WINSCW support.

Related Discussions
Thread Thread Starter Forum Replies Last Post
6630 MP3 player shikhakhandelwal Symbian Media (Graphics & Sounds) 1 2008-03-17 18:47
Playing MP3 on Nokia 6230? lancew Mobile Java General 2 2004-09-20 17:49
Streaming an mp3 that's not in the JAR with MMAPI? blitz82 Mobile Java Media (Graphics & Sounds) 3 2006-04-29 22:27
Audio Player mkavianpour Mobile Java General 2 2002-08-12 08:54
midlet to play for mp3 satish3k Mobile Java Tools & SDKs 0 2007-04-11 10:11
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZaudioQ
     qfnZtopicQUqfnTopicZmusicQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX