Find all audio files recursively and play them at random

63
March 16, 2019, at 02:40 AM

What would be a method that can find all audio files and play them at random.

I'm open to anything that works. I've tried many different methods I found online but they were all years old and didn't work.

My server has 2000+ songs and will grow.

Example of directories:

/var/html/Music/
  song1.mp3
  song2.mp3
/var/html/Music/Artist1/
  Song1.mp3
/var/html/Music/Artist1/Album 1/
  Song that has spaces and - (Parenthesis).mp3
READ ALSO
PHP form value results in array

PHP form value results in array

I have a PHP form that once it's filled it sends results back to my email as acsv file

32
Program runs but doesn't round corners

Program runs but doesn't round corners

I have the following:

41
Redirect automatically from Woocommerce thankyou to an external link passing variables

Redirect automatically from Woocommerce thankyou to an external link passing variables

In Woocommerce, after placing an order, I Would like to redirect customer automatically after 5 sec from the thankyou page to external link passing a few variables as the order_id, and the order_ammount

21