Added yt_dlp directly, added rename format options, added xclip clipboard subproc, added copy name context menu option

This commit is contained in:
2022-12-02 20:00:26 -06:00
parent e4e5e08cb4
commit b84fd38523
976 changed files with 191451 additions and 6 deletions

View File

@@ -10,8 +10,10 @@
function main() {
cd "$(dirname "")"
echo "Working Dir: " $(pwd)
LINK=`xclip -selection clipboard -o`
yt-dlp --write-sub --embed-sub --sub-langs en -o "${1}/%(title)s.%(ext)s" "${LINK}"
python "${HOME}/.config/solarfm/plugins/youtube_download/yt_dlp/__main__.py" \
--cookies-from-browser firefox --write-sub --embed-sub --sub-langs en \
-o "${1}/%(title)s.%(ext)s" "${LINK}"
}
main "$@";