| Class | MusicBrainz::DiscID::TrackInfo |
| In: |
lib/mb-discid.rb
|
| Parent: | Object |
This class holds information about a single track.
Currently this includes the following fields:
You can access all fields either with directly or with the square bracket notation:
track = TrackInfo.new(1, 150, 16007) puts track.sectors # 16007 puts track[:sectors] # 16007
| See: | DiscID#track_details |
| isrc | [R] | ISRC number of the trac |
| number | [R] | The number of the track on the disc. |
| sectors | [R] | Length of the track in sectors. |
| start_sector | [R] | Start position of the track on the disc in sectors. |