mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-05 21:37:06 +01:00
Merge pull request #164 from ultrasonic/bug/fix-offline-mode
Fix app doesn't handle right transcoded suffix.
This commit is contained in:
commit
6951f653bd
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user