Summary: | [PATCH] metadata/"cddb" lookup slow starting with libdiscid 0.3.1 | ||
---|---|---|---|
Product: | [Unmaintained] kaudiocreator | Reporter: | Johannes Dewender <kde> |
Component: | general | Assignee: | Gerd Fleischer <gerdfleischer> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version First Reported In: | 1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | http://tickets.musicbrainz.org/browse/LIB-29 | ||
Latest Commit: | http://commits.kde.org/kaudiocreator/c7de530ca923b16a18cdf8b8948662e79b6589d1 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | use discid_read_sparse() when available |
Description
Johannes Dewender
2013-04-14 02:36:14 UTC
Created attachment 78885 [details]
use discid_read_sparse() when available
This uses discid_read_sparse() when available (and read() if not).
Tested with kaudiocreator 1.3 and libdiscid 0.5.0.
With earlier libdiscid versions there is no difference, since discid_read_sparse() is not available and read() is used due to the define.
Works as expected.
The metadata is returned without even accessing the disc, as the TOC is cached (by the system). My debug output from libdiscid doesn't show reading of ISRCs or the MCN.
Git commit c7de530ca923b16a18cdf8b8948662e79b6589d1 by Leslie Zhai. Committed on 07/09/2016 at 01:23. Pushed by lesliezhai into branch 'master'. Speed up metadata/cddb lookup. CCMAIL: github@JonnyJD.net M +5 -1 audiocd.cpp http://commits.kde.org/kaudiocreator/c7de530ca923b16a18cdf8b8948662e79b6589d1 |