[vlc-devel] [PATCH] Directory: ignore xml files

Filip Roséen filip at atch.se
Fri May 19 22:22:57 CEST 2017


Hi Marvin,

On 2017-05-19 17:54, Marvin Scholz wrote:

> On 19 May 2017, at 15:29, Filip Roséen wrote:
> > As written in `#videolan` at `freenode`, this would break playback for
> > [iTunes Library Files][1] ([demux/playlist/itml.c][2]) when opening a
> > directory (as they would no longer be added to the playlist).
> 
> VLC should be able to read iTunes Libraries? I never experienced this working.

I am not referring to the *iTunes Library* itself, but the `.xml` that
can (or maybe could, not sure if that feature is available on newer
*iTunes* versions) be exported from within *iTunes*.

As an example, I googled and found [this xml][1] which is parsed
fine by vlc (both `2.2.x` and `3.0.0`).

[1]: https://raw.githubusercontent.com/jasonrudolph/stratify/master/spec/fixtures/iTunes%20Music%20Library.xml

> > 
> > One could, potentially, ignore files (remove from playlist) for which
> > *preparsing* (if any) fails for a certain set of file-extensions, but
> > it will probably lead to users being confused about what is happening
> > to the state of the playlist (as they will most likely be able to see
> > the items disappear in real time).
> > 
> > Having it as an opt-in option might be a solution, but I am not too
> > sure. Personally, I am semi-against making decisions based on the
> > file-extension alone (as it does not necessarily reflect the true
> > contents of the file). I do however see how users can find the
> > `--hidden-filetypes` option useful.
> > 
> > Best Regards,\
> > Filip
> > 
> > [1]: https://support.apple.com/en-us/HT201610
> > [2]: http://git.videolan.org/?p=vlc.git;a=blob;f=modules/demux/playlist/itml.c;h=5f636262f1b9248eaedb3dfce354592c946884fe;hb=HEAD
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170519/083dc0f4/attachment.html>


More information about the vlc-devel mailing list