TechArena Community

TechArena Community (http://forums.techarena.in/)
-   Software Development (http://forums.techarena.in/software-development/)
-   -   What are an ID3 tags in PHP? (http://forums.techarena.in/software-development/1310721.htm)

Jacques25 28-02-2010 03:21 AM

What are an ID3 tags in PHP?
 
Hi friends,
I have done the programs in PHP to a great extent, but not that great.!! At many places I have seen the use of ID3 tags in PHP programming language. I don't know anything about it. Even I tried searching on the Web, but the solutions were not appropriate. So please explain me what are an ID3 tags in PHP.?? Waiting for the replies.!! :notworthy

Warner 28-02-2010 03:26 AM

Re: What are an IDE3 tags in PHP?
 
ID3 tags are related to the audio manipulation. ID3 tags are used in MP3 files to store the title of a song, as well as information about the artist, album, genre, year and track number. Since version 0.2, it is also possible to extract text frames from ID3 v2.2 + tags. These functions are available in the standard PHP module, which is always available.

Viensterrr 28-02-2010 03:29 AM

Re: What are an IDE3 tags in PHP?
 
Most of the id3 functions either let you specify or return a tag. To specify the version, use one of these constants :
  1. ID3_V1_0 (integer) - ID3_V1_0 is used if you are working with ID3 V1.0 tags. These tags may contain the fields title, artist, album, genre, year.
  2. ID3_V1_1 (integer) - ID3_V1_1 is used if you are working with ID3 V1.1 tags. These tags may all information contained in version 1.0 and a field representing the number of runway.
  3. ID3_V2_1 (integer) - ID3_V2_1 is used if you are working with ID3 V2.1 tags.
  4. ID3_V2_2 (integer) - ID3_V2_2 is used if you are working with ID3 V2.2 tags.

Solitario 28-02-2010 03:34 AM

Re: What are an IDE3 tags in PHP?
 
I am providing you with more ID3 constants that are used during the functions :
  • ID3_V2_3 (integer) - ID3_V2_3 is used if you are working with ID3 V2.3 tags.
  • ID3_V2_4 (integer) - ID3_V2_4 is used if you are working with ID3 V2.4 tags.
  • ID3_BEST (integer) - ID3_BEST is used if you want to let the id3 functions determine which tag version should be used.
There are several highly developed id3 reader classes written in php that include id3v2 support, and support for other file formats, not just mpeg & id3.

kyosang 28-02-2010 03:36 AM

Re: What are an ID3 tags in PHP?
 
The following are some functions that ID3 uses :
  1. id3_get_frame_long_name - Get the long name of an ID3v2 frame
  2. id3_get_frame_short_name - Get the short name of an ID3v2
  3. id3_get_genre_id - Get the id for a genre
  4. id3_get_genre_list - Get all possible genre values
  5. id3_get_genre_name - Get the name for a genre id
  6. id3_get_tag - Get all information stored in an ID3 tag
  7. id3_get_version - Get version of an ID3 tag
  8. id3_remove_tag - Delete ID3 Tag


All times are GMT +5.5. The time now is 08:05 PM.