home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
DVD resume doesn't work
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sebastiii" data-source="post: 1105492" data-attributes="member: 60104"><p>Ok <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>I have already set BP in this area but it wasn't hit.</p><p>If i manual bypass some code (from mediaportal\WindowPlugins\GUIVideos\GUIVideoBaseWindow.cs) and goes here (manual move under VS and after 'if (control == btnPlayDVD)' note that btnPlayDVD is null : </p><p></p><p>[CODE=C#]protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType)</p><p> {</p><p> base.OnClicked(controlId, control, actionType);</p><p></p><p> if (control == btnSavedPlaylists)</p><p> {</p><p> OnShowSavedPlaylists(m_strPlayListPath);</p><p> }</p><p></p><p> if (control == btnPlayDVD)</p><p> {</p><p> ISelectDVDHandler selectDVDHandler;</p><p> if (GlobalServiceProvider.IsRegistered<ISelectDVDHandler>())</p><p> {</p><p> selectDVDHandler = GlobalServiceProvider.Get<ISelectDVDHandler>();</p><p> }</p><p> else</p><p> {</p><p> selectDVDHandler = new SelectDVDHandler();</p><p> GlobalServiceProvider.Add<ISelectDVDHandler>(selectDVDHandler);</p><p> }</p><p> string dvdToPlay = selectDVDHandler.ShowSelectDVDDialog(GetID);</p><p> if (dvdToPlay != null)</p><p> {</p><p> OnPlayDVD(dvdToPlay, GetID);</p><p> }[/CODE]</p><p></p><p></p><p>I can go into that part but still : </p><p> VideoDatabase.GetMovieInfo(fileName, ref movieDetails);</p><p> int idFile = VideoDatabase.GetFileId(fileName);</p><p> int idMovie = VideoDatabase.GetMovieId(fileName);</p><p></p><p>idFile = -1 / idMovie = -1</p><p>movieDetails = not filled.</p><p></p><p>So something is really wrong lol</p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1105492, member: 60104"] Ok :) I have already set BP in this area but it wasn't hit. If i manual bypass some code (from mediaportal\WindowPlugins\GUIVideos\GUIVideoBaseWindow.cs) and goes here (manual move under VS and after 'if (control == btnPlayDVD)' note that btnPlayDVD is null : [CODE=C#]protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType) { base.OnClicked(controlId, control, actionType); if (control == btnSavedPlaylists) { OnShowSavedPlaylists(m_strPlayListPath); } if (control == btnPlayDVD) { ISelectDVDHandler selectDVDHandler; if (GlobalServiceProvider.IsRegistered<ISelectDVDHandler>()) { selectDVDHandler = GlobalServiceProvider.Get<ISelectDVDHandler>(); } else { selectDVDHandler = new SelectDVDHandler(); GlobalServiceProvider.Add<ISelectDVDHandler>(selectDVDHandler); } string dvdToPlay = selectDVDHandler.ShowSelectDVDDialog(GetID); if (dvdToPlay != null) { OnPlayDVD(dvdToPlay, GetID); }[/CODE] I can go into that part but still : VideoDatabase.GetMovieInfo(fileName, ref movieDetails); int idFile = VideoDatabase.GetFileId(fileName); int idMovie = VideoDatabase.GetMovieId(fileName); idFile = -1 / idMovie = -1 movieDetails = not filled. So something is really wrong lol [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
DVD resume doesn't work
Contact us
RSS
Top
Bottom