Module does not load

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
arborbr01
Blank Cone
Blank Cone
Posts: 26
Joined: 10 Feb 2011 19:41
VLC version: 2.0.5
Operating System: Linux
Location: Sao Paulo - Brasil
Contact:

Module does not load

Postby arborbr01 » 17 Jun 2011 21:46

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Module does not load

Postby Jean-Baptiste Kempf » 19 Jun 2011 21:49

does vlc --list lists it?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Module does not load

Postby Rémi Denis-Courmont » 20 Jun 2011 13:22

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

arborbr01
Blank Cone
Blank Cone
Posts: 26
Joined: 10 Feb 2011 19:41
VLC version: 2.0.5
Operating System: Linux
Location: Sao Paulo - Brasil
Contact:

Re: Module does not load

Postby arborbr01 » 20 Jun 2011 15:11

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests