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('.');
|
fileName.append(fileSystemSafe(song.getTitle())).append('.');
|
||||||
|
|
||||||
if (song.getTranscodedSuffix() != null)
|
if (!TextUtils.isEmpty(song.getTranscodedSuffix())) {
|
||||||
{
|
|
||||||
fileName.append(song.getTranscodedSuffix());
|
fileName.append(song.getTranscodedSuffix());
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
fileName.append(song.getSuffix());
|
fileName.append(song.getSuffix());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue