Freeze of VLC when opening a broken file with an infinite repeat enabled
Posted: 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.
- 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.