How do I get a list of mp3 files and play them?

There are several errors in your blocks

  1. you forgot the else part
If api version <= 33
Then ask for read external storage permission 
Else ask for read media audio permission
  1. get the file list after you got permission... currently you ask for permission and immediately try to get the list, this will not work
    I e. Moce that block into the button click event

  2. rename your variable newSound to listSounds

  3. learn to work with lists, there is no need to use those replace all text blocks

  1. if you only want to display the filename in the label, check again my jukebox example to find out how to do it

  2. the source property of the player expects the complete path to the sound file, see again the jukebox example

Taifun