ytdl_hook errors
i use qutebrowser on nixos which uses mpv to play hints with following code
command.config.bind('<Ctrl+/>', 'hint links spawn --detach mpv {hint-url}')
this thriws the errors below, any ideas?????
[ytdl_hook]
[ytdl_hook] youtube-dl failed: not found or not enough permissions
Failed to recognize file format.
Posted Dec 31, 2022, 1:23 PM UTC
11
Update 1
$ whereis yt-dlp
then paste the nixos store path into mpv.conf
Update 2
forget Update 1 that will break when updating nixos
use /run/current-system/sw/bin as path to point to yt-dlp