Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Community Cafe (http://www.bvlist.com/forumdisplay.php?f=18)
-   -   Create .Torrent File(for autodl plugin) (http://www.bvlist.com/showthread.php?t=6836)

banana 5th August 2011 13:06

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*.

:wallbash:

So,can somebody help me with this script?
thanks in advance

Bump: nobody can't make this script?:suicide:
I thought someone will help me here, but I was wrong:wallbash::wallbash:


All times are GMT +2. The time now is 20:34.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.