mirror of https://github.com/procxx/kepka.git
Send audio files with correct attributes.
Regression was introduced in 8b69e6ab99
.
Fixes #4163.
This commit is contained in:
parent
574f4a73cb
commit
b2f29b674d
|
@ -251,7 +251,7 @@ bool FileLoadTask::CheckForSong(const QString &filepath, const QByteArray &conte
|
||||||
if (!CheckMimeOrExtensions(filepath, result->filemime, mimes, extensions)) {
|
if (!CheckMimeOrExtensions(filepath, result->filemime, mimes, extensions)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
auto media = Media::Player::PrepareForSending(filepath, content);
|
auto media = Media::Player::PrepareForSending(filepath, content);
|
||||||
if (media.duration < 0) {
|
if (media.duration < 0) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue