Here is a way to control VLC from the command line (CLI) to stop playback:
- install: https://github.com/altdesktop/playerctl
- then in a terminal type
playerctl --player=vlc stop
orplayerctl --player=vlc pause
(assuming VLC is running in one instance). - To pause VLC after 30 minutes use the following command:
sleep 30m && playerctl --player=vlc pause
.