exebetche / vlsub

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

Error when playing via network stream #159

Closed Timic3 closed 7 years ago

Timic3 commented 7 years ago

When I am watching via network stream (Popcorn Time, Web Torrent...) I get an error and window doesn't show up at all. The error I get is:

qt4 debug: activating or triggering extension 'VLsub 0.10.0' lua debug: Activating extension 'VLsub 0.10.0' lua debug: [VLsub] Welcome lua debug: [VLSub] Working directory: C:\Users\Me\AppData\Roaming\vlc\lua\extensions\userdata\vlsub lua debug: [VLSub] Loading config file: C:\Users\Me\AppData\Roaming\vlc\lua\extensions\userdata\vlsub\vlsub_conf.xml lua debug: [VLSub] Video URI: http://localhost:50536/2 lua warning: Error while running script C:\Program Files (x86)\VideoLAN\VLC\lua\extensions\vlsub.lua, function activate(): ...am Files (x86)\VideoLAN\VLC\lua\extensions\vlsub.lua:1460: bad argument #1 to 'match' (string expected, got nil) lua error: Could not activate extension! lua debug: Deactivating 'VLsub 0.10.0' lua debug: [VLsub] Bye bye! lua debug: Extension thread end: 'VLsub 0.10.0'

I patched the error myself, but I suggest you find a solution to this.

Timic3 commented 7 years ago

Fixed in https://github.com/exebetche/vlsub/commit/dcb7eaae4837a7d53b903a3b09acc2b01a09e099