aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: custom command on file  (Read 1900 times)

hogacz

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
custom command on file
« on: June 23, 2006, 11:15:22 AM »

It would be nice to have option "execute custom command" in right-click context menu in downloads (transfers) list. It can be configurable similar to command on file completion, but pool of variables to pass should be larger - add path to met file for incomplete, full target file name, hash of course, last reception time, files status, number of sources etc.
Thakns to above, I could pass data of file that is either complete or not,  to my external handler and try to view file with my favourite applications, query my custom database of downloaded files and make decision whether I want to download or to cancel a file, and many other interesting things.
Logged
H

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: custom command on file
« Reply #1 on: June 23, 2006, 04:41:36 PM »

You're looking at it from the wrong angle. you can use amulecmd to QUERY that information from aMule's download list, not make the download list report your apps.
Logged