feat(subsonic): rename AppendSubtitle conf to Subsonic.AppendSubtitle, for consistency

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2025-03-08 19:02:29 -05:00
parent 0d42b9a4a5
commit 57d3be8604
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ type MediaFile struct {
}
func (mf MediaFile) FullTitle() string {
if conf.Server.AppendSubtitle && mf.Tags[TagSubtitle] != nil {
if conf.Server.Subsonic.AppendSubtitle && mf.Tags[TagSubtitle] != nil {
return fmt.Sprintf("%s (%s)", mf.Title, mf.Tags[TagSubtitle][0])
}
return mf.Title