mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-13 13:29:09 +02:00
fix(download): preserve native containers before legacy quality conversion
This commit is contained in:
@@ -931,18 +931,18 @@ class _DownloadRun {
|
||||
|
||||
if (isM4aFile || shouldForceDashSafM4aHandling) {
|
||||
if (isContentUriPath && effectiveSafMode) {
|
||||
if (quality == 'HIGH') {
|
||||
await _convertSafM4aToLossy(path);
|
||||
} else if (shouldPreserveNativeM4a) {
|
||||
if (shouldPreserveNativeM4a) {
|
||||
await _preserveSafNativeM4a(path);
|
||||
} else if (quality == 'HIGH') {
|
||||
await _convertSafM4aToLossy(path);
|
||||
} else {
|
||||
await _convertSafM4aToFlac(path);
|
||||
}
|
||||
} else {
|
||||
if (quality == 'HIGH') {
|
||||
await _convertLocalM4aToLossy(path);
|
||||
} else if (shouldPreserveNativeM4a) {
|
||||
if (shouldPreserveNativeM4a) {
|
||||
await _preserveLocalNativeM4a(path);
|
||||
} else if (quality == 'HIGH') {
|
||||
await _convertLocalM4aToLossy(path);
|
||||
} else {
|
||||
await _convertLocalM4aToFlac(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user