[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmms-devel
Subject:    Re: [xmms-devel] General Plugin Help
From:       "Duilio J. Protti" <dprotti () fceia ! unr ! edu ! ar>
Date:       2005-04-28 17:57:58
Message-ID: 1114711078.18016.3.camel () app0 ! flowgate ! net
[Download RAW message or body]

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.


_______________________________________________
xmms-devel mailing list
xmms-devel@lists.xmms.org
http://lists.xmms.org/mailman/listinfo/xmms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic