Freeze of VLC when opening a broken file with an infinite repeat enabled

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
User avatar
Wohlstand
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2018 15:57
VLC version: 3.0.9.2
Operating System: Linux Mint 20.1
Location: Moscow, Russia

Freeze of VLC when opening a broken file with an infinite repeat enabled

Postby Wohlstand » 21 Feb 2020 11:26

This problem I had a very long time with any older and latest VLC versions. So, how it works:
- open VLC
- set repeat mode into forever
- open an invalid file that is broken and rejected for play
- VLC's GUI will be stuck and no way to control it, it will flicker with an unsuccessful attempt to play this invalid file.

The GIF demo: https://imgur.com/a/xZiBx0B

My suggestion on how to solve this:
Idea 1 (to keep playing of valid files in a playlist, just ignore invalid files):
- Make an internal counter of attempts to play files
- First valid song/video that got be played should reset that counter
- Once the limit of the counter (lets it will be a total count of songs in a playlist) will be reached, pop-up a message box to explain the situation and stop any future attempts to play that garbage
Idea 2:
- Once an invalid file got opened, simply, don't try to play it again or next file in a list, just auto-stop the player. It may be bad because it will just break the playing process of a big playlist because one minor silly file is broken.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests