Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 5th August 2011, 13:06
banana banana is offline
Member
 
Join Date: Jan 2011
P2P
Posts: 1
Exclamation 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
But if i add those lines into script editor (i'm talking about autodl plugin for chatzilla>firefox)
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
Reply With Quote
Reply

Tags
autodl , create , filefor , plugin , torrent


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 08:44. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.