1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-01-29 16:39:20 +01:00

Fix app doesn't handle right transcoded suffix.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2018-02-11 22:44:53 +01:00
parent 0e24aa691d
commit b080c62843

View File

@ -75,12 +75,9 @@ public class FileUtil
}
fileName.append(fileSystemSafe(song.getTitle())).append('.');
if (song.getTranscodedSuffix() != null)
{
if (!TextUtils.isEmpty(song.getTranscodedSuffix())) {
fileName.append(song.getTranscodedSuffix());
}
else
{
} else {
fileName.append(song.getSuffix());
}