GhostNaN / mpvpaper

A video wallpaper program for wlroots based wayland compositors.
GNU General Public License v3.0
765 stars 24 forks source link

[ytdl_hook] youtube-dl failed: not found or not enough permissions Failed to recognize file format. #55

Closed Vaisakhkm2625 closed 10 months ago

Vaisakhkm2625 commented 10 months ago

Showing error when running mpvpaper in a youtube url, but work in just mpv

https://github.com/GhostNaN/mpvpaper/assets/68694876/f89fd90c-ae40-42a2-b349-a5146621f2d4

GhostNaN commented 10 months ago

Works fine for me with yt-dlp installed. But let's look at the log file: mpvpaper -v -o "--log-file=output.txt" eDP-1 /my/video

Vaisakhkm2625 commented 10 months ago

😃 thanks.. that's was it... when mpv worked when i ran it directly, i assumed yt-dlp was installed...

~ via C via 🐍 took 29s 
❮ nix-shell -p yt-dlp mpvpaper

[nix-shell:~]$ mpvpaper eDP-1 https://www.youtube.com/watch?v=b4HI7jRqPOc
Cannot load libcuda.so.1
GhostNaN commented 10 months ago

Great to hear. Closing issue.