service

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForSongUpdates

func CheckForSongUpdates(ctx *Context, auth *types.UserInstance, pl *mpris.Player, song *types.SongMeta) error

func QueueSimilarSongs added in v0.2.0

func QueueSimilarSongs(similarSongs []types.SongMeta, pl *mpris.Player)

func StartDaemon

func StartDaemon(c *cli.Context) error

Types

type CliContext added in v0.2.0

type CliContext struct {
	ShowLyrics bool
}

type Context

type Context struct {
	LastFmEnabled bool
	Predicted     bool
	Tui           bool
	Scrobble      bool
	AppIcon       string
	Romanize      bool
	Cli           *CliContext
}

type DaemonOptions

type DaemonOptions struct {
}

Jump to

Keyboard shortcuts

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