Lingo Dictionary > G-K > id3Tags |  |

id3Tags

Syntax

    member(whichMember).id3Tags

Description

MP3 sound property; returns the list of ID3 tags from the sound file. These tags include information provided by the sound's author. The `id3Tags` returns a property list that may include any of the following properties:

Tag Name | Content
--- | ---
TALB | Album/Movie/Show title
TBPM | Beats Per Minute
TCOM | Composer
TCON | Content type
TCOP | CopyRight message
TDAT | Date
TDLY | Playlist delay
TENC | Encoded By
TEXT | Text Writer
TFLT | File Type
TIME | Time
TIT1 | Content group description
TIT2 | Title/SongName/Content description
TIT3 | Subtitle/ Description refinement
TKEY | Initial Key
TLAN | Language(s)
TLEN | Length
TMED | Media Type
TOAL | Original album/movie/showTitle
TOFN | Original FileName
TOLY | Original lyrics/text writer(s)
TOPE | Original Artist/performer
TORY | Original release year
TOWN | File owner/licensee
TPE1 | Lead performers/Soloists
TPE2 | Band
TPE3 | Conductor
TPE4 | Modified by
TPOS | Part of set
TPUB | Publisher
TRCK | Track number
TRDA | Recording dates
TRSN | Internet radio station name
TRSO | Internat radio station owner
TSIZ | Size
TSRC | ISRC (International standard recording code)
TSSE | Software/ hardware and settings used for encoding
TYER | Year
COMM | Comment

The `id3Tags` property can only be tested for MP3 cast members that are inserted into the cast via the Insert > Shockwave Audio command. The member must be preloaded with `preLoadBuffer()` before the `id3Tags` property is tested. `Id3Tags` information is not available from MP3's that are imported via the Import command or for Shockwave Audio (.swa) files.

The `id3Tags` property cannot be set within Director. However, most MP3 playback and extraction applications offer this capability.

Example

These statements display the ID3 tags of the MP3 cast member Title Song in the Message window:

    member("TitleSong").preload()
    put member("Title Song").id3Tags
    -- [#TALB: "Love Theme", #TCOM: "Jane Smith", #TRDA: "8/19/76"]

See also

`preLoadBuffer()`