[vlc-devel] Re: Audioscrobbler plugin, 1st draft

Christophe Mutricy xtophe at nxtelevision.com
Sun Aug 13 17:29:21 CEST 2006


> What is missing now is communication with audioscrobbler's server,
> audioscrobbler protocol advice to use the cross-platform libcurl: can I
> link the plugin with it, or should I use internals vlc's socket
> functions ?

Using VLC internal fonctions would be better.

> 
> Please tell me if I've done something wrong, i'm thinking mainly to
> memory usage.
>

In Open(), when you return() with an error you must free() the pointer
already malloc.
 
> #define CLIENT_NAME     tst /* change for vlc? */
> #define CLIENT_VERSION  1.0

I think we should change for vlc exept if the server only accept tst


-- 
Xtophe

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list