fix: various improvements and fixes

This commit is contained in:
zarzet
2026-02-11 12:43:50 +07:00
parent 42f15018ae
commit 915934e5dd
20 changed files with 634 additions and 108 deletions
@@ -1725,7 +1725,7 @@ class MainActivity: FlutterFragmentActivity() {
val trackName = call.argument<String>("track_name") ?: ""
val artistName = call.argument<String>("artist_name") ?: ""
val spotifyId = call.argument<String>("spotify_id") ?: ""
val durationMs = call.argument<Long>("duration_ms") ?: 0L
val durationMs = call.argument<Number>("duration_ms")?.toLong() ?: 0L
val outputPath = call.argument<String>("output_path") ?: ""
val response = withContext(Dispatchers.IO) {
try {