Skip to content

Tag: python-vlc

VLC trigger action when media reaches timestamp

I’d like to the ability to run some code when the timestamp of a file has been reached (i.e. trigger an alert) How can this be achieved? I was looking at this … edia-time/ However, I feel like I’m really looking for some kind of daemon (i.e. start the media file with VLC and then have this “listener” perform

play as many sounds as loop count in python

I want the function to repeat for the number of loops and ring 10 times as in the example, but it just keeps ringing once every time I try or change it. How can I fix this? And does it make more sense to use for instead of while ? Answer just stop the alarm at the end of