[vlc-devel] [PATCH] Basic MTP Support

Fabio Ritrovato exsephiroth87 at gmail.com
Sat Mar 29 12:00:07 CET 2008

Thanks about the comments, I'm making a note of the next edits to be done...
Regarding the number of devices, right now it simply read the first one, but
it's possible to read them all, it's just that i don't know if it's possible
to have more than one device in the playlist window....

On Sat, Mar 29, 2008 at 3:05 AM, Rafaël Carré <funman at videolan.org> wrote:

> Hash: SHA1
> Le Thu, 27 Mar 2008 23:23:58 +0000,
> "Fabio Ritrovato" <exsephiroth87 at gmail.com> a écrit :
> > Ok, i've edited the patch with the suggestions from funman, and added
> > configure.ac and modules.am (now with no random changes xD)
> > The only thing left as it was is the device addiction...
> > I thought about that, and i think that maybe the best way to manage
> > that is using HAL, so for now i left things as they were, and in
> > future maybe I'll add that thing...
> >
> > The patch is a brand new one, it's not to be applied after the old
> > one...
> For the configure.ac diff you should write default enabled, and use
> MSG_ERR if the module was explicitely asked:
> if test "${enable_mtp}" = "yes"
> About the access, please remove file-cat option
> Also, use spaces instead of tabs
> Instead of using getenv(HOME) you should use vlc custom functions to
> retrieve the home dir (look in include/vlc_configuration.h)
> You should remove b_stdin completely
> If you copy file per file, you don't have to check if your target is a
> directory.
> You should also be sure that your file is a regular file
> +               msg_Err( p_access, "Error deleting file %s, errno:
> %d...", p_sys
> You can use %m in msg_Err expressions, which will be replaced by a
> human readable error message (strerror())
> In AddTrack, instead of malloc() / sprintf() you can use asprintf()
> Also what happens if someone has 2 MTP devices connected when he launch
> the mtp services discovery ?
> Thanks, and sorry for being late to comment your patch
> - --
> Rafaël Carré
> Version: GnuPG v2.0.8 (FreeBSD)
> eFoAnRvEdJAUnT4XBAx1cUTzVAU5p6Lo
> =TfPO
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080329/827318bb/attachment.html>

More information about the vlc-devel mailing list