exebetche / vlsub

VLC extension to download subtitles from opensubtitles.org
1.34k stars 345 forks source link

vlsub unable to load subtitles #237

Open theguy000 opened 4 years ago

theguy000 commented 4 years ago

vlc 3.0 with the latest vlsub release. it doesn't decompress the subtitle after the download. it just gets stuck at 100% and makes null subtitle file with the same name.

EricViala commented 4 years ago

Same here.

Xubuntu 20.04 VLC : 3.0.9.2 Vetinari VLSub : 0.11.1

Message : "Error" "Unable to open the file"

The compressed subtitle is found and downloaded, but not decompressed nor loaded in VLC.

Not sure but it could be since I upgraded Xubuntu from 19.10 to 20.04

I vaguely remember that I had a similar problem some years ago, can't remember the details though.

main debug: auto hiding mouse cursorlua debug: Clicking '/usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac': 'Search by hash' lua debug: [VLSub] Video URI: file:///home/joe/cooldir/a.cool.foreign.flick.mkv lua debug: a.cool.foreign.flick /home/joe/cooldir/a.cool.foreign.flick/ true [VLSub] file info a cool foreign flick file:///home/joe/cooldir/a.cool.foreign.flick.mkv lua debug: [VLSub] Read hash data from stream main debug: creating access: file:///home/joe/cooldir/a.cool.foreign.flick.mkv main debug: (path: /home/joe/cooldir/a.cool.foreign.flick.mkv) main debug: looking for access module matching "file": 28 candidates main debug: using access module "filesystem" main debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates cache_read debug: Using stream method for AStream* cache_read debug: starting pre-buffering cache_read debug: received first data after 0 ms cache_read debug: pre-buffering done 1024 bytes in 0s - 76923 KiB/s main debug: using stream_filter module "cache_read" main debug: looking for stream_filter module matching "any": 26 candidates lua debug: Trying Lua scripts in /home/joe/.local/share/vlc/lua/playlist lua debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/playlist lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/anevia_streams.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/anevia_xml.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/appletrailers.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/bbc_co_uk.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/cue.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/dailymotion.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/jamendo.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/koreus.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/liveleak.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/newgrounds.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/rockbox_fm_presets.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/soundcloud.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/twitch.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/vimeo.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/vocaroo.luac lua debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac lua debug: Trying Lua scripts in /usr/share/vlc/lua/playlist main debug: no stream_filter modules matched lua debug: [VLSub] Video hash: 75a9302057d65296 lua debug: [VLSub] Video bytesize: 910621293 main debug: removing module "cache_read" main debug: removing module "filesystem" main debug: net: connecting to api.opensubtitles.org port 80 main debug: connection succeeded (socket = 48) main debug: net: connecting to api.opensubtitles.org port 80 main debug: connection succeeded (socket = 48)main debug: auto hiding mouse cursor lua debug: Clicking '/usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac': 'Download selection' main debug: net: connecting to dl.opensubtitles.org port 80 main debug: connection succeeded (socket = 48) main debug: auto hiding mouse cursorlua debug: Clicking '/usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac': 'Close' lua debug: [VLsub] Bye bye! main debug: net: connecting to api.opensubtitles.org port 80 main debug: connection succeeded (socket = 48) main debug: auto hiding mouse cursor

rasitayaz commented 4 years ago

Having the same issue here. I am using linux and VLC 3.0.9.2

rasitayaz commented 4 years ago

Having the same issue here. I am using linux and VLC 3.0.9.2

I tried several different versions and I encountered different problems/bugs with each of them. But finally I found a version which works perfectly fine in official VLC repository. I downloaded this exact version of the VLC and copied /share/lua/extensions/VLSub.lua file to my extensions folder:

https://github.com/videolan/vlc/releases/tag/4.0-dev

This one is working fine for me and I hope it works for you as well.

rfmsec commented 3 years ago

@RasitAyaz I have signed in specially to write thank you! :)

RhFortuna commented 3 years ago

Same here for Xubuntu 20.04, VLC 3.0.9.2, VLsub 0.10.2

It's looks like the program can't unzip files. Works only manually.

parsivan commented 2 years ago

Same i have the same problem even if i download it myself and add it manually when I select it nothing appears. VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2) I was trying to load a .ass subtitle that the translating team i work made it. we tested other apps. only vlc can't show it. or even download. here is the link to the subtitle

GitAlexToTheGreek commented 2 months ago

Hi,

Running Vlsub v11.1 - seems that since recently updating vlc to version 3.0.21, the plugin has a glitch...

When I click "Search by name", several results appear, however when I click "Download selection", the error message, "Unable to load subtitles" is displayed.

Can anyone assist? Should I revert Vlc versions?

Thanks in advance...

Edit: in case it's relevant, I do have my OpenSubtitles username & password stored in the Vlsub config.

AllanHigdon commented 2 months ago

My OS is Win10. I've updated to VLC 3.0.21 and run Vlsub 0.11.1. The subtitle downloads have worked for me. It may not matter, but I do not have my OpenSubtitles username and password stored in the config.

GitAlexToTheGreek commented 2 months ago

Thanks for the feedback...

========================

Error persists on my end - if anyone can assist, it'd be appreciated.

Worth mentioning: when going into Show Config and changing "What to do with subtitles" from "Load and save" to "Manual download" then going back and clicking "Download selection", a working dl link is provided. So it's a temporary workaround, but fixing Load & Save would still be ideal.

Screenshot 2024-06-17 125417

GitAlexToTheGreek commented 2 months ago

Can anyone assist with this? 🙏