usdx

package
v0.0.0-...-e065539 Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoding

type Encoding interface {
	Name() string
	Decode(s string) (string, error)
}

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(l *zap.Logger) Reader

func (Reader) Read

func (r Reader) Read(in io.ReadSeeker, dir, sourceFile string) (Song, []error, error)

type Song

type Song struct {
	Dir             string
	SourceFile      string
	Title           string
	Artist          string
	SoundFile       string
	BPM             float32
	Gap             float32
	CoverPath       string
	BackgroundPath  string
	VideoPath       string
	VideoGap        float32
	Genre           string
	Edition         string
	Creator         string
	Language        string
	Year            int
	Start           float32
	End             int
	Resolution      int
	NotesGap        int
	Relative        bool
	Encoding        Encoding
	PreviewStart    float32
	MedleyStartBeat int
	MedleyEndBeat   int
	CalcMedley      bool
	DuetSingerP1    string
	DuetSingerP2    string
	CustomTags      []Tag
	Notes           []string
}

type Tag

type Tag struct {
	Tag     string
	Content string
}

Jump to

Keyboard shortcuts

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