mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-12 02:37:18 +02:00
refactor(metadata): move cover resolution to extensions
This commit is contained in:
1 parent
bdb10a2ae6
commit
ea63291db8
49 files changed
+42
-579
No files matched your search
@@ -564,8 +564,7 @@ import Gobackend
|
||||
let args = call.arguments as! [String: Any]
|
||||
let coverURL = args["cover_url"] as! String
|
||||
let outputPath = args["output_path"] as! String
|
||||
let maxQuality = args["max_quality"] as? Bool ?? true
|
||||
GobackendDownloadCoverToFile(coverURL, outputPath, maxQuality, &error)
|
||||
GobackendDownloadCoverToFile(coverURL, outputPath, false, &error)
|
||||
if let error = error { throw error }
|
||||
return "{\"success\":true}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user