Hello,
I am having trouble running my batch script to automatically recording programs. My script is able to successfully record for the time that I set, however, once the run time elapses, the player doesn't close despite entering vlc://quit at the end of my script. Also, the script just hangs and doesn't allow my script to execute the last two lines. I have tried adding && timeout x and --stop-time x but neither works. Any help would be appreciated. My code is below.
ace_player.exe acestream://xxxx :sout=#duplicate{dst=std{access=file,dst=C:/Users/Downloads/Recording.ts},dst=display} --run-time=10 vlc://quit
timeout 10
shutdown -s
I am having trouble running my batch script to automatically recording programs. My script is able to successfully record for the time that I set, however, once the run time elapses, the player doesn't close despite entering vlc://quit at the end of my script. Also, the script just hangs and doesn't allow my script to execute the last two lines. I have tried adding && timeout x and --stop-time x but neither works. Any help would be appreciated. My code is below.
ace_player.exe acestream://xxxx :sout=#duplicate{dst=std{access=file,dst=C:/Users/Downloads/Recording.ts},dst=display} --run-time=10 vlc://quit
timeout 10
shutdown -s