music

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FlacExt = ".flac"
	Mp3Ext  = ".mp3"
	M3uExt  = ".m3u"
	OpusExt = ".opus"
)

Variables

This section is empty.

Functions

func ContainsMusic

func ContainsMusic(directoryPath string) bool

ContainsMusic returns true if it contains mp3 or flac files.

func GetAllFLACs

func GetAllFLACs(directoryPath string) []string

GetAllFLACs returns all FLAC files found in a directory

func GetAllPlaylists added in v0.12.0

func GetAllPlaylists(directoryPath string) []string

GetAllPlaylists returns all m3u files found in a directory

func GetFirstFLACFound

func GetFirstFLACFound(directoryPath string) string

GetFirstFLACFound returns the first FLAC file found in a directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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