cue

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cue parses CUE sheet files into structured track data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name   string
	Format string
	Tracks []Track
}

File represents a FILE entry in a CUE sheet.

type Sheet

type Sheet struct {
	Performer string
	Title     string
	Files     []File
}

Sheet represents a parsed CUE sheet.

func Parse

func Parse(r io.Reader) (*Sheet, error)

Parse reads a CUE sheet from r and returns the parsed structure.

type Track

type Track struct {
	Number    int
	Performer string
	Title     string
	StartMs   int // INDEX 01 time in milliseconds
}

Track represents a TRACK entry in a CUE sheet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址