From fadcf7d7c1925558fde4d20261eb8045ec3238dc Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 13 Dec 2023 03:44:57 +0000 Subject: [PATCH] mpv: youtube: associate with another URL variant --- hosts/common/programs/mpv.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/common/programs/mpv.nix b/hosts/common/programs/mpv.nix index 6c040e0cc..04001d6b8 100644 --- a/hosts/common/programs/mpv.nix +++ b/hosts/common/programs/mpv.nix @@ -127,6 +127,7 @@ in mime.associations."video/webm" = "mpv.desktop"; mime.associations."video/x-matroska" = "mpv.desktop"; mime.urlAssociations."^https?://(www.)?youtube.com/watch\?.*v=" = "mpv.desktop"; + mime.urlAssociations."^https?://(www.)?youtube.com/v/" = "mpv.desktop"; mime.urlAssociations."^https?://(www.)?youtu.be/.+" = "mpv.desktop"; }; }