scrobbler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Id        uuid.UUID
	Title     string
	Album     string
	Artist    string
	Duration  time.Duration
	Timestamp time.Time
}

func NewRecord

func NewRecord(attrs mpd.Attrs) (*Record, error)

func (*Record) EqualAttrs

func (r *Record) EqualAttrs(attrs mpd.Attrs) bool

type Scrobbler

type Scrobbler struct {
	// contains filtered or unexported fields
}

func NewScrobbler

func NewScrobbler(net string, addr string, dbpath string) (*Scrobbler, error)

func (*Scrobbler) Close

func (s *Scrobbler) Close() error

func (*Scrobbler) Run

func (s *Scrobbler) Run() error

Jump to

Keyboard shortcuts

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