ytfzf icon indicating copy to clipboard operation
ytfzf copied to clipboard

[BUG]: Ytfzf on wayland launches mpv with massive delay

Open the-spacecowboy opened this issue 3 years ago • 2 comments

Describe the bug

Using ytfzf on wayland results on mpv launching with a delay of around 5 minutes

To Reproduce

Using ytfzf on wayland

Expected behavior

Quicker launch time after selecting a video specially in normal length videos

Screenshots

Information

  • OS: Arch
  • Terminal: Kitty
  • Ytfzf version: 2.5.0
  • Output of ls -l "$(which sh)" (if your using fish: ls -l (which sh)): lrwxrwxrwx 1 root root 4 Jan 8 2022 /usr/bin/sh -> bash*

Additional context

I also tried playing a youtube video using mpv straight up and it launched in a few seconds, also tried on the same system on a X11 session and it also loaded almost instantly

the-spacecowboy avatar Sep 25 '22 16:09 the-spacecowboy

Do you have any config file, if so what's in it?

You could try using --url-handler-opts="--vo=wlshm", in ytfzf but considering mpv works by itself in wayland i don't think this will have much effect.

Euro20179 avatar Sep 25 '22 19:09 Euro20179