User Tools

Site Tools


howto:firefox-external-app-launcher

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howto:firefox-external-app-launcher [2023/12/30 01:09] Wulf Rajekhowto:firefox-external-app-launcher [2023/12/30 03:41] (current) Wulf Rajek
Line 24: Line 24:
 url=$1 url=$1
 tmp=$(mktemp -t ytdlp.XXXXXXX) tmp=$(mktemp -t ytdlp.XXXXXXX)
-yt-dlp_linux $url 2>&1 | tee $tmp+~/.local/bin/yt-dlp_linux $url 2>&1 | tee $tmp
 grep -q -i "ERROR:" $tmp && (echo ""; echo "An error occurred. Press any key"; read line;) grep -q -i "ERROR:" $tmp && (echo ""; echo "An error occurred. Press any key"; read line;)
 rm $tmp rm $tmp
Line 34: Line 34:
 Adjust the Firefox External App Launcher args to: Adjust the Firefox External App Launcher args to:
 <code> <code>
--- ssh user@remotesystem "ytdlp-wrapper.sh [HREF]"+-- ssh user@remotesystem "/home/user/.local/bin/ytdlp-wrapper.sh [HREF]"
  
 #for local system use only: #for local system use only:
 -- ytdlp-wrapper.sh [HREF] -- ytdlp-wrapper.sh [HREF]
 </code> </code>
howto/firefox-external-app-launcher.1703898579.txt.gz · Last modified: 2023/12/30 01:09 by Wulf Rajek