Well, it only hangs both in python and terminal when the enqueue call is made with python.
When I open vlc through subprocess, then enqueue in terminal, then do the echo play call in python it works....
Basically this works perfectly in Terminal:
vlc -I oldrc --rc-unix=/home/user/Documents/Sockets/socket1.sock
echo play | nc -U /home/user/Documents/Sockets/socket1.sock
echo enqueue /home/user/Documents/DualscreenVLC/videos/MVI_2534.MP4 | nc -U /home/user/Documents/Sockets/socket1.sock
When I open vlc through subprocess, then enqueue in terminal, then do the echo play call in python it works....
Basically this works perfectly in Terminal:
vlc -I oldrc --rc-unix=/home/user/Documents/Sockets/socket1.sock
echo play | nc -U /home/user/Documents/Sockets/socket1.sock
echo enqueue /home/user/Documents/DualscreenVLC/videos/MVI_2534.MP4 | nc -U /home/user/Documents/Sockets/socket1.sock