Comments

You must log in or register to comment.

Oaloo OP wrote

thank you, but i was hoping for something i could automate to some extent. like on a cron job.

1

cumlord wrote (edited )

tuckit can be used to do this sort of thing http://git.simp.i2p/simp/TuckIt

it uses either mktorrent or torf to hash torrents. if you just need that functionality to automate things maybe seeing what's going on http://git.simp.i2p/simp/TuckIt/src/branch/main/modules/torrent_functions.py could help.

you could check a directory every so often and give one of these things the location of any new files, then have it symlink the data files to the torrent client directory then move the .torrent file in. http://git.simp.i2p/simp/i2music/src/branch/main/updateplaylists.py is doing other things, but this is what it does starting line 678

1