I making a application, in this application you can watch movies and songs. 
For this i'm using angular for frontend and python/flask for backend.
Eventually this application will run on a raspberry pi 4, to store the mp4 and mp3 files i'm using a simple usb flash drive. For now i just want it to work on my laptop. So the program needs to know where to get the files from and render them in de html.
What is the best approach to load in the mp3 and mp4 files from that usb to display them in the application?
On first hand I just thought to give the path where the usb drive is located and then put that in de audio or video tag. Bu i'm not sure this is the right way.
Does anyone know what would be the best approach to do this?
Hi Ronny here is a simple way to get the path and play using it:
{{{  import easygui, vlc
media = easygui.fileopenbox(title="Choose media to open") 
player = vlc.MediaPlayer(media)
player.play()   }}} 
this program will ask the path of the folder to you and play the file to you in vlc media player.
Taking content (mp4 and mp3) from usb drive and use it in a application