oltodosel / interSubs

Interactive subtitles for mpv. Instantly translate selected word/sentence.
MIT License
225 stars 20 forks source link

When I click F5 my subtitles disappear. #38

Closed oltodosel closed 3 years ago

oltodosel commented 3 years ago

I have alike proplem. My version mpv is 0.33.0. When I click F5 my subtitles disappear. I don't know why. I used "Ubuntu 20.10" and last version "interSubs"

Originally posted by @adriannedbailo in https://github.com/oltodosel/interSubs/issues/37#issuecomment-808379065

oltodosel commented 3 years ago

@adriannedbailo Start mpv through console and see if there are any errors. Try other compositors or WMs.

adriannedbailo commented 3 years ago

Cannot find main. for any supported scripting backend in: /home/artur/.config/mpv/scripts/pycache Can't load unknown script: /home/artur/.config/mpv/scripts/interSubs.py Can't load unknown script: /home/artur/.config/mpv/scripts/interSubs_config.py [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set (+) Video --vid=1 () (h264 1920x1080 23.976fps) Video --vid=2 [P] (mjpeg) (+) Audio --aid=1 --alang=rus () (aac 2ch 48000Hz) Audio --aid=2 --alang=rus (ac3 6ch 48000Hz) Audio --aid=3 --alang=eng (aac 2ch 48000Hz) Audio --aid=4 --alang=eng (ac3 6ch 48000Hz) (+) Subs --sid=1 --slang=eng () (eia_608) File tags: Artist: Breaking Bad Album: Breaking Bad, Season 5 Album_Artist: Breaking Bad Date: 2012-09-02T07:00:00Z Description: Walt ties up loose ends. Seeing the evidence of his success, he makes a startling and dangerous Genre: Drama Rating: 0 Title: Gliding Over All Track: 8/16 AO: [pulse] 48000Hz stereo 2ch float VO: [gpu] 1920x1080 yuv420p AV: 00:00:35 / 00:47:18 (1%) A-V: 0.000 [interSubs] Starting interSubs ... Traceback (most recent call last): 0.000 File "/home/artur/.config/mpv/scripts/interSubs.py", line 111, in class TokenAcquirer_DISABLED: File "/home/artur/.config/mpv/scripts/interSubs.py", line 136, in TokenAcquirer_DISABLED import httpx ModuleNotFoundError: No module named 'httpx' (Paused) AV: 00:03:00 / 00:47:18 (6%) A-V: 0.000

oltodosel commented 3 years ago

ModuleNotFoundError: No module named 'httpx'

Install httpx for python.

adriannedbailo commented 3 years ago

It works now. Thank you!