Ubuntu braimstorm
It is currently Sat May 25, 2013 10:28 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: FDM plugins SDK
PostPosted: Wed Nov 19, 2008 12:13 am 
Offline

Joined: Mon Jul 12, 2004 12:17 pm
Posts: 1814
We've released the first version of SDK.
Look at this post.
All developers are welcome to post their feedback here.

_________________
Alex,
FDM development team


Report this post
Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 16, 2009 5:03 pm 
Hello,

I've noticed that the function "FdmApiPluginShutdown" is never called (at least in v3.0 builds 844 and 848). My plugin implements and exports the function correctly; I did some debugging, too: FDM gets the correct function address, but it never calls the function.
Look, my plugins thread is supposed to end when FDM is closing. So, I have a loop inside the plugins thread function and I'm calling "Sleep" at the end of that loop to wait some time before repeating it. Now, sometimes, when FDM is closing, the plugin thread is not stopped, and the plugin dll is not unloaded (I don't receive a "DLL_PROCESS_DETACH" call to the dll entry point); in such case, FDM's windows are closed and to the user it seems FDM closed down successfully, but it just hangs and is still visible in the Task manager's process list.

It would be nice if you'd call "FdmApiPluginShutdown" when FDM is about to close, so one can terminate the plugin thread properly.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 16, 2009 6:31 pm 
Offline

Joined: Mon Jul 12, 2004 12:17 pm
Posts: 1814
Thank you for report. This will be fixed in the next update.

_________________
Alex,
FDM development team


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Apr 02, 2009 12:37 pm 
Hi

When creating downloads via the sdk, I'd like to see support for most of the options available in the manual process. The 2 that stand out for me at the moment are:

1. The ability to place the new download at a particular position in the list (or at the very least, place it at the top of the list).

2. The ability to specify whether the download starts automatically or not.

My plugin is essentially a verification plugin for rapidshare downloads. My isp implements a transparent proxy which occasionally results in me downloading the referral page instead of the download itself. In these cases, my plugin detects that the download has failed and restarts it from the original url. Using the current sdk without the above functionality requires quite a bit of workaround to get things working for me at all - and even then not 100%.

Thanks!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 08, 2009 7:10 pm 
Offline

Joined: Sun Nov 30, 2008 10:57 am
Posts: 80
Location: Poland
Hi !

I want to make plugin, but my C++ knowledge is very poor.

Could you make it available to write plugin in Delphi?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 14, 2009 4:18 pm 
Offline

Joined: Sun Nov 30, 2008 10:57 am
Posts: 80
Location: Poland
Will Delphi be supported?
Please answer.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 14, 2009 7:15 pm 
Offline

Joined: Mon Jul 12, 2004 12:17 pm
Posts: 1814
Windmill wrote:
Will Delphi be supported?
Please answer.


I do not know. But we have no such plans currently.

_________________
Alex,
FDM development team


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jul 16, 2009 6:17 am 
Look, my plugins thread is supposed to end when FDM is closing. So, I have a loop inside the plugins thread function and I'm calling "Sleep" at the end of that loop to wait some time before repeating it. Now, sometimes, when FDM is closing, the plugin thread is not stopped, and the plugin dll is not unloaded (I don't receive a "DLL_PROCESS_DETACH" call to the dll entry point); in such case, FDM's windows are closed and to the user it seems FDM closed down successfully, but it just hangs and is still visible in the Task manager's process list.

==============================


Last edited by Usher on Sat May 08, 2010 10:26 am, edited 1 time in total.
spam signature removed


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 21, 2009 6:36 am 
Offline

Joined: Tue Jul 21, 2009 6:35 am
Posts: 1
i want to make a pulgin for my C++
please answer me..

_________________
Life Insurance
Public Speaking Techniques


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 21, 2009 10:30 am 
Offline

Joined: Mon Jul 12, 2004 12:17 pm
Posts: 1814
james26 wrote:
i want to make a pulgin for my C++
please answer me..


What help do you need?

_________________
Alex,
FDM development team


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: FDM plugins SDK
PostPosted: Tue Apr 27, 2010 10:06 am 
Offline

Joined: Mon Apr 26, 2010 4:13 pm
Posts: 2
Hello, we need starting and finished scripts..
this feture like sounds, starting, stopped, finished sounds..

yes we have sounds and fdm is can have some sounds on started,stopped,all finished events.

But we need execute some scripts or some exe program this events.

i search it. can i write plugin ? but i dont find anythings...

can you develop this feature.

how can i write plugin for this events.. ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: FDM plugins SDK
PostPosted: Tue Aug 02, 2011 8:37 pm 
Offline

Joined: Thu Jul 28, 2011 10:53 am
Posts: 8
Hello. Currently the sdk contains few functions and to be frank with you, it's kinda useless. :(
For a revolution in the plugin sdk, i could think of some features:
1. Supply full details about the download to the plug-in, virtually all the things you can see on the user interface: download speed, sections, mirrors, log data, as well as global data like list of downloads, ALL fdm settings (too much to request? :mrgreen: ), etc. You don't expect a plug-in programmer to access all those through the pure virtual function getFdmWindowHandle() do you?!
2. Let plug-ins create their own tabs both in the main tab bar and in the bottom tab bar. And let them generate and display HTML pages there. Come on... Just think about the flexibility this feature gives you... Programmers could create rich applications this way.
And i was just thinking if your team accepts additional programmers for developing fdm?
Regards.
micro.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: FDM plugins SDK
PostPosted: Wed Sep 07, 2011 9:22 am 
Hi. Didn`t find the SDK, it'd be good to have a page detailing it instead of being within a post. I`m thinking if it would be possible to automaticly resolve donwload links from popular hosts like jdownloader does? As of your experience, is it possible to do through plugins?


Report this post
Top
  
Reply with quote  
 Post subject: Re: FDM plugins SDK
PostPosted: Mon Jan 16, 2012 5:48 pm 
Offline

Joined: Thu Jul 28, 2011 10:53 am
Posts: 8
Don't know what you're speaking about exactly, just posting a tip here for anyone who might be interested: for monitoring new downloads I had to constantly monitor the list of downloads and their count (taking care not to eat CPU time!). When the count changes, you have to compare all new URLs with previous ones (which you saved into your own array) to find which downloads were added/removed. Neither easy nor error-free; but it's the only way.

I hadn't had time to fully test my plug-ins and release them. If I do, I'll release the source codes too.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: FDM plugins SDK
PostPosted: Tue Feb 26, 2013 9:08 am 
Offline

Joined: Mon Feb 25, 2013 9:35 pm
Posts: 1
Hi,
I want to ask a question about something else.
I'm using COMObjects to communicate with FDM.
I can add downloads without any problem.
However I can not change the UserAgent.

I can see here that UserAgent string exists :
http://freedownload.svn.sourceforge.net ... iew=markup

But eventhough I change it (and I checked to see if it is changed, it does change.), the User Agent in the new download doesn't.
Is it a bug, or am I doing something wrong.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Copyright © 2004-2012. Free Download Manager.ORG. All rights reserved