Use Evil_Bob's idiotbox for youtube metadata link. - annna - Annna the nice fri… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit fc76144c7ee11ddab8d5efb32c77d7cbff79b9f3 | |
parent ae8667b55b8ca220d6a84efb0fc79cb7b735d571 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 26 Feb 2023 21:31:07 +0100 | |
Use Evil_Bob's idiotbox for youtube metadata link. | |
Diffstat: | |
M annna-message-common | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -184,7 +184,9 @@ case "${text}" in | |
urititle="$(curl-grabtitle "${nuri}")" | |
sturi="$(subtitle-paste "${uri}")" | |
nuris="invidious: ${nuri}" | |
- nocuri=0 | |
+ ytid="${uri#https*://*/watch?v=}" | |
+ nuris="${nuris} ; metadata: gophers://git.codemadness.org/1/id… | |
+ nocuri=1 | |
;; | |
*) | |
mimetype="$(file -b --mime-type "${tmpf}")" |