wavelibrary

package
v0.0.0-...-fd3d004 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library struct {
	DB  *mongo.Database
	Env struct {
		Host          string
		Port          string
		DB            string
		DBHost        string
		DBPort        string
		DBString      string
		AlbumArtPath  string
		MusicPath     string
		SpotifyClient string
		SpotifySecret string
	}
}

Library struct for additional functions

func (*Library) ExtractMeta

func (l *Library) ExtractMeta(files []fileType) (tracks []models.Track)

ExtractMeta - Extract song metadata from the tags

func (*Library) Sync

func (l *Library) Sync(artPath, path string, ext []string) (info models.Info, err error)

Sync - Sync new files into the DB

Jump to

Keyboard shortcuts

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