add LyricsProvider / GetLyrics

This commit is contained in:
Drew Weymouth
2024-03-05 08:53:57 -08:00
parent a3449d22ff
commit ea1d78ed58
3 changed files with 64 additions and 0 deletions
+12
View File
@@ -120,6 +120,18 @@ type PlaylistWithTracks struct {
Tracks []*Track
}
type Lyrics struct {
Title string
Artist string
Synced bool
Lines []LyricLine
}
type LyricLine struct {
Text string
Start float64 // seconds
}
type ContentType int
const (