Page 1 of 1

Module does not load

Posted: 17 Jun 2011 21:46
by arborbr01
I'd made a new module for vlc.
This module is used to search IP in the net that belongs to cameras.
I'd tested it stand alone and it works fine.
I'd insert it in the vlc. Till now everything is OK.
The problem is: It does not execute.
I need it to be executed before any other module, every time I execute vlc, because I must to save the cameras' IPs in a table.
What should I do to make it to be executed always?
I select it to be put in the CAT_INPUT category and SUBCAT_INPUT_ACCESS subcategory,
and choose a score of -2, because I think that this is the highest priority just like qt4 and others.
Am I right? I think no.
What you advise to me to do?

I'd had another idea:
May I try to add this IP look up as function to be executed directly in vlc.c?

Thanks in advance.

Re: Module does not load

Posted: 19 Jun 2011 21:49
by Jean-Baptiste Kempf
does vlc --list lists it?

Re: Module does not load

Posted: 20 Jun 2011 13:22
by RĂ©mi Denis-Courmont
VLC only "executes" plugins that match the needed capability in a given situation.

Note that the category and subcategory are totally irrelevant. They just control where the plugin gets sorted in the preference panel. Only the capability matters.

Re: Module does not load

Posted: 20 Jun 2011 15:11
by arborbr01
1."VLC only "executes" plugins that match the needed capability in a given situation"
What exatly means that?

2.Here is my capability declaration:

set_capability( "access", -2 )

3. Yes, vlc --list lists it like I show below:

access_findip IP Look Up plug-in

That's the way I defined it.