Dear s! Please post bug reports about FDM here!

FDM plugins SDK 5965a

s: Alex 1a6c65

Alex
FDM Team
Posts: 2950
ed: Mon Jul 12, 2004 12:17 pm

FDM plugins SDK 5965a

Alex » Wed Nov 19, 2008 12:13 am

We've released the first version of SDK.
Look at this post.
All developers are welcome to post their here.
Alex,
FDM development team
Top
dgu

FdmApiPluginShutdown is never called 5p64r

Postby dgu » 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 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.
Top
Alex
FDM Team
Posts: 2950
ed: Mon Jul 12, 2004 12:17 pm

2h3739

Alex » Mon Feb 16, 2009 6:31 pm

Thank you for report. This will be fixed in the next update.
Alex,

FDM development team
Top
Guest

2h3739

Postby Guest » Thu Apr 02, 2009 12:37 pm

Hi

When creating s via the sdk, I'd like to see 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 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 starts automatically or not.

My plugin is essentially a verification plugin for rapidshare s. My isp implements a transparent proxy which occasionally results in me ing the referral page instead of the itself. In these cases, my plugin detects that the 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!
Top
Windmill
Posts: 80
ed: Sun Nov 30, 2008 10:57 am
Location: Poland

2h3739

Windmill » Wed Jul 08, 2009 7:10 pm

Hi !

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

Could you make it available to write plugin in Delphi?
Top
Windmill
Posts: 80
ed: Sun Nov 30, 2008 10:57 am
Location: Poland

2h3739

Windmill » Tue Jul 14, 2009 4:18 pm

Will Delphi be ed?
Please answer.
Top
Alex
FDM Team
Posts: 2950
ed: Mon Jul 12, 2004 12:17 pm

2h3739

Alex » Tue Jul 14, 2009 7:15 pm

Windmill wrote:Will Delphi be ed?
Please answer.


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

FDM development team
Top
Guest

2h3739

Postby Guest » 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 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.
Reason: spam signature removed
Top
james26
Posts: 1
ed: Tue Jul 21, 2009 6:35 am

2h3739

james26 » Tue Jul 21, 2009 6:36 am

i want to make a pulgin for my C++
please answer me..
Top
Alex
FDM Team
Posts: 2950
ed: Mon Jul 12, 2004 12:17 pm

2h3739

Alex » Tue Jul 21, 2009 10:30 am

james26 wrote:i want to make a pulgin for my C++
please answer me..


What help do you need?
Alex,

FDM development team
Top
wikican
Posts: 2
ed: Mon Apr 26, 2010 4:13 pm

Re: FDM plugins SDK 6304p

wikican » Tue Apr 27, 2010 10:06 am

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.. ?
Top
micro
Posts: 8
ed: Thu Jul 28, 2011 10:53 am

Re: FDM plugins SDK 6304p

micro » Tue Aug 02, 2011 8:37 pm

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 to the plug-in, virtually all the things you can see on the interface: speed, sections, mirrors, log data, as well as global data like list of s, 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.
Top
Caio

Re: FDM plugins SDK 6304p

Postby Caio » 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 jer does? As of your experience, is it possible to do through plugins?
Top
micro
Posts: 8
ed: Thu Jul 28, 2011 10:53 am

Re: FDM plugins SDK 6304p

micro » Mon Jan 16, 2012 5:48 pm

Don't know what you're speaking about exactly, just posting a tip here for anyone who might be interested: for monitoring new s I had to constantly monitor the list of s and their count (taking care not to eat U 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 s 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.
Top
matrix1536
Posts: 1
ed: Mon Feb 25, 2013 9:35 pm

Re: FDM plugins SDK 6304p

matrix1536 » Tue Feb 26, 2013 9:08 am

Hi,
I want to ask a question about something else.
I'm using COMObjects to communicate with FDM.
I can add s without any problem.
However I can not change the Agent.

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

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

Return to “General forum”

Who is online 3p6y2t

s browsing this forum: No ed s and 22 guests

 

  4avx