From 855a3e07b70afdc9699a9c6134047c2faec3858a Mon Sep 17 00:00:00 2001 From: zaednasr <75589932+zaednasr@users.noreply.github.com> Date: Sat, 23 Dec 2023 11:01:26 +0100 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 05a1a6ed..5143033c 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,25 @@ The App's package name is "com.deniscerri.ytdl" Translation status +## ✔️🤖 Connect with Tasker / Macrodroid etc + +You can use intents on apps like tasker or macrodroid to push commands to the app to run a download without user interaction +Accepted variables: + +TYPE -> it can be: audio,video,command
+BACKGROUND -> it can be: true,false. If its true the app won't show the download card no matter what and run the download in the background
+COMMAND -> if your preferred type is audio/video or you set the TYPE variable as one of them, this will be appended to your Extra Commands string. If the type is command, the whole command you wrote here will be used for the download
+ +### Tasker Example of downloading an audio in the background +1. Create Send Intent task +2. Action: android.intent.action.SEND +3. Cat: Default +4. Mime Type: text/* +5. Extra: android.intent.extra.TEXT:url (instead of url write the url of the video you want to download) +6. Extra: TYPE:audio +7. Extra: BACKGROUND:true + + ## 😇 Contributing If you would like to contribute. Please read the [Contributing](CONTRIBUTING.MD) section.