From 84940d9b57eb4a6ab07de6b7b3058ba3c46ac8c8 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 25 Oct 2021 07:51:04 +0000 Subject: auto-convert urn:btih to magnets using an external script on it... not sure where that script lives atm. --- urnresolve | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'urnresolve') diff --git a/urnresolve b/urnresolve index 1ce59be..e33f56e 100755 --- a/urnresolve +++ b/urnresolve @@ -39,3 +39,7 @@ if [ "$nid" = "fcc" ];then grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2 fi fi + +if [ "$nid" = "btih" ];then + btih2magnet "$nss" +fi -- cgit v1.2.3