Check if VLC is running a video

*nix specific usage questions
pettedemon
New Cone
New Cone
Posts: 9
Joined: 25 Feb 2022 17:37

Check if VLC is running a video

Postby pettedemon » 08 Aug 2022 17:43

Hi,
I have a vlc running in raspberry with a playlist 24/24 hours. How can I check if it is playing a video? sometimes there is the pid but it is not running a video. thanks

jill_vlabs
Developer
Developer
Posts: 13
Joined: 29 Apr 2022 11:14
Operating System: Linux

Re: Check if VLC is running a video

Postby jill_vlabs » 09 Aug 2022 10:32

do you mean like remotely from another device ?
or you want from the pi to know if a video is playing?

for remote control you have those option:
https://docs.videolan.me/vlc-user/3.0/e ... index.html

or via telnet :
https://wiki.videolan.org/Documentation:Modules/rc/

pettedemon
New Cone
New Cone
Posts: 9
Joined: 25 Feb 2022 17:37

Re: Check if VLC is running a video

Postby pettedemon » 09 Aug 2022 10:34

Hi,
I want to check if a video is running and have a response like TRUE so if it is FALSE I kill the pid of vlc and restart the playlist in loop. thanks


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 0 guests