From 580c220cd12ec47fe2d598bf2b65e8558a17f60c Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sun, 24 Nov 2019 14:27:43 +0000 Subject: [PATCH] mutt: first check if all selected videos are playable This makes it easier to figure out which video doesn't exist anymore and remove the mail containing it from the selection. --- mutt/mutt_mpv | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/mutt/mutt_mpv b/mutt/mutt_mpv index e4d8edf..3f62e56 100755 --- a/mutt/mutt_mpv +++ b/mutt/mutt_mpv @@ -2,8 +2,13 @@ urls=( $(grep -Eo '^https?://www.youtube.com/watch\?v=[[:alnum:]_-]{11}'