list

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Playlist

type Playlist struct {
	List        []types.Song
	CurrentSong int
}

func AddFolder

func AddFolder(playlist *Playlist, path string) (*Playlist, error)

func NewPlaylist

func NewPlaylist(config *types.Config) *Playlist

func (Playlist) Serialize

func (playlist Playlist) Serialize(path string) error

func (Playlist) Shuffle

func (playlist Playlist) Shuffle()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳