Pigpog / vlc-discord-rpc

Discord rich presence for VLC media player.
MIT License
207 stars 30 forks source link

VLC freezing every like 15min with this #69

Open Alib234 opened 2 years ago

Alib234 commented 2 years ago

So as I wrote in the title this makes my VLC become unresponsive about every 15minutes making me start the whole thing again and I see no errors present in the terminal

Alib234 commented 2 years ago

btw this only happens in non-detached mode only

Pigpog commented 2 years ago

I have had VLC freeze when using vlc-discord-rpc on a few occasions in the past, and had others tell me about the same issue. I can't willingly replicate the issue, but it will happen at seemingly random times. You seem be saying it crashes very predictably. If I knew more about the circumstances I could maybe replicate the problem and troubleshoot it.

I'm not sure what causes it, since vlc-discord-rpc's interaction with VLC is pretty straightforward. All it does is send an HTTP request to VLC's web interface every 5 seconds to get a status report.

This leads me to believe it's an issue with VLC's web interface itself, which has been code-rotting for years from what I can tell.

Please tell me which operating system you are running, which version of VLC you use, and any info you want to share about the time(s) it crashed.

Alib234 commented 2 years ago

I'm on arch linux 64bit and if it matters with kernel: 5.15.8-228-tkg-pds, vlc version: VLC version 3.0.16 Vetinari (3.0.13-8-g41878ff4f2) and there's really nothing to tell it either like "plays" the next thing on the playlist, just without sound and stops after 5s and freezes or just does the vlc orange buffer thing of death while not being interactable at all

Pigpog commented 2 years ago

Sorry, I've been quite busy lately.. I'll have more time to investigate soon.