annna-message-common: fix youtube embed links - annna - Annna the nice friendly… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 9a1d6976affbac702a1a0f873b0f8a3004204404 | |
parent fc76144c7ee11ddab8d5efb32c77d7cbff79b9f3 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 26 Feb 2023 21:35:14 +0100 | |
annna-message-common: fix youtube embed links | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -185,6 +185,7 @@ case "${text}" in | |
sturi="$(subtitle-paste "${uri}")" | |
nuris="invidious: ${nuri}" | |
ytid="${uri#https*://*/watch?v=}" | |
+ ytid="${ytid##*embed/}" | |
nuris="${nuris} ; metadata: gophers://git.codemadness.org/1/id… | |
nocuri=1 | |
;; |