perf(taglib): update taglib to use ReadStyleFast for improved performance

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2026-01-18 21:10:06 -05:00
parent 03120bac32
commit 4ec6e7c56e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func (e extractor) openFile(filePath string) (*taglib.File, func(), error) {
file.Close()
return nil, nil, errors.New("file is not seekable")
}
f, err := taglib.OpenStream(rs)
f, err := taglib.OpenStream(rs, taglib.WithReadStyle(taglib.ReadStyleFast))
if err != nil {
file.Close()
return nil, nil, err