Eisa01 / mpv-scripts

This repository contain scripts I have made for mpv media player...
BSD 2-Clause "Simplified" License
504 stars 35 forks source link

mpv --pause not working when using SimpleHistory #76

Closed candrapersada closed 1 year ago

candrapersada commented 1 year ago

why mpv --pause Files/URL not working when using SimpleHistory?

Eisa01 commented 1 year ago

From my testing SimpleHistory doesn't interfere with --pause flag. Perhaps a certain configuration or another script/s is causing this.

Kindly verify and provide some logs / samples.

candrapersada commented 1 year ago

mpv --pause https://www.youtube.com/watch?v=09cYQJBgKEs

mpv --pause https://www.youtube.com/watch?v=09cYQJBgKEs
[quality_menu] fetching available formats with youtube-dl...
 (+) Video --vid=1 (*) (h264 640x360 29.970fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
     Subs  --sid=1 --slang=en 'English' (webvtt) (external)
 (+) Subs  --sid=2 --slang=id 'Indonesian' (webvtt) (external)
[SimpleHistory] Added the below into history
[SimpleHistory] Ranking Linux Desktop Environments for 2023 🕒 00:00:00.000
VO: [gpu] 640x360 yuv420p
AO: [wasapi] 48000Hz stereo 2ch float
AV: 00:00:01 / 00:18:12 (0%) A-V:  0.000 Cache: 6.8s/742KB
Eisa01 commented 1 year ago

Just tested, pausing works fine. Kindly test without any script and default mpv config. Then test with only SimpleHistory using default config.