|
#1
|
|||
|
|||
Create .Torrent File(for autodl plugin)
Hello everyone!
I want a simple script that create a .torrent file (with my announce url) after the download was finished and save that file to desktop. Largely,i know how to create a .torrent file.I think this is the code: Code:
my $torrent_name = "$release_name.torrent"; #Sets Name For Torrent File my $torrent_file = "$torrent_output\/$torrent_name"; #Sets Full Path For Torrent File my $torrent_command = "mktorrent -p -a \"$announce\" -o \"$torrent_file\" \"$output_file\""; #Creates The Command Used To Create A Torrent print "Making $torrent_name, Please Wait.\n"; #Alerts The User That We Are Going To Make A Torrent `$torrent_command`; #Creates The .torrent File and i write script name in preferences >2nd line, it give me a lot of errors in *client*. So,can somebody help me with this script? thanks in advance Bump: nobody can't make this script? I thought someone will help me here, but I was wrong |
Tags |
autodl , create , filefor , plugin , torrent |
|
|