MCPcopy Create free account
hub / github.com/efogdev/mpris-timer / emitPropertiesChanged

Method emitPropertiesChanged

internal/core/core.go:213–219  ·  view source on GitHub ↗
(iface string, changed map[string]dbus.Variant)

Source from the content-addressed store, hash-verified

211}
212
213func (p *TimerPlayer) emitPropertiesChanged(iface string, changed map[string]dbus.Variant) {
214 err := p.conn.Emit(p.objectPath, "org.freedesktop.DBus.Properties.PropertiesChanged",
215 iface, changed, []string{})
216 if err != nil {
217 log.Printf("emitLoop properties: %v", err)
218 }
219}
220
221func (p *TimerPlayer) Raise() *dbus.Error { return nil }
222func (p *TimerPlayer) Quit() *dbus.Error { os.Exit(0); return nil }

Callers 2

emitLoopMethod · 0.95
PlayPauseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected