Re: General Plugin Help

"Duilio J. Protti" <[email protected]> Thu, 28 Apr 2005 14:57:58 -0300
Newsgroups gmane.comp.multimedia.xmms.devel
Organization Universidad Nacional de Rosario
Message-ID <[email protected]>
Marcoski wrote:
> //callback functions see xmms/plugin.h for more information about 
> VisPlugin struct
> GeneralPlugin gtable={
>     NULL,        /* Filled in by xmms */
>     NULL,        /* Filled in by xmms */
>     -1,        /* The session ID for attaching to the control socket */
>     NULL,        /* The description that is shown in the preferences box */
>     init,        /* Called when the plugin is enabled */
>     NULL,        /* Show the about box */
>     configure,
>     cleanup        /* Called when the plugin is disabled or when xmms 
> exits */
> };

You can try setting the session ID to 0 instead of -1, as the tutorial
says. Probably, if session ID is different from zero, XMMS interpret
this as a valid session ID and don't set his own, so gets confused.


Bye,
Duilio Protti.