If VLC is running, playing a movie at file path X, is there any way I can know what file path X is from a Bash script? (For simplicity's sake we can assume that only one instance of VLC is running.)
Update: I now know this can be done using the following methods. Are there other ways, perhaps a way of asking VLC directly?
- AppleScript (macOS only)