library

package
v0.0.0-...-f378178 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Artist,
	Album,
	Track,
	EvaluatedDirectory,
	FilePath string
	Length int32
}

type Library

type Library struct {
	MusicDir          string
	HTTPServerAddress string
	Files             []File
}

func (*Library) IndexFiles

func (l *Library) IndexFiles() (libraryFiles []File, err error)

func (*Library) Library

func (l *Library) Library(criteria, token, serverIP string) (libraryItems []*api.LibraryItem, err error)

func (*Library) UpdateIndex

func (l *Library) UpdateIndex()

Jump to

Keyboard shortcuts

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