Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("no lyrics found")
ErrNotFound is returned when no lyrics could be found from any source.
Functions ¶
This section is empty.
Types ¶
type Line ¶
Line represents a single timestamped lyrical line.
func Fetch ¶
Fetch requests lyrics for the given artist and title. It tries LRCLIB first, then falls back to NetEase Cloud Music. Returns ErrNotFound if neither source has lyrics.
For YouTube/SoundCloud tracks where Artist is the uploader and Title contains "Artist - Song", the title is split to build a better query.
func ParseEmbedded ¶
ParseEmbedded converts lyrics read from local file tags into display lines. Timestamped LRC data remains synced; plain text is returned as scrollable lines at timestamp 0.
Click to show internal directories.
Click to hide internal directories.