mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-22 17:41:07 +02:00
fix: harden download errors and re-enrich sidecars
This commit is contained in:
@@ -817,6 +817,15 @@ class PlatformBridge {
|
||||
return map['success'] == true;
|
||||
}
|
||||
|
||||
static Future<bool> writeSafSidecarLrc(String safUri, String lyrics) async {
|
||||
final result = await _channel.invokeMethod('writeSafSidecarLrc', {
|
||||
'saf_uri': safUri,
|
||||
'lyrics': lyrics,
|
||||
});
|
||||
final map = _decodeRequiredMapResult(result, 'writeSafSidecarLrc');
|
||||
return map['success'] == true;
|
||||
}
|
||||
|
||||
static Future<void> startDownloadService({
|
||||
String trackName = '',
|
||||
String artistName = '',
|
||||
|
||||
Reference in New Issue
Block a user