Hi Everyone,
I have a C# application with an embedded Windows Media Player object. Everything works fine however I am trying to programatically skip to a certain chapter on a DVD which is running locally. If you run a DVD in WMP itself all chapters are listed, grouped into several playlists/titles (eg. Title1 - Chapter 1, Chapter 2, Title2 - Chapter 1, Chapter 2 etc). Then if you click on the Chapter it skips to that scne. This is exactly what I am after.
I can get the current playlist/title usig
axWindowsMediaPlayer1.currentPlaylist
and jump to each chapter in the playlist/title however its limited to that particular Title on the DVD. What I need is a way to list every title and chapter in the DVD.
Some further info... I run the DVD from a local hard drive using the following code (funny enough I can chose here (//Z/x/y) to jump to a certain title and chapter however I don't want to keep reloading for this functionality)
axWindowsMediaPlayer1.URL = "wmpdvd://Z/1/1?contentdir=c:\\folderContainingVOBFiles";
I have tried the next line of code however it produces an array of empty playlists (I think their favorite playlists) that have nothing to do with the DVD
axWindowsMediaPlayer1.playListCollection.GetAll()
Has anyone had any experience with this cause its sending me crazy. I just want a command where I say axWindowsMediaPlayer1.CTLControls.SkipTo(x,y) where x is the Title and y is the chapter.
Any help would be greatly appreciated as I cant seem to find any answers on this.
Thanks heaps
Danny