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

Method Previous

internal/core/core.go:242–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242func (p *TimerPlayer) Previous() *dbus.Error {
243 p.startTime = time.Now()
244 p.pausedFor = 0
245 p.isPaused = false
246 p.playbackStatus = "Playing"
247 p.broadcast()
248 return nil
249}
250
251func (p *TimerPlayer) Next() *dbus.Error { os.Exit(1); return nil }
252func (p *TimerPlayer) Stop() *dbus.Error { os.Exit(1); return nil }

Callers 1

CreateTrayIconFunction · 0.80

Calls 1

broadcastMethod · 0.95

Tested by

no test coverage detected