mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-21 15:02:21 +02:00
feat(extensions): support personal account forms and direct downloads
This commit is contained in:
1 parent
253a19f17f
commit
70f8bd7f35
17 files changed
+935
-8
No files matched your search
@@ -709,7 +709,10 @@ internal object RustCoreBackend : CoreBackend {
|
||||
current.updateSettings(string("extension_id"), string("settings", "{}"))
|
||||
null
|
||||
}
|
||||
"invokeExtensionAction" -> current.invokeAction(string("extension_id"), string("action"))
|
||||
"invokeExtensionAction" -> if (args.containsKey("arguments_json")) {
|
||||
// Transient form input bypasses persistent extension settings.
|
||||
current.call(string("extension_id"), string("action"), string("arguments_json", "[]"), null, 120_000uL)
|
||||
} else current.invokeAction(string("extension_id"), string("action"))
|
||||
"checkExtensionHealth" -> current.checkExtensionHealthJson(string("extension_id"))
|
||||
"setProviderPriority", "setMetadataProviderPriority" -> {
|
||||
current.setProviderPriority(if (method == "setProviderPriority") "download" else "metadata", ids(string("priority", "[]")))
|
||||
|
||||
Reference in new issue
Block a user