Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/al32-mktorrent.sh
diff options
context:
space:
mode:
authorSimon Doppler <dopsi@dopsi.ch>2017-08-07 16:33:12 +0200
committerSimon Doppler <dopsi@dopsi.ch>2017-08-07 16:37:20 +0200
commit60eb998226809b43bec8e47ab729c5fa6898c90d (patch)
treec60ead15f9864733d96c0efcc4a39d8b93c9e761 /al32-mktorrent.sh
parentbf4a5c260a1ef7f237b6a26e1965d89470db85bd (diff)
Create feed from magnet links
Diffstat (limited to 'al32-mktorrent.sh')
-rw-r--r--al32-mktorrent.sh7
1 files changed, 6 insertions, 1 deletions
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: