Only show youtube metadata, if some title was found. - annna - Annna the nice f… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 33379a4e5396ec5822e14050600801877e2e0b1f | |
parent 3b0a9356f465befe273691963a93f49d1ea92b44 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sun, 26 Jan 2025 15:17:51 +0100 | |
Only show youtube metadata, if some title was found. | |
Diffstat: | |
M annna-message-common | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -281,6 +281,8 @@ case "${text}" in | |
sturi="$(subtitle-paste "${uri}")" | |
nuris="${nuris} ; metadata: gophers://codemadn… | |
fi | |
+ # If there was no title found, do not display. | |
+ [ -z "${urititle}" ] && titleend=1 | |
nocuri=1 | |
else | |
titleend=1 |