jeudi 14 mars 2019

Find all audio files recursively and play them at random

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




Aucun commentaire:

Enregistrer un commentaire