[vlc-devel] Re: [PATCH] m3u playlist import and export, version 2
vlc at schmaller.de
Wed Aug 10 12:39:15 CEST 2005
I forgot to free psz_author in the first patch version.
This mail comes with the corrected patch.
>i've recognized that loading and saving a m3u playlist does not use the
>same EXTINF format.
>In 0.8.1 the playlist entry's extra information was saved as:
>Now, in 0.8.2 it's saved as:
> #EXTINF:time,artist - name
>but during the load of a playlist and parsing the EXTINF-line the part
>of the artist was neglected.
>i've corrected this misbehavior as follows:
> * The delimiter character between time, artist and title is the comma!
> * If the artist contains a comma, the comma is escaped by a
>backslash during export
> * of course the newly introduced escape charater "backslash" will
>also be escaped
> * in the Demux-function the artist *and* the title are parsed and
> * the artist will be unescaped and set by vlc_input_item_AddInfo()
>the patch file comes as attachment and i hope you check it in to svn
>tree after revision.
>i'd be glad to receive any feedback.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the vlc-devel