vlsub not loading subtitles from compressed files
Reverend-Jim opened this issue · 2 comments
Reverend-Jim commented
When subtitles are downloaded by vlsub as srt files they load immediately into vlc and display properly. However, I am seeing, more and more, that subtitles are being downloaded as compressed (typically .gz) files. Unfortunately this seems to screw up the process. I suspect that in the first case the process is
- vlsub downloads the srt file and renames it to match the current video file name
but in the second case
- vlsub downloads the .gz file
- then creates the destination .srt file
- vlc opens the .srt file
- vlsub opens the .gz file and reads the .srt text
- vlsub tries to write the text to the destination .srt file
- and fails (quietly) because the file is locked by vlc
If this is the case then I suggest
- vlsub downloads the .gz file
- then creates a temporary file
- extracts the .srt text from the compressed file
- saves it to the temp file
- then renames .tmp to the final .srt name
thanhl94 commented
VLC 3.0.2 included VLSub 0.11, worked now :)
Stanojoski commented
I have the same issue. I see the .gz file in the movie folder. The .srt file is 0 bytes. I am using VLC 3.0.8
Is there a fix for this?