mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4536] better mldonkey_submit


From: Dennis Nezic
Subject: [Mldonkey-users] [patch #4536] better mldonkey_submit
Date: Wed, 19 Oct 2005 17:12:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7

URL:
  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4536>

                 Summary: better mldonkey_submit
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: dennisne
            Submitted on: Wed 10/19/05 at 17:12
                Category: Improved interfaces
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

it is a shell script (instead of the previous perl script), that accepts any
link (torrent, http, ftp, ed2k, etc. -- assuming the network is enabled), and
sends it to a running mldonkey via the http interface.

a big advantage to it, besides accepting any link, is it can prompt the user
visually of mldonkey's response, and thus can integrate well with web
browsers. (btw, if using firefox, i highly recommend using the download-with
extension, http://downloadwith.mozdev.org, to send links to this script).

it uses xmessage for visual prompting (if no console exists), perl to
uri_escape the url, and wget to perform the http interaction.

i'm not sure how cross-platform this is =)

the main potential problem with it, is how to pass login information. the
previous script simply did not allow this! it hard-coded the "admin" user,
but left the password blank. this script uses gentoo's /etc/conf.d/mldonkey,
which contains all the necessary login info (USERNAME, PASSWORD, SERVER,
PORT). i like this option, as it provides a central location for such
preferences, and makes security easier to manage. this way, anybody can
execute the script, but only those with read permission to the config file
can use it.

for other distributions, we can probably add an extra preference to specify
which config file to use.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 10/19/05 at 17:12  Name:
mldonkey-2.6.5.better_mldonkey_submit.patch  Size: 1.9KB   By: dennisne

<http://savannah.nongnu.org/patch/download.php?item_id=4536&item_file_id=5346>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4536>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]