Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vlsub not loading subtitles from compressed files #212

Open
Reverend-Jim opened this issue Apr 11, 2018 · 2 comments
Open

vlsub not loading subtitles from compressed files #212

Reverend-Jim opened this issue Apr 11, 2018 · 2 comments

Comments

@Reverend-Jim
Copy link

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

  1. vlsub downloads the srt file and renames it to match the current video file name

but in the second case

  1. vlsub downloads the .gz file
  2. then creates the destination .srt file
  3. vlc opens the .srt file
  4. vlsub opens the .gz file and reads the .srt text
  5. vlsub tries to write the text to the destination .srt file
  6. and fails (quietly) because the file is locked by vlc

If this is the case then I suggest

  1. vlsub downloads the .gz file
  2. then creates a temporary file
  3. extracts the .srt text from the compressed file
  4. saves it to the temp file
  5. then renames .tmp to the final .srt name
@thanhl94
Copy link

VLC 3.0.2 included VLSub 0.11, worked now :)

@Stanojoski
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants