How to use a random number to play a random playlist?

I found a node for generating a random number. I’d like to use it to play a random playlist. I assume I’d need to use some sort of a lookup table but I’m not sure how to go about it. Suggestions, please?

Search "lookup" on this forum. It's been asked and solved many times.

One guy even wrote a contrib node...

https://discourse.nodered.org/t/announce-node-red-contrib-map

1 Like