Package: flactag Version: 2.0.4-1 Severity: wishlist Tags: patch In version 0.5.0 of libdiscid discid_read_sparce got added. This function allows to specify what should be read from the disc. Using this function one can avoid reading of the MCN of the disc and ISRCs from the tracks. Only the disc ID is used and nothing else, so it is not necessary to read the other information.
Please consider applying the attached patch. Regards -- Sebastian Ramacher
--- flactag-2.0.4.orig/DiscIDWrapper.cc +++ flactag-2.0.4/DiscIDWrapper.cc @@ -40,7 +40,11 @@ CDiscIDWrapper::~CDiscIDWrapper() bool CDiscIDWrapper::FromDevice(const std::string& Device) { +#if defined(DISCID_VERSION_MAJOR) && (DISCID_VERSION_MAJOR > 0 || (DISCID_VERSION_MAJOR == 0 && DISCID_VERSION_MINOR >= 4)) + return discid_read_sparse(m_DiscID,Device.c_str(),DISCID_FEATURE_READ); +#else return discid_read(m_DiscID,Device.c_str()); +#endif } bool CDiscIDWrapper::FromCuesheet(const CCuesheet& Cuesheet)
signature.asc
Description: Digital signature