add support for OpenSubsonic playbackReport extension (#910)

* add support for OpenSubsonic playbackReport extension

* better style
This commit is contained in:
Drew Weymouth
2026-04-22 11:00:51 -07:00
committed by GitHub
parent cfa45a4647
commit 2d864a5320
5 changed files with 59 additions and 1 deletions
+4
View File
@@ -302,6 +302,10 @@ type CanSavePlayQueue interface {
GetPlayQueue() (*SavedPlayQueue, error)
}
type CanReportPlayback interface {
ReportPlayback(trackID string, positionMs int64, state string) error
}
type LyricsProvider interface {
GetLyrics(track *Track) (*Lyrics, error)
}