Command Reference - MP3 Actions
Gets a property of the global MP3 player and stores it in a variable.
Use this action to get information about the current state of the global MP3 player.
|
Action ID: |
110 |
The variable that you want the information to be stored in.
The property that will be returned from the MP3. Choose from:
|
PROPERTY |
DESCRIPTION |
|
Album |
The album name (from the MP3's ID3 tag). |
|
Artist |
The artist (from the ID3 tag). |
|
Bitrate |
The bitrate of the MP3 (e.g. 128). |
|
Channel Mode |
A number indicating the channel mode used
in the MP3: |
|
Comment |
The comment embedded in the ID3 tag. |
|
Filename |
The full path and filename of the MP3 file currently associated with the global MP3 player. |
|
Genre Index |
A number indicating the genre that the MP3 belongs to. (more info) |
|
Is Copyrighted |
A boolean number indicating whether the
MP3 is copyrighted: |
|
Is Original |
A boolean number indicating whether the
MP3 is an original: |
|
Length |
The length of the MP3 file in the following
format: "hh:mm:ss" |
|
MPEG Layer |
A number indicating the MPEG layer for
the MP3: |
|
MPEG Version |
A number indicating the MPEG version of
the MP3: |
|
Number of Frames |
The number of frames in the MP3. |
|
Play State |
The play state of the global MP3 player.
Returns one of: |
|
Progress |
The current progress of the MP3. Returns the elapsed time (distance from the beginning of the MP3) in the following format: "hh:mm:ss" |
|
Repeat State |
The repeat state for the global MP3 player.
Returns either TRUE or FALSE: |
|
Sample Rate |
The sampling rate (frequency) of the current MP3, in hertz (e.g. "44100"). |
|
Title |
The title of the MP3 (from the ID3 tag). |
|
Track |
The album track for the current MP3 (from the ID3 tag). |
|
Year |
The year that the MP3 was released in (from the ID3 tag). |
|
NOTE |
|
|
|
|
|
Some of these properties are retrieved from the ID3 tag,
which is located near the end of all MP3 files. (How much information
is actually available in the ID3 tag depends on what the author of the
MP3 provided. In fact, some MP3s may not have any information in their
ID3 tag at all.) |
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
None