Files
wehub-resource-sync ead81af521
Deploy to GitHub Pages / deploy (push) Failing after 0s
CI / go (push) Has been cancelled
CI / build (darwin, macos-14) (push) Has been cancelled
CI / build (windows, windows-2025) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:31:13 +08:00

28 lines
468 B
Go

//go:build !linux && (!darwin || !cgo)
package mediactl
import (
"time"
tea "charm.land/bubbletea/v2"
"github.com/bjarneo/cliamp/internal/playback"
)
func Run(prog *tea.Program, svc *Service) (tea.Model, error) {
return prog.Run()
}
type Service struct{}
func New(send func(tea.Msg)) (*Service, error) {
return nil, nil
}
func (s *Service) Update(state playback.State) {}
func (s *Service) Seeked(position time.Duration) {}
func (s *Service) Close() {}