I'm working on a c# dvd player. I'm using libvlcsharp and am able to play video from the disk when specifying the title and chapter. The problem is I need to know a list of titles/chapters that are available to have the user pick from. I've tried using the Media.Parse on it and it shows that it has been parsed, but the track list and other information is empty.
_mediaPlayer.Media = new Media(_libVLC, new Uri(@"dvd:///e:"));
await _mediaPlayer.Media.Parse(MediaParseOptions.ParseLocal);
MessageBox.Show(_mediaPlayer.Media.Tracks.GetLength(0).ToString());
Is there any way to use libvlcsharp to get this information or am I forced to shell out to a command line ffmpeg to retrieve it?