history

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HistorySize uint32 = 66

Functions

This section is empty.

Types

type History

type History struct {
	Artists   []string `json:"artists"`
	Albums    []string `json:"albums"`
	Tracks    []string `json:"tracks"`
	Playlists []string `json:"playlists"`
	// contains filtered or unexported fields
}

func Load

func Load(file string) (*History, error)

func NewHistory

func NewHistory() *History

func (*History) AppendAlbum

func (h *History) AppendAlbum(s string)

func (*History) AppendArtist

func (h *History) AppendArtist(s string)

func (*History) AppendPlaylist

func (h *History) AppendPlaylist(s string)

func (*History) AppendTrack

func (h *History) AppendTrack(s string)

func (*History) Modified

func (h *History) Modified() bool

func (*History) Save

func (h *History) Save(file string) error

Jump to

Keyboard shortcuts

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