FileField id3 tag use

beyond67 - June 22, 2009 - 03:42

Hi,
Im trying to get id3 tags to work with CCk, FileField, FileField Paths. Im trying to call on the id3 title of an mp3 file that is uploaded with FileField. Ideally I want to grab the id3 title of the mp3 and use it to rename the uploaded mp3 using FileField Paths. And also eventually use the id3 title to fill in the upload description box. Can id3 tags be read and used by CCK?

Thanks

=-=

VeryMisunderstood - June 22, 2009 - 03:56

investigate the getid3.module though I don't know that id3 tags expose themselves to fields, maybe to tokens that you can use.

_

Deciphered - June 24, 2009 - 00:30

It doesn't appear that the getID3() module defines any tokens itself and therefore would not make it possible to use the ID3 values in conjunction with FileField Paths.

I would suggest creating a feature request in the getID3() module issue queue: http://drupal.org/project/issues/getid3

Alternatively, you could look into other similar modules (if there are any) or create a custom module defining the tokens yourself (http://drupal.org/node/307140).

Cheers,
Deciphered.

_

Deciphered - July 8, 2009 - 23:31

On further investigation, the Audio module already allows this.

Edit: Hmm... maybe not. It should.

 
 

Drupal is a registered trademark of Dries Buytaert.