[vlc-devel] How to enable a (second) interface plugin

Rémi Denis-Courmont remi at remlab.net
Tue Jan 21 14:53:21 CET 2020


There are no plugin types that does what you ask.

Le 19 janvier 2020 11:27:43 GMT+02:00, Sridhar Sarnobat <sridhar.sarnobat at gmail.com> a écrit :
>What I'm trying to do
>Create a plugin in C (not Lua) that will write the URI of the currently
>playing media file to /tmp/now_playing.txt
>What I am unable to do
>Get the plugin to load (so that the callback gets invoked each time a
>file starts playing). I don't want to modify vlc's core source, I'm
>the plugin can be loaded simply by being put in the right directory and
>following the naming convention.
>How do I ensure the plugin callback will get invoked when a playlist
>is changed?
>What I've tried
>Copying modules/control/dummy.c and putting a print statement inside
>- this doesn't get printed. I can't put "-I dummy" because then the
>interface won't get loaded. I don't know if you can load multiple
>I've been trying to understand how plugins are loaded (and have read
>https://wiki.videolan.org/Documentation:VLC_Modules_Loading/) but all I
>see are static calls in the core to vlc_module_load(), and
>Sridhar Sarnobat
>San Jose, CA 95128 | USA
>Phone: +1 (408) 758-8574‬
>Google Chat: sarnobat.hotmail at gmail.com

Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200121/70f29713/attachment.html>

More information about the vlc-devel mailing list