From 60eb998226809b43bec8e47ab729c5fa6898c90d Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Mon, 7 Aug 2017 16:33:12 +0200 Subject: Create feed from magnet links --- al32-mktorrent.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'al32-mktorrent.sh') diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index 1103364..3fdb196 100644 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -103,5 +103,10 @@ fi mktorrent --announce=http://dopsi.ch:6969/announce --web-seed="$(join_by ',' "${available_mirrors[@]}")" "$iso_string" echo -e "$fg_reset${fg_bold}Create magnet link...$fg_reset" -transmission-show --magnet "$iso_string.torrent" +magnet_link="$(transmission-show --magnet "$iso_string.torrent")" +echo "$magnet_link" + +echo -e "$fg_reset${fg_bold}Create RSS feed files...$fg_reset" +python magnet2feed.py "$magnet_link" "$iso_date" + # vim: set ts=4 sw=4: -- cgit v1.2.3