|
|
|
@ -200,7 +200,7 @@ bool KFlacPlugin::readInfo( KFileMetaInfo& info, uint what )
|
|
|
|
|
|
|
|
|
|
appendItem(techgroup, "Bitrate", properties->bitrate());
|
|
|
|
|
appendItem(techgroup, "Sample Rate", properties->sampleRate());
|
|
|
|
|
appendItem(techgroup, "Sample Width", properties->sampleWidth());
|
|
|
|
|
appendItem(techgroup, "Sample Width", properties->bitsPerSample());
|
|
|
|
|
appendItem(techgroup, "Channels", properties->channels());
|
|
|
|
|
appendItem(techgroup, "Length", properties->length());
|
|
|
|
|
}
|
|
|
|
@ -234,7 +234,7 @@ bool KFlacPlugin::writeInfo(const KFileMetaInfo& info) const
|
|
|
|
|
{
|
|
|
|
|
TagLib::File *file;
|
|
|
|
|
|
|
|
|
|
if (!TagLib::File::isWritable(TQFile::encodeName(info.path()).data())) {
|
|
|
|
|
if (access(info.path().local8Bit().data(), R_OK|W_OK)) {
|
|
|
|
|
kdDebug(7034) << "can't write to " << info.path() << endl;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|