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
-
List Files
- Directory: Music
- Variable Array: %tracks
-
Variable Set
- Name: %max_tracks
- To: %tracks(#)
-
Variable Randomize
- Name: %rand
- Min: 1
- Max: %max_tracks
-
Music Play
- File: %tracks(%rand)
- Start: 0
- Loop: Off