1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
use super::{
album_file::AlbumFile, cue_str::CueStr, flags::TrackFlag, index::TrackIndex,
timestamp::CueTimestamp, track::Track,
};
use crate::discid::isrc::Isrc;
/// Definitions of cue sheet command types and their structures
pub enum Command<'a> {
/// Disc's media catalog number (MCN)
Catalog { value: CueStr<'a> },
/// Specifies the name of the file that contains the encoded CD-Text information for the disc
CdTextFile { value: CueStr<'a> },
/// The data or audio filename
File { value: AlbumFile<'a> },
/// Special subcode flags
Flags { value: TrackFlag },
/// Track or subtrack index
Index { value: TrackIndex },
/// International Standard Recording Code
ISRC { value: Isrc },
/// Track/Album performer
Performer { value: CueStr<'a> },
/// Specifies length of the track post-gap
Postgap { value: CueTimestamp },
/// Specifies length of the track pre-gap
Pregap { value: CueTimestamp },
/// Comment line, but it can also be used as additional metadata
Remark { value: &'a str },
/// Track/Album song writer
SongWriter { value: CueStr<'a> },
/// Track/Album title
Title { value: CueStr<'a> },
/// Starts new track
Track { value: Track },
}