feat(subsonic): also read unsynced lyrics from .txt files and tag metadata

closes #593
This commit is contained in:
sentriz
2025-09-23 21:29:20 +01:00
parent e8d03f4450
commit eb0d8fd1c7
2 changed files with 152 additions and 60 deletions

No files matched your search

+2 -2
View File
@@ -477,12 +477,12 @@ type Lyrics struct {
}
type Lyric struct {
Start int64 `xml:"start,attr" json:"start"`
Start *int64 `xml:"start,attr,omitempty" json:"start,omitempty"`
Value string `xml:",chardata" json:"value"`
}
type LyricsList struct {
StructuredLyrics []StructuredLyrics `xml:"structuredLyrics" json:"structuredLyrics"`
StructuredLyrics []*StructuredLyrics `xml:"structuredLyrics" json:"structuredLyrics"`
}
type StructuredLyrics struct {