From 7888574b1c18c77b75e5c6c5930cd0709f16898a Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Thu, 3 Feb 2022 22:22:11 -0500 Subject: Catching up --- .local/bin/peertubetorrent | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .local/bin/peertubetorrent (limited to '.local/bin/peertubetorrent') diff --git a/.local/bin/peertubetorrent b/.local/bin/peertubetorrent new file mode 100755 index 0000000..7a7a483 --- /dev/null +++ b/.local/bin/peertubetorrent @@ -0,0 +1,7 @@ +#!/bin/sh +# torrent peertube videos, requires the transadd script +# first argument is the video link, second is the quality (480 or 1080) +# 13/07/20 - Arthur Bais + +link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent" +transadd "$link" -- cgit v1.2.3