So I have a Python script that runs a system call that fetches some inputs and does some calculations before it loads up a playlist.
I run this script first to load up VLC media player
start vlc --random --loop --playlist-autostart --qt-start-minimized --one-instance --mmdevice-volume=0.35
I then loop through my playlist running this code on each file I want to add to my VLC player
vlc --one-instance --playlist-enqueue "X:\Music\filename.mp3"
The weird thing being that, when I run the program initially, only the first file gets added to the playlist and my Prompt is blocked. Only after I close the vlc player does the next song get fired up again.
So I usually close the script and execute it again and this time it loads the entire playlist in one go.
What is going on here ?