daemon

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuth

func GetAuth() *types.UserInstance

GetAuth returns the registerd authorization details

func GetPlayer

func GetPlayer() *mpris.Player

GetPlayer returns the music player instance

func GetRomanizeEnabled added in v0.2.0

func GetRomanizeEnabled() bool

GetRomanizeEnabled returns if romanization is enabled

func GetSong

func GetSong() *types.SongMeta

GetSong returns the last played song on the desktop

func SetAuth

func SetAuth(a *types.UserInstance)

SetAuth sets the authorization instance

func SetPlayer

func SetPlayer(dbusId string) string

SetPlayer sets the local player from a dbus identifier

func SetRomanizeEnabled added in v0.2.0

func SetRomanizeEnabled(enabled bool)

func SetScrobbleEnabled

func SetScrobbleEnabled(enabled bool)

func Start

func Start()

Start loop the daemon process until all the parameters are successfull met

Types

This section is empty.

Jump to

Keyboard shortcuts

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