[R] |
bitrate |
bitrate in kbps
|
[R] |
channel_mode |
channel mode => "Stereo", "JStereo", "Dual
Channel" or "Single Channel"
|
[R] |
error_protection |
error protection => true or false
|
[R] |
filename |
the original filename
|
[R] |
hastag1 |
Moved hastag1? and hastag2? to be booleans
|
[R] |
hastag2 |
Moved hastag1? and hastag2? to be booleans
|
[R] |
layer |
layer = 1, 2, or 3
|
[R] |
length |
length in seconds as a Float
|
[R] |
mpeg_version |
mpeg version = 1 or 2
|
[R] |
samplerate |
samplerate in Hz
|
[R] |
tag |
a sort of "universal" tag, regardless of the tag version, 1 or 2,
with the same keys as @tag1
|
[RW] |
tag1 |
id3v1 tag has a Hash. You can modify it, it will be
written when calling "close" method.
|
[R] |
tag2 |
id3v2 tag as a Hash
|
[R] |
vbr |
variable bitrate => true or false
|
Test the presence of an id3v1 tag in file filename
Test the presence of an id3v2 tag in file filename
Instantiate a new Mp3Info object with name
filename
"block version" of Mp3Info::new()
Remove id3v1 tag from filename
Flush pending modifications to tags and close the file
Has file an id3v1 tag? true or false
Has file an id3v2 tag? true or false
Has file an id3v1 or v2 tag? true or false