Skip to main content
r/tasker icon

r/tasker

members
online

Random music help Random music help
Help

I have a task that plays one random tune from my music directory, then stops.

I can't work out how to get it to play multiple/all tunes.

I would post a pic of the task but it doesnt seem to be allowed in this group.

This is the task

  1. List Files

    - Directory: Music

    - Variable Array: %tracks

  2. Variable Set

    - Name: %max_tracks

    - To: %tracks(#)

  3. Variable Randomize

    - Name: %rand

    - Min: 1

    - Max: %max_tracks

  4. Music Play

    - File: %tracks(%rand)

    - Start: 0

    - Loop: Off


Simple, elevated rewards—with no category restrictions. Terms apply. Learn more about Venture X Business today.
media poster


After nearly 2 years, Tasker is finally clicking for me. After nearly 2 years, Tasker is finally clicking for me.

It feels embarrassing saying this out loud, but yes, I bought Tasker on March 11, 2024 and only now am I finally starting to get it. Over the past 2 years, I've tried to figure this app out, but I couldn't for the life of me understand anything beyond going to TaskerNet and importing profiles from there. I've uninstalled it and came back months later hoping that I'll finally understand how to use it, but no, I still had no clue what all these buttons do. And I refused to switch to Tasky because I'm stubborn and refuse to play games on easy mode.

Tasker is essentially "visual programming". And the reason programming never clicked for me is the same reason Tasker didn't either. And it's that coding mimicks human language.

  • A profile is basically a scenario that happens in my day-to-day life that I'd like to be automated instead of having to do it manually.

  • Tasks are the things I want Tasker to do when a scenario arises.

  • Actions are the steps Tasker needs to do take to finish a task.

  • I'll admit I still haven't figured out variables fully. But from what I understand, they make Tasker flexible instead of fixated when doing a task. They help Tasker adapt to the different data that might be presented to it.

  • And finally, Scenes. They help me communicate with Tasker through a UI I make, and let me choose which Tasks I want Tasker to execute. This is useful because sometimes I don't want Tasker to do everything on its own.

I'm still far from being an expert. I still struggle with variables and advanced automations like pulling data from certain websites. But at least I made a few cool automations that work specifically for my needs. I even learned how to make Tasker communicate with other apps like AutoInput and AutoNotificaton.

Just wanted to share my excitement with the community. Thanks for reading!


Shake on Pixel Watch 4 Shake on Pixel Watch 4

I'm finding that the &SHAKE& trigger recognition, via Autowear, on PW4 is extremely inconsistent, to the point of unusability, even after calibrating it via the Autowear Settings app many, many times (and restarting watch, etc.)

Anyone have any tips or solution?

I'm trying to set it up to trigger a voice screen (which then gets fed into Gemini via API call, and spits out JSON out to trigger various tasks).

Thanks in advance for any guidance.

(I tried using PWBR to remap the crown as a fallback, but ran into various issues there, including that the &APPOPENED& trigger no longer seems to work.)