I am using libVLCSharp with the Unity VLC asset.
In my app, I am using the mediaDiscoverer to look for "upnp" content.
Code: Select all
mediaDiscoverer = new MediaDiscoverer(libVLC, "upnp");
mediaDiscoverer.Start();
// ... some time later
if(mediaDiscoverer.MediaList.Count > 0) {
mediaDiscoverer.MediaList[0].ParseAsync(MediaParseOptions.ParseNetwork);
}
// ... some time later
Debug.Log("SubItems.Count: " + mediaDiscoverer.MediaList[0].SubItems.Count);
However, there I find only video, audio and images. I would like to see ALL files. A first step would be to additionally have .txt files, but ideally it should just list all files no matter which extensions - even if the VLC MediaPlayer cannot do anything with it.
Is there a way to achieve this?
Thanks,
Daniel