mpv: handle shorthand youtu.be URLs too

This commit is contained in:
Colin 2023-12-11 16:19:51 +00:00
parent 7ca2e5f539
commit 688b4edf13

View File

@ -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.)?youtu.be/.+" = "mpv.desktop";
};
}