Revert "Replace peerflix script with a shell alias"

This reverts commit ac6a2451db.
This commit is contained in:
2022-06-10 01:10:06 +02:00
parent 330180f5b1
commit bb89177ff9
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
directory=/tmp/webtorrent
player=mpv
webtorrent download "$1" -s -o "$directory" --"$player"
read -rp "File number: " nr
webtorrent download "$@" -s "$nr" -o "$directory" --"$player"