1
Completed

Plugin idea: "Continue task immediately"

This is actually a two part idea for making plugins work better, and I think it's a must have due to how erratic 3rd party applications can work sometimes. 

1) Add in a "Continue Task Immediately" option. This would allow the plugin to work without halting the task if the plugin application is behind or not working, but also give it the allotted timeout to try and accomplish it's function. 

2) Add in a "Perform once" option. Now this may not be necessary if the above action is added, but this would prevent tasker from sending multiple signals to do the same action to the plugin IF the plugin isn't functioning properly. 

Example for why this would be beneficial: When the phone is first booted (Using a Galaxy Note 8) tasker launches almost instantaneously but plugins do not (Or don't function properly at boot). If you have a task that launches at boot say a task to start music when you connect to a Bluetooth device and you launch a media app and then send a play signal from tasker, and then use Auto input to automatically click the back button to go back to the previous screen. If there is a go-to action to replay the task until the music has started, but Auto input hasn't carried out the "back button" action BUT continue task after error was checked, it will continue to send that signal until the task finishes..... This is a problem because eventually, that action is still carried out (Exactly the amount of times it was activated by the repeated task) even though the plugin had already "timed out" in the task. SO a option to "Only perform once" or "Skip if still in time out" would prevent tasker from sending the signal again and again. 

Now this task explained wouldn't always execute right at boot I know, but it could if your phone goes dead and you plug it in to your car to charge it. And this could also happen if the plugin app crashes for whatever reason. 

Hope this all makes sense. Definitely would keep plugins from performing stuff long after they were suppose to. 

2 replies

S

Interesting! In a similar scenario I moved the plugin call to a separate task and called it with Perform Task to achieve simultaneousity in trying to connect to any Bluetooth audio device that might be available.

Just set the timeout to 0 and it'll already behave like that :) Hope this helps!

TT

Oh alright. So you mean "None" on the timeout? Will that prevent the plugin from sending another signal to the plugin until the action is carried out or will it still send as many signals to the plugin as are executed by the task?

Yes, sorry, I meant "None" :)

That will make Tasker continue right away and not wait for the plugin to finish.

It will send as many signals as are executed by the task.