Class OggInfo
In: lib/ogginfo.rb
Parent: Object

Methods

bitrate   close   hastag?   length   new   open   to_s  

Included Modules

Ogg

Constants

VERSION = "0.6.11"

Attributes

channels  [R] 
nominal_bitrate  [R] 
samplerate  [R] 
tag  [R]  tag is a hash containing the vorbis tag like "Artist", "Title", and the like

Public Class methods

create new instance of OggInfo use of charset is deprecated! please use utf-8 encoded strings and leave charset to nil")

"block version" of ::new()

Public Instance methods

Calculated bit rate, also lazily loaded since we depend on the length

commits any tags to file

check the presence of a tag

The length in seconds of the track since this requires reading the whole file we only get it if called

[Validate]