mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-07 18:58:38 +01:00
refactor(lyrics): trim verbose comments to essential why
This commit is contained in:
parent
9622b23ed4
commit
8190e3a535
4 changed files with 13 additions and 28 deletions
3
plugins/testdata/test-lyrics/main.go
vendored
3
plugins/testdata/test-lyrics/main.go
vendored
|
|
@ -20,8 +20,7 @@ func (t *testLyrics) GetLyrics(input lyrics.GetLyricsRequest) (lyrics.GetLyricsR
|
|||
return lyrics.GetLyricsResponse{}, fmt.Errorf("%s", errMsg)
|
||||
}
|
||||
|
||||
// Config-selected formats let integration tests prove the adapter's content-sniffing
|
||||
// detects each format; plain-text parsing would silently mangle the rich ones.
|
||||
// Config-selected format lets tests exercise the adapter's content-sniffing per format.
|
||||
format, hasFormat := pdk.GetConfig("format")
|
||||
if hasFormat {
|
||||
var text string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue