~ft/cue

3fa11540a210290508b385710ca4f83d19da362f — Sigrid Solveig Haflínudóttir 3 months ago 48a5e77
another weird cue sheet - with "FLAC" file type
2 files changed, 4 insertions(+), 0 deletions(-)

M cue.go
M sheet.go
M cue.go => cue.go +2 -0
@@ 158,6 158,8 @@ func parseFileType(t string) (FileType, error) {
		return FileTypeWave, nil
	case "MP3":
		return FileTypeMp3, nil
	case "FLAC":
		return FileTypeFlac, nil
	default:
		return 0, fmt.Errorf("Unsupported file type %s.", t)
	}

M sheet.go => sheet.go +2 -0
@@ 51,6 51,8 @@ const (
	FileTypeWave
	// Audio MP3 file
	FileTypeMp3
	// Audio FLAC file
	FileTypeFlac
)

// Track datatype.